Monday, August 31, 2009

Uroterapia/Orinoterapia para convatir Gastritis

Una receta facil de seguir, solo tomar valor para iniciar.

Registrar URL en buscadores

Paso1 :Registrar en Google
http://www.google.com/addurl/

Paso2: Agregar un sitemap : http://www.google.com/webmasters/sitemaps/?hl=es

herramienta para crear sitemaps en: http://www.xml-sitemaps.com/

Paso 3: Listo



Usar www.google.com/webmasters para registrar la Url y el sitemap.xml, generado por
http://www.xml-sitemaps.com

Tips para Eliminar
http://www.google.com/intl/es/remove.html

Thursday, August 27, 2009

g++ Compilar

Lineas de compilación importantes

#g++ test.cpp -L../lib -I../include , especificando rutas include y lib
#g++ test.cpp -o test -L../lib -I../include , especificando objeto de salida
#g++ test.cpp -o test -lpthread -L../lib -I../include , si trabajara con hilos


http://webusers.npl.illinois.edu/~yangrz/Make.html

generando librarias
http://www.forosuse.org/forosuse/showthread.php?t=12989
http://www.linuxquestions.org/questions/programming-9/how-to-compile-a-tiny-simple-library-by-g-105795/
http://mrbook.org/tutorials/make/

g++ MakeFile

Kde en Fedora

yum -y groupinstall "KDE (K Desktop Environment)"

Bueno ahora pasemos su instalación.

Para ello simplemente abrimos una terminal y lo instalamos con el siguiente comando:

su -c "yum groupinstall 'KDE (K Desktop Environment)'"

O actualizar si ya lo teníamos instalado:

su -c "yum groupupdate 'KDE (K Desktop Environment)'"

Aunque aconsejo mejor actualizar con:

su -c "yum update"

Para que se actualice el sistema completo.


jQuery Plugins

mas plugins

http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html
http://www.extjs.com/deploy/dev/examples/grid/grouping.html

JQTreeTable
http://www.hanpau.com/index.php?page=jqtreetable

tablesorter
http://tablesorter.com/docs/example-empty-table.html

flexigrid
http://www.flexigrid.info/

Ingrid, the jQuery Datagrid.
http://www.reconstrukt.com/ingrid/src/example1.html#

Grouping rows by column
http://dhtmlx.com/docs/products/dhtmlxGrid/samples/07_extended_modes/01_pro_group.html


http://www.treegrid.com/treegrid/www/#%27BooksExample

single group
http://p.sohei.org/stuff/jquery/tablegroup/demo/demo.html

Sorter
http://www.pengoworks.com/workshop/jquery/tablesorter/tablesorter.htm

Autocomplete
http://www.esasp.net/2010/05/jquery-autocomplete-facebook-con-aspnet.html

Gastritis?

Algunos tratamientos naturales para este mal común de un Informatico.


1. FitoTerpaia / Acupuntura
http://www.interhiper.com/medicina/Enfermedades/gastritis.htm

2. 10 recetas y Jugoterapia
http://www.chispaisas.info/alternativa3.htm

3. Que hacer en caso de gastritis
http://gastrointestinalessagradafamilia.blogspot.com/

4. otros
http://mednatursagradafamilia.blogspot.com/
http://www.otramedicina.com/2007/09/27/tratar-la-gastritis-con-medicina-alternativa/

Saturday, August 22, 2009

Filtrado de tablas por columnas

Aveces uno necesita realizar un filro multiple, es decir seleccionar data en función a varios campos, puede ser por nombre, sexo, telefono etc., esta aplicación basada en jQuery es el mejor.

Thursday, August 13, 2009

mySql: Comandos de administración

mysql> SHOW FULL PROCESSLIST;
Para listar PCs q se conectan al mySQL Server



mysql> SHOW GRANTS;
Lista de usuarios y privilegios.

OpenSuse:vsftpd

Instalar el servidor Very Secure FTP

#apt-get install vsftpd
#yum install vsftpd

Archivo de confifuración /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=YES
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories. See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
#
# Debian customization
#
# Some of vsftpd's settings don't fit the Debian filesystem layout by
# default. These settings are more Debian-friendly.
#
# This option should be the name of a directory which is empty. Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/vsftpd.pem

