#!Hackgust -w
# RANDOM STUFF
echo $RANDOM
Yep now I can save a life:
I have network problems almost all this month
Script to login wireless network in Martin Luther King Jr Public Library:
#!/bin/bash
# use your card number and pin, but not work this anymore
#card=____________ # your number card
#pass=____________ # your password
#curl -k -d "user=$card&password=$pass&cmd=authenticate&Login=Log+In" \
#"https://securelogin.arubanetworks.com/cgi-bin/login" > /dev/null
# Now all wireless access use this account:
curl -k -d "user=mlkjr&password=library&cmd=authenticate&Login=Log+In" \
"https://securelogin.arubanetworks.com/cgi-bin/login" > /dev/null
I use the public library wireless to access Skype but the port was blocked, no problem use a proxy
My .bash_aliases are something like this:
alias proxy1='ssh -C -D $PORT -fN $user1@domain1' # -C compress slow connection
alias proxy2='ssh -D $PORT -fN $user3@domain3'
alias proxyn='ssh -D $PORT -fN $user3@domain2'
# using amazon ec2 ?
alias proxyamazon='cd ~/.ec2; ssh -D $PORT -fN -i $USER.pem $USER@$AMAZON_SERVER'
Proxy tools tsocks and proxychains
sudo apt-get install tsocks proxychains
I have problems with tsocks for GUI applications so I use proxychains for Opera and Skype:
My proxychains.conf:
strict_chain
proxy_dns
tcp_read_time_out 15000
tcp_connect_time_out 8000
[ProxyList]
socks5 127.0.0.1 $PORT
Run many firefox profiles with diff (proxy, addons, etc):
#!/bin/sh
firefox -P $1 --no-remote &
Use Google Chrome with this extensions:
Read about CSS frameworks:
Using recaptchalib on PHP
<?php
// Hide e-mail using recaptchalib
require_once('recaptchalib.php');
// return link (click popup to recaptcha)
function hide_mail($mail) {
$mailhide_pubkey='____'; // your public key
$mailhide_privkey='____'; // your private key
$mail_url = recaptcha_mailhide_url ($mailhide_pubkey, $mailhide_privkey, $mail);
return "<a href=\"$mail_url\" onclick=\"window.open('$mail_url', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;\" title=\"Reveal this e-mail address\">e-mail</a>";
}
?>
I use Python to improve the speed I put my eye and use this modules:
thread,
multiprocessing
I check this projects too (asynchronous io):
Howto export txt to doc and pdf (using python and openoffice):
#!/bin/bash
# convert resume.txt resume.pdf # very bad quality (ImageMagick)
soffice -accept="socket,port=8100;urp;" # for remote access
python DocumentConverter.py resume.txt resume.doc # Word Document
python DocumentConverter.py resume.doc resume.pdf # PDF Document
Download PyODConverter
I Use Perl:
How to try and catch on Perl (Handling exceptions):
# Error handling on Perl:
eval {
# your perl code here
};
if ($@) {
print "Error: "$@;
}
Perl is amazing for regular expressions a simple example XML file to CSV:
#!/bin/sh
curl -o "feed.xml" "http://albertux.ayalasoft.net/feed/"
perl -ne 'if (/<title>(.*)</) {print $1}
elsif (/<link>(.*)</) {print ",$1"}
elsif (/<pubDate>(.*)</) {print ",$1\n"}' "feed.xml"
NoSQL
Read about NoSQL and check this projects:
Only play with CouchDB and MongoDB on my notebook.
Personal Web projects:
Screens:



I will finish this two on this month (that the plan)
Post Youtube videos on facebook using fbcmd:
#!/bin/bash
# HOWTO: ./script.sh "text" "url"
fbcmd post flash "$1" "http://www.youtube.com/v/${2#*=}" \
"http://img.youtube.com/vi/${2#*=}/0.jpg"
Thanks Mom for this pillow:
My Grandpa, Mother and Uncle on the Skydeck Chicago:

The last two pics with long hair:


and now:




For the next month I’m ready.
Se me olvido mandar saludos a toda la banda en especial a los que ya son papas un saludo a Hector y a Hector Jr, un Saludo a Tere y a Sara su baby, un saludo a toda la banda de MTY pro (Ron, Ortiz Antonio, Texky, Saul (El Unhappy), Alberto Jorge (El champi), la banda del SITE de FIME (Dante, Moy, Felipe), a toda la banda ex Sinemed, a toda la banda ex DGI o DGI (Joaquin el big boss, Joel, a los dos Javieres Rene, Ofelia, Alberto, Jaquelin, Zaira) y a la raza de Softtek (Angel Tomas, Alfredo Pedraza), a la raza del Hacker Room Mx (Hugo, Cesar Salasar, DFectuoso)
SI se me olvida alguien porfavor perdonenme no lo hago a proposito
No e tomado video por que mi camara no funciona (las fotos fueron tomadas con el celular)