http://www.exampledepot.com/egs/java.lang/HasSubstr.html
domingo, 26 de agosto de 2007
Java: determinar si un String contiene un Substring
miércoles, 22 de agosto de 2007
Javadoc: como escribir documentación para javadoc
Tutorial de Sun con guías respecto a como crear documentación para javadoc.
- http://java.sun.com/j2se/javadoc/writingdoccomments/
Bash: programación
Referencias para programacion bash.
Basico
Basico
- http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
- http://tldp.org/LDP/abs/html/index.html
lunes, 20 de agosto de 2007
Netbeans: habilitar las assertions
NetBeans 4.x and 5.x
- Invoke Properties on the project you are going to debug.
- Select "Run" property.
- Insert " -ea " to the "VM Options" field.
sábado, 18 de agosto de 2007
Ubuntu: Hacer una imagen iso de un cdrom
To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.
dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi
To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.
mkisofs -o /tmp/cd.iso /tmp/directory/
This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.
viernes, 17 de agosto de 2007
MDA Pro: WAP e Internet
Start > Settings > Connections > Connections > Add a new modem connection
- poner el nombre: WAP
- Modem > New
- poner el nombre: WAP ANCEL
- Cellular line (GPRS, 3G)
- Access point name: wap
- username: f
- password en blanco
- domain en blanco
- Finnish
- Proxy Settins
- This network connects to the Internet: ok
- This network uses a proxy server to connect to the Internet: ok
- Advanced
- HTTP
- Server: 200.40.246.2
- Port: 3128
- username: f
- password en blanco
- domain en blanco
- WAP
- Server: 200.40.246.2
- Port: 9201
- username: f
- password en blanco
- domain en blanco
jueves, 16 de agosto de 2007
P2PMPI p2pmpirun script mejorado
#!/bin/bash
# Usage : p2pmpirun -n [-r -l -o] [args]
# -n : number of processes MPI
# -r : number of replica per rank (omit for 1 replica per rank)
# -l : list of input file (omit for transfer only executable file)
# -o : output will be collect in file (omit ouput will be on standard output) [not available]
# : executable file without .class
# args : argument of executable file
#######################################################################################
if [ $# -lt 3 ]; then
echo "Usage : p2pmpirun -n [-r -l -w
# Usage : p2pmpirun -n
# -n
# -r
# -l
# -o : output will be collect in file (omit ouput will be on standard output) [not available]
#
# args : argument of executable file
#######################################################################################
if [ $# -lt 3 ]; then
echo "Usage : p2pmpirun -n
domingo, 5 de agosto de 2007
CSS: background image stretched to fit window size
Excelente tutorial de como hacer que una background image se estire y se ajuste al tamaño de la pantalla.
Obtenido de:
Obtenido de:
- http://www.htmlite.com/faq022.php
Suscribirse a:
Entradas (Atom)