Thursday, October 25, 2007

Chikan Molester Japan Train

KDE 4 Solving problems with ecryptfs

some time I've wanted to try ecryptfs, supports linux kernel to encrypt some folders. However, had not succeeded so far. He had always tried to use the following command: mount-t

ecryptfs carpeta_origen carpeta_destino

What was at fault. The command line did not throw any error, but the files are not encrypted. Looking at the logs I could check the existence of some segmentation faults.

Well, after tinkering, I found that spending a few extra options, I can do work. In particular, the following command works perfectly for me: mount-t

carpeta_origen carpeta_destino ecryptfs-or cipher = blowfish, ecryptfs_key_bytes = 32

is a good idea to use the carpeta_origen and carpeta_destino as the same in order to encrypt a route directly. For example, suppose you want to encrypt / home / user, it would be something like:


mount-t ecryptfs c / home / user / home / user-o Cipher = blowfish, ecryptfs_key_bytes = 32
From time

Monday, September 17, 2007

Ozark Trail Air Beds Lost Plug

Wine Uninstall applications

Later, I needed to use any Windows application in Linux using Wine. All very well, run the installer, start the program, etc ... The problem came when I wanted to uninstall the program, because you can not always offers a uninstall.exe, and also, if there must be looking through folders. Searching the internet found or
na option to pass a wine that offers more or less the equivalent of the windows uninstaller software is the control panel.

The command is: wine uninstaller

Sunday, April 22, 2007

Mature Weareing Girdles

resold Dell computers with Windows XP

Reading this news, I learned that it appears that Windows Vista is not having Acceptance. What a surprise! (Sarcastically). Honestly, no wonder.

not know what to expect Microsoft operating system with so much control over DRM applications and user files, having to validate not know how many windows asking for permission for each one of the most mundane activities, consuming resources like a colossus, with fairly recent computers that function as if they were in previous generations. For me it was totally a fiasco operating system.

As a curious note is enough to see the changes of minimum requirements for Autocad 2008:

- XP:
  • Intel ® Pentium ® 4 processor, 2.2 GHz Recommended
  • 512 MB RAM 750 MB free disk space for installation
  • 1024x768 VGA with True Color
- Vista: Intel ®
  • 3.0
  • GHz or greater 2 GB RAM or greater
  • 2 GB free hard disk available
  • Not Including installation
    1280 x 1024 32-bit color video display adapter (True Color) 128 MB or Greater
    , OpenGL ®, or Direct3D ®
    capable workstation class graphics card.
  • A Direct3D capable workstation class graphics card with 128 MB or greater is required.
Come on, one pass. A huge resource consumption for ... do the same.

seems that Dell is not the first manufacturer to do that. As a curiosity mentioned that Dell Forums Windows Vista is full of people complaining and desperate after upgrading from XP to Vista, and most trying to reverse installation and return to XP.

All this has a positive note, Linux is increasingly penetrated the market and manufacturers like Dell and seems to pose very serious offer installation. Recently launched the latest version of Ubuntu / Kubuntu, the 7.04, which I think is a good alternative for all users. Would not surprise me to see her pre-installed on many computers in a few months.

Wednesday, March 7, 2007

Where To Find Burberry Look Alikes

route along the river Chillar

Now that the warm weather arrives, I remembered a very pretty route I did this summer, along the river Chillar, starting from its mouth in Nerja. I guess more than one shall know, as it is quite popular in the area.

is an original route, as it almost goes all the way down the river, with water up to their ankles at least, reaching areas where you can even waist.

is a very fresh alternative for the hot days of summer. Here some pictures I took during the trip:

Río Chillar

Río Chillar

Río Chillar

Río Chillar

Río Chillar

Río Chillar


Tuesday, February 27, 2007

Can Gallbladder Polyps Be Remove By Cleansing

-2008 buggy to configure webmin Solaris 10 + 1310 + Apache 2.0.59 + php 5.2.0 Access

classic mistake when configuring php5 + apache 2.0.59.
When attempting to start apache from webmin, usually receive the following error: Error 1


:
Failed to start apache: Syntax error on line 231 of / usr/local/apache2/conf/httpd.conf: Can not load / usr/local/apache2/modules/libphp5.so Into server: ld.so.1: httpd: fatal: relocation error: file / usr/local/apache2/modules/libphp5.so: xmlParserInputBufferCreateFilenameDefault symbol: referenced symbol not found

If this happens there are 2 solutions.
1. The machine has no or a very old version "libxml2" in any case replace or install.

2. Webmin is not aimed at the libraries listed .., for this access:

Webmin-> Webmin Configuration-> operating system and environment
, there are the paths that webmin uses to look for certain programs and libraries. Initially are more or less as follows ... Program


