2011/12/31
El calendario maya y el 2012 / The Mayan's calendar and the 2012
Maybe if the spanish hadn't wipwd them all out, the mayans would have completed their fucking calendar.
Quizas si los españoles no hubieran exterminado a los mayas, estos hubieran terminado su maldito calendario.
The coming war on general computation
Transcription: https://github.com/jwise/28c3-doctorow/blob/master/transcript.md
Download hiqh quality version: http://bit.ly/sTTFyt
Description: http://events.ccc.de/congress/2011/Fahrplan/events/4848.en.html
2011/12/29
Past is like an anchor
The past is like an anchor holding us back, you have to let go of who you are to become who you will be.
2011/12/28
Megaupload Mega Song
VICTORY AGAINST UNIVERSAL MUSIC GROUP
Read this story for more information: http://bit.ly/rTa78D
The Mega Song is back
Join the fight against SOPA.
2011/12/27
2011/12/25
Boycott GoDaddy
Happy Holidays -- we have some great news to share.
We've just won two huge battles in the fight against Internet censorship -- everything you are doing is working! First off, the House of Representatives failed to move SOPA out of committee! Why? Because their offices got swamped with phone calls and overwhelmed by the snowballing opposition. Thank you for helping make that happen.
Second, in response to the boycott of GoDaddy, the web hosting company just made a public announcement that it's dropping its support of SOPA. Amazing what you have made happen.
Yet, we can't let GoDaddy off the hook just yet. GoDaddy supports the Senate version of SOPA, called the PROTECT IP Act (PIPA). The boycott has to continue -- Please click here to pledge to join it.
Please join us in holding GoDaddy accountable, until they drop any and all efforts to support not just SOPA, but also its Senate cousin, PIPA. The boycott already worked to get GoDaddy to change their position on SOPA, now we urgently need to hear from GoDaddy about PIPA too.
So what's next?
The PIPA bill is still alive and strong in the Senate, and could be voted on in January. Like SOPA, it threatens free speech, innovation, and the basic structure of the Internet.
Keep transferring your domains from GoDaddy until they fully come out against PIPA and SOPA. They need to send a letter to Congress making their opposition to both bills clear -- Click here to join the cause.
Thank you for all that you do -- it is working!
Tiffiniy & Phil
Fight for the Future
We've just won two huge battles in the fight against Internet censorship -- everything you are doing is working! First off, the House of Representatives failed to move SOPA out of committee! Why? Because their offices got swamped with phone calls and overwhelmed by the snowballing opposition. Thank you for helping make that happen.
Second, in response to the boycott of GoDaddy, the web hosting company just made a public announcement that it's dropping its support of SOPA. Amazing what you have made happen.
Yet, we can't let GoDaddy off the hook just yet. GoDaddy supports the Senate version of SOPA, called the PROTECT IP Act (PIPA). The boycott has to continue -- Please click here to pledge to join it.
Please join us in holding GoDaddy accountable, until they drop any and all efforts to support not just SOPA, but also its Senate cousin, PIPA. The boycott already worked to get GoDaddy to change their position on SOPA, now we urgently need to hear from GoDaddy about PIPA too.
So what's next?
The PIPA bill is still alive and strong in the Senate, and could be voted on in January. Like SOPA, it threatens free speech, innovation, and the basic structure of the Internet.
Keep transferring your domains from GoDaddy until they fully come out against PIPA and SOPA. They need to send a letter to Congress making their opposition to both bills clear -- Click here to join the cause.
Thank you for all that you do -- it is working!
Tiffiniy & Phil
Fight for the Future
2011/12/22
Crear un Controlador en Rails
rails g controller nombre_controlador_plural
rails g controller name_space::nombre_controlador_plural
rails g controller name_space::nombre_controlador_plural
Reemplazar cadenas de texto en Postgresql
UPDATE tabla SET campo = replace(campo, 'cadena_a_buscar', 'nueva_cadenal')
2011/12/21
2011/12/19
2011/12/18
Mr. Trololo
The original recording of the song "I am very glad, because I'm finally returning back home" from russian retro-channel Vremya (Time) / Оригинальная запись песни "Я очень рад, ведь я, наконец, возвращаюсь домой" с российского ретро-канала Время.
Actualizacion:
Fallecio Eduard Khil, http://correveidile.comunidaria.com/tag/fallecio-trololo/
Policia y Ejercito Egipcio brutales contra manifestantes
Policia y Ejercito Egipcio brutales contra manifestantes. Interesante que USA no dice ni hace nada. Aunque pensandolo bien ¿que van a decir? si estas imagenes de Egipto son casi las mismas del actuar Estadounidense contra el movimiento "Occupy Wallstreet":
http://drakedalfa.blogspot.com/2011/11/barack-obama-refrain-any-violence.html
http://drakedalfa.blogspot.com/2011/11/barack-obama-refrain-any-violence.html
Dragon Ball Heroes
Dragon Ball Heroes es un juego:
Aqui hay varios videos unidos de una vez:
Enlace de interes:
http://dragonball.wikia.com/wiki/Dragon_Ball_Heroes
2011/12/17
2011/12/15
Copiar y restaurar una base de datos en Postgresql
Crear: $ pg_dump -h localhost -U usuario base_datos -f base_datos.sql
Restaurar: $ psql -h localhost -U usuario -d base_datos_destino -f base_datos.sql
Restaurar: $ psql -h localhost -U usuario -d base_datos_destino -f base_datos.sql
2011/12/11
2011/11/27
2011/11/21
2011/11/19
2011/11/13
/diy/ - Recommended Resources
/diy/ - Recommended Resources
A collection of useful blogs, message boards and more for the /diy/ community.
http://djf.me.uk/resources/diy/
2011/11/12
A Day With Zombie Boy
Fuente:
http://laughingsquid.com/a-day-with-zombie-boy/
Enlace de interes:
http://en.wikipedia.org/wiki/Rick_Genest
http://news.bmezine.com/2006/11/13/you-call-yourself-a-misfits-fan/
http://news.bmezine.com/2007/09/21/skull-facial-tattoo-update/
http://news.bmezine.com/2008/08/07/fingered-by-skullboy/
http://www.bmezine.com/news/guest/20080318.html
http://news.bmezine.com/2006/12/11/modblog-influening-youtube-culture/
2011/10/30
Instrucciones post instalacion de bash completion para Mandriva Linux 2011
More information on package bash-completion-1.3-5-mdv2011.0.noarch Mandriva RPM specific notes
Programmable bash completion except for slow completions is enabled by default. These settings can be changed system-wide in /etc/sysconfig/bash-completion. Users may override these settings in
their ~/.bash_completion files. New users get a skeleton configuration file automatically, while existing users can copy /etc/skel/.bash_completion into their home directories if they want to edit their completion settings.
Programmable bash completion except for slow completions is enabled by default. These settings can be changed system-wide in /etc/sysconfig/bash-completion. Users may override these settings in
their ~/.bash_completion files. New users get a skeleton configuration file automatically, while existing users can copy /etc/skel/.bash_completion into their home directories if they want to edit their completion settings.
2011/08/16
Copiando archivos con SSH / SCP
Copiar desde un sistema local a un sistema remoto:
scp all.sql user@00.00.00.00:/srv/www/vhosts/current/
Copiar desde un sistema remoto a uno local:
scp user@00.00.00.00:/srv/www/vhosts/current/all.sql all.sql
scp all.sql user@00.00.00.00:/srv/www/vhosts/current/
Copiar desde un sistema remoto a uno local:
scp user@00.00.00.00:/srv/www/vhosts/current/all.sql all.sql
2011/08/09
Quitar una migracion especifica en Rails
En el directorio del proyecto:
rake db:migrate:down VERSION=20110727170850
rake db:migrate:down VERSION=20110727170850
Convertir numero a texto en Rails
Simplemente se le agrega .to_s a la variable:
variable_de_numeros.to_s
variable_de_numeros.to_s
Borrar un scalffold en Ruby on Rails
En el directorio del proyecto:
rails destroy scaffold outpatient_medicine_coverages
rails destroy scaffold outpatient_medicine_coverages
2011/07/21
Desactivar el cache en Opera
En opera:config hacer una busqueda con la frase cache y se muestran los valores que se pueden configurar, ahi se colocan a cero.
2011/07/18
2011/05/27
Asignar gateaway por defecto al sistema
Esta linea de comando la utilizo para asignar a la ip de ppp0 (dispositivo del modem) como gateaway:
ifconfig ppp0 | grep inet | awk -F: '{ print $2 }' | awk '{ print $1 }' | xargs -0 route add default gw
ifconfig ppp0 | grep inet | awk -F: '{ print $2 }' | awk '{ print $1 }' | xargs -0 route add default gw
2011/05/11
2011/05/10
Important notice to all Gmail users from the Free Software Foundation
Did you know that, like you, nearly 50% of the 40,000 subscribers to the FSF's supporter mailing list have an @gmail.com email address?
JavaScript, once lauded for adding simple visual effects to web pages, is now used by web sites like Gmail to run powerful programs on your computer. These programs, like any other program running on your computer, should be free software. But right now, the vast majority of JavaScript programs do not respect your essential freedoms to run, study, modify and share them. They take control of your computer away from you; the same control we have been working for over 25 years to protect.
Because of the incredibly high percentage of Gmail-using free software supporters, we're taking action to raise awareness about how to use Gmail without using proprietary software. We'll also be working on longer term solutions, but the most immediate positive step to take is to stop running the proprietary programs.
Many people suggest that you shouldn't use Gmail at all, because it means losing control over your data and privacy. We agree that this is a very important factor for you to consider when choosing how you will handle your email.
But since you are already using Gmail, please help us build momentum for change by not using the proprietary JavaScript on your system -- and helping others to do the same:
http://www.fsf.org/campaigns/jstrap/gmail?14487
Yours sincerely,
Matt Lee
Campaigns Manager
Free Software Foundation
--
Sent from the Free Software Foundation,
51 Franklin Street
Fifth Floor
Boston, MA 02110-1335
United States
JavaScript, once lauded for adding simple visual effects to web pages, is now used by web sites like Gmail to run powerful programs on your computer. These programs, like any other program running on your computer, should be free software. But right now, the vast majority of JavaScript programs do not respect your essential freedoms to run, study, modify and share them. They take control of your computer away from you; the same control we have been working for over 25 years to protect.
Because of the incredibly high percentage of Gmail-using free software supporters, we're taking action to raise awareness about how to use Gmail without using proprietary software. We'll also be working on longer term solutions, but the most immediate positive step to take is to stop running the proprietary programs.
Many people suggest that you shouldn't use Gmail at all, because it means losing control over your data and privacy. We agree that this is a very important factor for you to consider when choosing how you will handle your email.
But since you are already using Gmail, please help us build momentum for change by not using the proprietary JavaScript on your system -- and helping others to do the same:
http://www.fsf.org/campaigns/jstrap/gmail?14487
Yours sincerely,
Matt Lee
Campaigns Manager
Free Software Foundation
--
Sent from the Free Software Foundation,
51 Franklin Street
Fifth Floor
Boston, MA 02110-1335
United States
2011/03/08
Llenar aleatoriamente una tabla con una matriz
Mediante elt y rand se toman los valores aleatoriamente de una matriz:
ELT(0.5 + RAND() * 6, 'a', 'b', 'c', 'd', 'e', 'f')
Un ejemplo:
mysql> update catDirectory set item=(ELT(0.5 + RAND() * 6, 'MARISCOS Y PESQUERAS', 'ROSQUILLAS', 'CEREALES', 'BEBIDAS', 'ESPECIES', 'PANELA')) where (ISNULL(item));
Query OK, 283 rows affected (0.01 sec)
Rows matched: 283 Changed: 283 Warnings: 0
ELT(0.5 + RAND() * 6, 'a', 'b', 'c', 'd', 'e', 'f')
Un ejemplo:
mysql> update catDirectory set item=(ELT(0.5 + RAND() * 6, 'MARISCOS Y PESQUERAS', 'ROSQUILLAS', 'CEREALES', 'BEBIDAS', 'ESPECIES', 'PANELA')) where (ISNULL(item));
Query OK, 283 rows affected (0.01 sec)
Rows matched: 283 Changed: 283 Warnings: 0
2011/02/16
Como hace funcionar el Modem USB ZTE MF622 de Tigo El Salvador bajo Mandriva Linux 2010
Encontre esta entrada a este sitio, donde explican ciertas cosas sobre como hacer funcionar este modem bajo otra distro:
http://blog.ufsoft.org/zte-mf622-usb-modem-under-linux
Lo primero es crear el archivo /etc/udev/rules.d/15-zte-mf622.rules
Con el siguiente contenido:
Luego instalamos los siguientes paquetes:
Mientras averiguaba como hacer funcionar el modem estuve usando una laptop con Windows pasandole el internet por lan a Windows y cabe mencionar que la velocidad de la conexion apestaba no podia ni conectar un messenger (Jabber o MSN), muchos paquetes perdidos y muchas desconeciones ahora bajo Mandriva todo va muy bien tengo Pidgin con todas mis cuentas cargadas sin problemas y navegando a una buena velocidad.
http://blog.ufsoft.org/zte-mf622-usb-modem-under-linux
Lo primero es crear el archivo /etc/udev/rules.d/15-zte-mf622.rules
Con el siguiente contenido:
ACTION!="add", GOTO="ZTE_End" # Is this the ZeroCD device? SUBSYSTEM=="usb", SYSFS{idProduct}=="2000", SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD" # Is this the actual modem? SUBSYSTEM=="usb", SYSFS{idProduct}=="0001", SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem" LABEL="ZTE_ZeroCD" # This is the ZeroCD part of the card, remove # the usb_storage kernel module so # it does not get treated like a storage device RUN+="/sbin/rmmod usb_storage" LABEL="ZTE_Modem" # This is the Modem part of the card, let's # load usbserial with the correct vendor # and product ID's so we get our usb serial devices RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0001", # Make users belonging to the dialout group # able to use the usb serial devices. MODE="660", GROUP="dialout" LABEL="ZTE_End"
Luego instalamos los siguientes paquetes:
urpmi umtsmon usb_modeswitchAl conectar el modem se puede configurar desde el drakconf una nueva conexion de tipo "GPRS / Edge / 3G" donde no hace falta especificar nada. Con UTMSmon se puede enviar mensajes y configurar el modem.
Mientras averiguaba como hacer funcionar el modem estuve usando una laptop con Windows pasandole el internet por lan a Windows y cabe mencionar que la velocidad de la conexion apestaba no podia ni conectar un messenger (Jabber o MSN), muchos paquetes perdidos y muchas desconeciones ahora bajo Mandriva todo va muy bien tengo Pidgin con todas mis cuentas cargadas sin problemas y navegando a una buena velocidad.
2011/01/25
Como renombrar extension de archivos por lotes
for i in *.rar; do mv "$i" "${i/.rar}".cbr; done
En este ejemplo buscara todos los archivos .rar y los renombrara a .cbr.
2011/01/18
Junji Ito
Mangas de miedo de Junji Ito
Uzumaki
---------
Volume 1
http://www.mediafire.com/?33ybyixtahr5ava
Volume 2
http://www.mediafire.com/?udrkhtkplq0krpl
Volume 3
http://www.mediafire.com/?c5r40pzk8gvkzw5
Gyo
---------
Volume 1
http://www.mediafire.com/?gf0g2t47nte6ib2
Volume 2
http://www.mediafire.com/?r1heee3nlg4tit5
Tomie
---------
Volume 1
http://www.mediafire.com/?n56b7dto2nj5ig2
Volume 2
http://www.mediafire.com/?ms02az95dowo4l6
Black Paradox
---------
Chapter 1
http://www.mediafire.com/?q6td7koj1i57b4d
Hellstar Remina
http://www.mediafire.com/?dkv0glr7p4efzbe
Frankenstein
http://www.mediafire.com/?2do4ysaxz2u4di3
Mimi's Ghost Stories [Compilation]
http://www.mediafire.com/?nzrr8qtz5tm9uhy
Flesh-Colored Horror [Compilation]
http://www.mediafire.com/?n4ja17ngd92spxb
Lovesick Dead [Compilation]
http://www.mediafire.com/?3ibq990aand4teg
Voices in the Dark [Compilation]
http://www.mediafire.com/?g7b7me12n730nwg
New Voices in the Dark [Compilation]
http://www.mediafire.com/?mz4780k84rv57tj
Face Burglar [Compilation]
http://www.mediafire.com/?1eaw7muwlecy7v3
Army of One [One Shot]
http://www.mediafire.com/?3q25uyrd2e43rxy
Falling [One Shot]
http://www.mediafire.com/?42ws1dt2lzt2xj9
The Enigma of Amigara Fault [One Shot]
http://www.mediafire.com/?gr3cuhpr1raraf1
The Back Alley [One Shot]
http://www.mediafire.com/?0a9b7rj7xdkpq8a
Thing That Drifted Ashore [One Shot]
http://www.mediafire.com/?uxzgbda0rgp297r
Uzumaki
---------
Volume 1
http://www.mediafire.com/?33ybyixtahr5ava
Volume 2
http://www.mediafire.com/?udrkhtkplq0krpl
Volume 3
http://www.mediafire.com/?c5r40pzk8gvkzw5
Gyo
---------
Volume 1
http://www.mediafire.com/?gf0g2t47nte6ib2
Volume 2
http://www.mediafire.com/?r1heee3nlg4tit5
Tomie
---------
Volume 1
http://www.mediafire.com/?n56b7dto2nj5ig2
Volume 2
http://www.mediafire.com/?ms02az95dowo4l6
Black Paradox
---------
Chapter 1
http://www.mediafire.com/?q6td7koj1i57b4d
Hellstar Remina
http://www.mediafire.com/?dkv0glr7p4efzbe
Frankenstein
http://www.mediafire.com/?2do4ysaxz2u4di3
Mimi's Ghost Stories [Compilation]
http://www.mediafire.com/?nzrr8qtz5tm9uhy
Flesh-Colored Horror [Compilation]
http://www.mediafire.com/?n4ja17ngd92spxb
Lovesick Dead [Compilation]
http://www.mediafire.com/?3ibq990aand4teg
Voices in the Dark [Compilation]
http://www.mediafire.com/?g7b7me12n730nwg
New Voices in the Dark [Compilation]
http://www.mediafire.com/?mz4780k84rv57tj
Face Burglar [Compilation]
http://www.mediafire.com/?1eaw7muwlecy7v3
Army of One [One Shot]
http://www.mediafire.com/?3q25uyrd2e43rxy
Falling [One Shot]
http://www.mediafire.com/?42ws1dt2lzt2xj9
The Enigma of Amigara Fault [One Shot]
http://www.mediafire.com/?gr3cuhpr1raraf1
The Back Alley [One Shot]
http://www.mediafire.com/?0a9b7rj7xdkpq8a
Thing That Drifted Ashore [One Shot]
http://www.mediafire.com/?uxzgbda0rgp297r
2011/01/16
2011/01/15
2011/01/05
Suscribirse a:
Entradas (Atom)