Referencias
=======================================================================
http://www.linuxparatodos.net/portal/staticpages/index.php?page=09-como-vsftpd

Wednesday, August 12, 2009

Java Servlets

Videos como Crear Servlets y Desplegarlos.

Linux: Suse Repositorios

Lista de repositorios para Linux: Suse

Linux: Información del Sistema/Maquina/Pc

Paths, donde Linux guarda información sobre el sistema

- Para ver el tipo de Procesador de la máquina: cat /proc/cpuinfo

- Informacion de la memoria: cat /proc/meminfo

- Dispositivos IDE : ls /proc/ide

- Sistemas de archivos disponibles: cat /proc/filesystems

- Ver los dispositivos PCI: cat /proc/pci

- Ver particiones del Disco duro: cat /proc/partitions

Algunos comandos útiles

hostname: Muestra o establece el nombre del sistema.

uptime: Devuelve la cantidad de tiempo trascurrido desde la ultima vez que se arranco el sistema, la cantidad de usuarios trabajando en el sistema y el load average (carga del sistema).

uname -a: Información acerca de la máquina y el sistema operativo en el que está corriendo

dmesg | more: Imprime los mensajes de booteo.

free -tm: Muestra la cantidad de Memoria libre y usada en el sistema.

df -h: Informa del espacio usado y del disponible en todos los sistemas de ficheros montados actualmente (de todos los tipos)

du : Informa de la cantidad de espacio de disco usada por los ficheros especificados, y por cada directorio en las jerarquías cuyas raíces estén en los ficheros especificados.

ps: Informa del estado de los procesos.

ps axu: Información sobre todos los procesos que se estan ejecutando en la maquina.

top: Muestra un listado de las tareas que hacen un uso más intensivo de la CPU en el sistema.

lspci : Desplega información sobre los dispositivos PCI conectados al sistema.

Saturday, August 08, 2009

Linux Fedora yum

Adding third-party repositories to apt and yum configuration files

The following instructions are for Fedora Core 1.

1. Download and install the apt and yum packages from freshrpms.net. Alternatively, you may install the yum.conf and sources.list files from freshrpms.net if you already have apt and yum installed.

http://freshrpms.net/packages/builds/yum/yum-fd.conf (save this as /etc/yum.conf)
http://freshrpms.net/packages/builds/apt/sources.list.i386 (save this as /etc/apt/sources.list)

2. Add third-party repositories to yum and apt configuration files.

/etc/yum.conf additional entries:

[DAG]
name=Dag APT Repository
baseurl=http://apt.sw.be/redhat/fc$releasever/en/$basearch/dag

[NewRPMS]
name=Fedora Core 1 NewRPMS.sunsite.dk
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/i386/fc1

[ATrpms]
name=Fedora Core 1 ATrpms testing
baseurl=http://apt.physik.fu-berlin.de/fedora/1/en/i386/at-testing

[Dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries

/etc/apt/sources.list additional entries:

# DAG
rpm http://apt.sw.be redhat/fc1/en/i386 dag

# NewRPMS
rpm http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms
#rpm-src http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms

# ATrpms
rpm http://apt.physik.fu-berlin.de fedora/1/en/i386 at-stable
#rpm-src http://apt.physik.fu-berlin.de fedora/1/en/i386 at-stable

# Dries
rpm http://dries.studentenweb.org apt/fedora/fc1/i386 dries
#rpm-src http://dries.studentenweb.org apt/fedora/fc1/i386 dries

3. Update the package lists.
apt-get update
yum update (this step will take a while as yum downloads a header file for each new package)

The 5 third-party repositories listed above are now available with yum and apt.

New users may wish to install the excellent GUI front-end to apt named synaptic with the following command:
yum -y install synaptic
-- or --
apt-get -y install synaptic

If you would like to automatically update your system nightly with the latest package updates, enable the yum service:
/sbin/chkconfig --add yum
/sbin/service yum start

Animation online

Sketch to animation [1] https://sketch.metademolab.com/ Animate avatar from audio recorded [1] https://new.express.adobe.com/tools/animate-f...