search path:
/ bin
/ usr / bin
/ sbin
/ usr / sbin
/ usr / sfw / bin ....
... etc
Add (or move)
"the beginning" of the list
"Program search path" following directions.
/ usr / local / bin
/ usr / ccs / bin
/ usr / ucb
/ usr / local / ssl / bin
/ bin
/ usr / bin
....
and add (or move) at the start of "library search path" the following addresses:
/ usr / local / lib
/ opt / csw / bin
/ usr / local / ssl / bin

/ lib
/ usr / lib

Record and initialize apache .. and the error will not go above.


Error2:
Failed to start apache: no listening sockets available, shutting down Unable to open logs
This is the (very clear ...) for Apache that you need to be declared a default listening port ...
You only need to declare on the httpd.conf as follows:


# Change this to Listen on specific IP addresses as Shown Below to
# Prevent Apache from glomming onto all bound IP addresses (0.0.0.0) #
12.34.56.78:80 # Listen Listen 100.1.60.1:80

<-- colocar la dir ip de la maquina Initialize apache (and not go the same error ...).



Error 3: [warn] VirtualHost overlaps with VirtualHost 100.1.60.1:80 100.1.60.1:80, the first has precedence, Perhaps you need a NameVirtualHost directive
For this problem, we must place httpd.conf file the following:



# # Use name-based virtual hosting.

# NameVirtualHost *: 80
each virtual host and it should be defined as follows way:
Eg:



DocumentRoot / / export / home / web / ServerName xyz.com
prueba.dyser.net

allow from all Options +
Indexes




All other virtual servers must have the same format. Restart Apache ... no longer will leave the same error ... (Perhaps another ..). **********************************************


******************
hope and these notes are helpful. A greeting. Oscar.

Thursday, February 8, 2007

Peyton's Angel Of Death

as FTP and TELNET root solaris 10

To log in as root on solaris 10 for both telnet and ftp will need to reconfigure the following files:
Telnet:
/ etc / default / login, change:

CONSOLE = / dev / console
by # CONSOLE = / dev / console FTP:
/ etc / ftpd / ftpusers, change:


root, root for #

Saturday, January 27, 2007

How Do I Figure Out My Shoe Width

Fixed problem rendering images in Internet Explorer

a long time since I used Internet Explorer. I decided to upgrade to version 7 on my laptop (Windows XP), to try it a bit and I was surprised that the images were bad, pixelated, especially when using the zoom to 100%.

Inverstigando, I discovered that the problem is due to a "feature" that includes the browser called "Internet Explorer Scaling, which is what it does is resize the images without improving the resolution when using high screen resolutions, such as me (1680x1050).

Actually, for me this is more a bug than a feature, because in practice all I get is that the images look bad. I hope all the "features" not as "smart" like this.

The solution is to change a registry value, specifically UseHR value that can be put to zero.

by running regedit, and is located at: HKEY_CURRENT_USER


-
Software - Microsoft

- Internet explorer

- Main

- USEHR

then restart your browser and voila, problem solved.

Tuesday, January 23, 2007

Can Flash From Camera Damage Baby's Eyes?

Use Firefox web page editor Málaga

recently
reading some news on the Internet I discovered a new use to the Firefox browser and is able to change their normal mode of operation and turn it into a web page editor.

To do this, simply visit the page you want to edit, and once loaded you have to type the following into the address bar (all on the same line), pressing Enter at the end:

javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0

Once done, see what we can delete images, comment text, etc ...

Usefulness? I know not every one will find you, but to me it is a characteristic course curious.

Wednesday, January 17, 2007

Savings Bond Interest Calulator

IPF Firewall and FTPD passive mode (Settings) on ipfilter

IPFIREWALL And FTPD PASSIVE MODE (SET)


There are two types of ftp server,

ACTIVE FTP client server


control port 21 <--------- cualquier puerto > 1024 port 20 (data port) --------> any port> 1024

The configuration IPFIREWALL for this type of FTP server would be: # ftp

21 pass in quick from 200.87.105.195/32 to
port = 21 keep state # ftp
data pass in quick from and Stock
to port = 20 keep state

PASSIVE FTP client server

control port 21 1024 <--------- cualquier puerto > ANY port
> 1024 (data port) 1024
<--------- cualquier puerto > IPFIREWALL
The configuration for this type of FTP server would be:

# ftp 21
pass in quick from 200.87.105.195/32 to
port = 21 keep state # ftp

data pass in quick from any to 15001 port 15500 keep state <>

The instruction "keep state" is to tell the filter that you can create a new connection if it had previously created a connection with the customer.

Tuesday, January 16, 2007

Will I Go On My Due Date With Ivf Pregnancy

Activation solaris 10 file

ipfilter 4.0.2
Instructions to enable the packet filter on solaris 10


