The Penoi's QWRTY keyboard

The QWRTY Keyboard


This what happens when we over-used our keyboard. The Penoi's QWRTY keyboard.

By penoi on Monday, April 28, 2008 | | 2 comments

Rapidshare Happy Hours Downloads


Rapidshare Happy Hours


Rapidshare is experimenting their new CAPTCHA system but for now, they will disable download tickets and captchas for all free users. Happy Hours downloading!!!!!


By penoi on Friday, April 18, 2008 | | 3 comments

Quick and Dirty Mysql backup to Samba share

#mount the samba share

mount -t smbfs -o username=<username>,password=<password> //server/share /mnt/database

#backup database

for i in $(mysql-uroot -password -e "SHOW DATABASES"|tail +2); do mysqldump -uroot -ppassword $i | gzip -9 > /mnt/database/$i.sql.gz; done

#unmount the samba share
umount /mnt/database

By penoi | | A comment?

Pinoy Funny Pictures and Travel Photos

Last December 2005, i started my first picture blog. At first it shows pictures of flowers and some experimental images. But after the success of Pinoy Jokes, i added pinoy funny pictures. It was in hiatus for almost a year, but now, i reviving it once more to give you my collection of never before seen funny pictures, travel photos and images taken from the internet. Please visit the site and see this Special Jumbo Siopao, shot from my officemate's merienda.

By penoi on Monday, April 14, 2008 | | 1 comment

First edition of Playboy Philippines

Playboy Philippines picture


No, i will not give you a free download pdf edition of Playboy Philippines :) Due to the fact that this is the first edition of Playboy here in the Philippines, i wont miss the opportunity to have my own copy coz it will be a collectible in due time. I may say that this local version of Playboy has the censorship suited for a conservative(?) country. Yes, you will see half naked girls, but not as vulgar as those images that we always see on Tiktik, Sagad, and even on FHM.  It doesnt have articles like on FHM's Ladies Confession and Sex Positions. My girlfriend commented that this magazine is more of a Men's fashion magazine. Oh well, just grab a copy and see it for yourself.


By penoi on Monday, April 7, 2008 | | 3 comments

XMMS Mp3 Plugin in Backtrack Linux

wget http://www.osnews.com/files/xmms-mp3-fc1.tar.gz

tar xvzf xmms-mp3-fc1.tar.gz

cd xmms-mp3-fc1

cp libmpg123.so /usr/lib/xmms/Input/

By penoi on Sunday, April 6, 2008 | | 1 comment

Windows backup using DLINK DNS-323

1. Install CWRsync: http://sourceforge.net/project/showfiles.php?group_id=69227&package_id=68081

2. Create ssh-rsa for the server(password-less rsync)
cd "c:\program files\cwrsync\bin"
ssh-keygen -t rsa -N '' (hit enter twice)

3. Upload your generated key to the backup server
rsync -av "/cygdrive/c/documents and settings/administrator/.ssh/id_rsa.pub" root@ipaddress:/home/root/

4. SSH to your DNS-323 and copy the new id_rsa.pub to authorized_keys
#cat /home/root/id_rsa.pub >> /home/root/.ssh/authorized_keys

5. Create a Batch file in your Windows


@ECHO OFF
REM *****************************************************************
REM
REM CWRSYNC.CMD - Batch file template to start your rsync command (s).
REM
REM By Tevfik K. (http://itefix.no)
REM *****************************************************************

REM This is where we can find our .ssh

SET HOME=C:\Documents and Settings\Administrator

REM Make environment variable changes local to this batch file
SETLOCAL

REM ** CUSTOMIZE ** Specify where to find rsync and related files (C:\CWRSYNC)
SET CWRSYNCHOME=%PROGRAMFILES%\CWRSYNC

REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions
REM on your windows machine are not updated as a side effect of cygwin
REM operations.
SET CYGWIN=nontsec

REM Set HOME variable to your windows home directory. That makes sure
REM that ssh command creates known_hosts in a directory you have access.
SET HOME=%HOMEDRIVE%%HOMEPATH%

REM Make cwRsync home as a part of system PATH to find required DLLs
SET CWOLDPATH=%PATH%
SET PATH=%CWRSYNCHOME%\BIN;%PATH%

REM Windows paths may contain a colon (:) as a part of drive designation and
REM backslashes (example c:\, g:\). However, in rsync syntax, a colon in a
REM path means searching for a remote host. Solution: use absolute path 'a la unix',
REM replace backslashes (\) with slashes (/) and put -/cygdrive/- in front of the
REM drive letter:
REM
REM Example : C:\WORK\* --> /cygdrive/c/work/*
REM
REM Example 1 - rsync recursively to a unix server with an openssh server :
REM
REM rsync -r /cygdrive/c/work/ remotehost:/home/user/work/
REM
REM Example 2 - Local rsync recursively
REM
REM rsync -r /cygdrive/c/work/ /cygdrive/d/work/doc/
REM
REM Example 3 - rsync to an rsync server recursively :
REM (Double colons?? YES!!)
REM
REM rsync -r /cygdrive/c/doc/ remotehost::module/doc
REM
REM Rsync is a very powerful tool. Please look at documentation for other options.
REM

REM ** CUSTOMIZE ** Enter your rsync command(s) here
REM You want to copy C:\Documents and Settings\Administrator\My Documents\ to DNS-323
rsync --progress -aurp --delete "/cygdrive/c/Documents and Settings/Administrator/My Documents/" root@dns.ip.address:/mnt/HD_a2/Mydocs/




6. Sched the backup using Windows Task Scheduler

By penoi on Tuesday, April 1, 2008 | | 4 comments