ipfilter and comes bundled with the Solaris distribution 10, so it's a matter of setup and use.
particularly recommend to use "webmin" for these configuration tasks, as it facilitates these tasks greatly.
1. It must determine the interface on which to act ipfilter, for this use the following instructions:

# ifconfig-a lo0

: flags = 2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask FF000000 nge0:
flags = 1000843 mtu 1500 index 2 inet fffffff8 netmask xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx ether 0: aa: aa: aa: aa: aa
"As lo0 is the loopback, we take the network card as nge0 by So attached is the file / etc / ipf / pfil.ap, which is as follows: (all who are with # are disability)

# IP Filter setup pfil autopush

# # See the autopush(1M) manpage for more information.
#
# Format of the entries in this file is:
#

#major minor lastminor modules #iprb -1 0 pfil#elxl -1 0 pfil

#e1000g -1 0 pfil
#bge -1 0 pfil
#nf -1 0 pfil
#fa -1 0 pfil
#ci -1 0 pfil
#el -1 0 pfil
#ipdptp -1 0 pfil
#lane -1 0 pfil
# dnet -1 0 pfil
# pcelx -1 0 pfil
# SPWR -1 0 -1 0 pfil pfilnge
nge -1 0 pfil
3.Se must restart the system.
# reebot

4.For test filtering, edit the file / etc / ipf / ipf.conf and place:

block in all block out all
-These instructions block all traffic input and output.
5. To enable the filter to use:

# ipf-E
# ipf-Fa-f / etc / ipf / ipf.conf

6.For disable filtering of the above rules, you must create a file "ipf.not", empty, and run:

# ipf-Fa-f / etc / ipf / ipf.not
****** **** END

I hope this contribution will be helpful ...


Where To Buy Tire Chains In Vancouver

Lee getResource ()

This example shows how to read a text file using "getResource ()."
For those already used getResource and collided with the problem by showing the path they came out something like this:
/ c: / Program% 20Files / ...
The idea to be taken into account is that the addresses "URL" does not contain spaces, so are stream replaces the character "% 20", this will repair the path using replaceAll ("% 20", "")
.

Note: The example shown here reads the file "getTextResource.java" and it shows.
I hope and will be useful.


import java.io. *;
import java.net .*;

/ *

* * @ author Oscar Hurtado Morato

* * /
getTextResource {public class public
getTextResource () {
}
public static void main(String[] arg) {
try{
getTextResource ex=new getTextResource();
ex.leeArchivo();
}
catch(Exception e){
e.printStackTrace();
}
}
public void leeArchivo()throws IOException {
URL url=this.getClass().getResource("getTextResource.java");
String path=url.getPath();
path=path.replaceAll("%20"," ");
System.out.println(path);
/ / read the file
BufferedReader br = new BufferedReader (new FileReader (path));
thisLine String = "";
retDoc String = "";
while ((thisLine = br.readLine ())! = null) {
thisLine retDoc = retDoc + + "\\ n";}

System.out.println (retDoc)

}}

Friday, January 12, 2007

New Revlon Foundation 2010

Errors Installing Apache 2 on solaris 10

APACHE 2 ON SOLARIS 10.


[alert] (22) Invalid argument: setgid: unable to set group id to Group 4294967295 If this error occurs, enter the configuration file "httpd.conf" and change the line Group # -1 "to" Group nobody ", then re-start apache.

Rapadura What Can You Sub



code Here I go to "dowload" of a file that is on the server to the client.
hope and serve them.
1. Create an html page with the name of
"download. html ", in the following directory .. / webapps / project name
/ jsp / examples
Eye:
project name refers to the name "You" put your project (located in "webapps"). If, for example, this was called "test1", then the path would be as follows: ... webapps \\ test1 \\ jsp \\ examples

Containing the following code:



\u0026lt;% @ page contentType = "text / html"% >

\u0026lt;html> \u0026lt;head> \u0026lt;title> jspQuery \u0026lt;/ title> \u0026lt;/ head>
&lt;body&gt;
&lt;form action="/nombre proyecto/servlet/ejemplos.Download"&gt;
&lt;p&gt;&lt;font color="#FFFFFF" size="1"
face="Verdana, Arial, Helvetica, sans-serif"&gt;&lt;strong&gt;
&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
&lt;input type="submit" value="Download" name="dato"
&gt;
&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
\u0026lt;/ Form>
\u0026lt;/ body>
\u0026lt;/ html>



2. Create a file under the name:
"Download.java" at the following address: \\ webapps \\
name project \\ WEB-INF \\ classes \\ examples contain the following code:




/ * * Download.java


* * Created on Jan 12, 2006, 04:00 PM
*/
package ejemplos;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
/**
*
* @author Oscar Hurtado Morato
* @version 1.0
*/
public class DownloadError extends HttpServlet {
/** Initializes the servlet.
*/
public void init(ServletConfig config) throws ServletException {
super.init(config);
}
/** Destroys the servlet.
*/
public void destroy() {
}
protected void processRequest(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, java.io.IOException {
//Aqui placed the path and name of the file to be upload
String filePath = "c: /";
String fileName = "test.txt";
fileToDownload = new FileInputStream FileInputStream (filePath);
response.getOutputStream ServletOutputStream out = ( )
response.setContentType ("application / zip");
response.setHeader ("Content-Disposition", "attachment; filename =" + fileName);
response.setContentLength (fileToDownload.available ());
int c ;
while ((c = fileToDownload.read ())! = -1) {
out.write (c);}

out.flush ();
out.close ();
fileToDownload.close ();

} protected void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException
,
java.io.IOException {processRequest (request, response);}

protected void doPost (HttpServletRequest request, HttpServletResponse response
)
throws ServletException, java.io.IOException {processRequest
( request, response);
}}



3. End

Mountains By Biffy Clyro Piano Scores

Servlet File Download File Upload Servlet

Here I go a very simple piece of code that serves to raise (to upload) a file from the client to the server machine. I hope they serve.

Steps:


1. It must obtain the following jars (download them from jakarta site) - commons-fileupload-1.1.1.jar
- commons-io-1.2.jar


2. Unzip the jars and place them in:
... webapps \\ project name
\\ WEB-INF \\ lib This code containing the jars, will be made available for your project.


Eye: project name refers to the name "You" put to your project (located in "webapps").
If for example this was called "test1", then the path would be as follows: ... webapps \\ test1
\\ WEB-INF \\ lib



3. Create in: ... webapps \\
project name \\ jsp \\ examples
the following HTML page, under the name of "uploadFile.html"




\u0026lt;HTML>
\u0026lt;HEAD>

\u0026lt;TITLE> \u0026lt;/ TITLE>

\u0026lt;/ HEAD>

\u0026lt;BODY>

\u0026lt;center>
\u0026lt;form method = "POST" enctype = 'multipart / form-data'
action = "/ bexsys / servlet / ejemplos.UpFichero">

Select file to send to the server \u0026lt;br>
\u0026lt;input type = "file"
name = "file "> \u0026lt;input type="submit"
value="Upload">

\u0026lt;/ form>

\u0026lt;/ center>

\u0026lt;/ BODY>

\u0026lt;/ HTML>






4. Now create the servlet: Believe in the following directory: ... webapps \\

name project \\ WEB-INF \\ classes \\ examples under the name "UploadFichero.java"



package examples;

/* * UploadFichero.java *
* Created on January 12, 2007, 9:00 AM
*/


import java.io.*; import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import java.util.*;

/*
*
* @author Oscar Hurtado Morato
*
*
*/

public class UpFichero extends HttpServlet {


protected void processRequest (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {boolean ok =
getNSaveFile (request);
response.setContentType ("text / html");
PrintWriter out = response.getWriter ();
out.println

(""); out.println (""); out.println (""); out.println ("");


out.println (""); if (ok) {
out. println ("The file transfer was successful.");}


else {out.println ("file transfer failed.");}


out.println (""); out.println (" ");
out.close ();}

Public boolean
getNSaveFile (HttpServletRequest request) {try {

/ / Check that it is a multipart request (which is this sending a file) boolean
isMultipart = ServletFileUpload.isMultipartContent (request);
System.out.println ("Is multipart = "+ isMultipart) DiskFileItemFactory
DiskFileItemFactory factory = new ();
/ / maximum size that will be stored in memory
factory.setSizeThreshold (4096);
/ / if you exceed the previous size, it will go away temporarily keeping in the direction sgte
factory.setRepository (new File ("d :/")); ServletFileUpload
ServletFileUpload upload = new (factory);
/ / maximum allowable size (if jumps to the catch exceeds)
upload.setSizeMax (10000000);
List fileItems = upload.parseRequest (request);
/ / get the file sent fileItems.iterator
Iterator i = ();
FileItem fi = (FileItem) i. next ();
/ / saves the file sent to the local server
/ / path and file name of the destination (the server)
String path = "c: /";
String fileName = "nuevo.txt"
fi.write (new File (path, fileName));

} catch (Exception e) {
System.out.println (e.getMessage ());
e.printStackTrace ();
return false;}

return true;}


/ * * Handles the HTTP


POST method. * @ param request servlet request * @ param response
servlet response * / protected void
doPost (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
processRequest (request, response);
}}




5. Note that the file uploaded, will be saved on the hard "c: \\" under the name "test.txt". 6. End