Search google

Google
 

This is the place where I leave my scripts, my useful files, glad to have your suggestions. If you want to make discuss, please contact me at YM id bornbygoogle or my mail bornbygoogle@yahoo.com or simply let ur mail. I'll try to contact as soon as possible :) Nice to see you :D

Thursday, May 29, 2008

My bash script : Split a movie to multiple parts viewable !

This is my bash script to split one movie in to multiple parts viewable.
Ex : You want to split movie Blade3.avi(180 mins) into 18 parts(10 mins)

This script using mencoder ( mplayer ), so please make sure that you have it installed.
This script I write to split multiple movies in a folder.

#!/bin/bash
cd <_where_you_store_ur_movie_>
ls | grep avi > 002.txt // get their names
sed 's/.avi//g' 002.txt > 001.txt // remove the extensions .avi
rm 002.txt
i=2 // I use the variable i to marque the parts
fault=0 // fault is used to stop the script at the end of each file
cat 001.txt | while read line; do
mencoder -endpos 00:10:30 -ovc copy -oac copy $line.avi -o $line-part1.avi;
mencoder -ss 00:10:00 -oac copy -ovc copy $line.avi -o 001.avi;
while [ $fault -eq 0 ]
do
mencoder -endpos hh:mm:ss(hour:minute:second) -ovc copy -oac copy 001.avi -o $line-part$i.avi
mencoder -ss hh:mm:ss(hour:minute:second) -oac copy -ovc copy 001.avi -o 002.avi > log.txt
mv 002.avi 001.avi
let fault=`cat log.txt | grep nan | wc -l`
let i++
done;
let fault=0
let i=2
done
rm 001.avi
rm log.txt
rm 001.txt

Monday, May 19, 2008

Windows Vista - version French !

This file contains also the URL activator, and the guide to be use.

http://www.megaupload.com/?d=WMJDPWJE
http://www.megaupload.com/?d=CGTIKZWK
http://www.megaupload.com/?d=DL61TCLI
http://www.megaupload.com/?d=KTNKAFBL
http://www.megaupload.com/?d=48X9LVDM
http://www.megaupload.com/?d=VWI8IASJ
http://www.megaupload.com/?d=MN3IVYA6
http://www.megaupload.com/?d=WP0Q4P91
http://www.megaupload.com/?d=7C3FSRSQ
http://www.megaupload.com/?d=YNN6LCMU
http://www.megaupload.com/?d=9BIZSPFJ
http://www.megaupload.com/?d=N7DTV0GJ
http://www.megaupload.com/?d=WE8P2VZD
http://www.megaupload.com/?d=05PQNAW5
http://www.megaupload.com/?d=S7Y8KW6F
http://www.megaupload.com/?d=W9HDOFGH
http://www.megaupload.com/?d=EPE3VHZ3
http://www.megaupload.com/?d=7DFJCBGI
http://www.megaupload.com/?d=C4WYQ2AK
http://www.megaupload.com/?d=6E88RJGO
http://www.megaupload.com/?d=OP3TQ5DN
http://www.megaupload.com/?d=8SCFIH2W
http://www.megaupload.com/?d=YUWW31P9
http://www.megaupload.com/?d=3AIKFCDG
http://www.megaupload.com/?d=6IS21EFQ
http://www.megaupload.com/?d=A5L75L98

Wednesday, May 7, 2008

Harry Potter collection !

Here is my Harry Potter collection ( 7 books ) - English and Vietnamese version !

Vietnamese version :

http://rapidshare.com/files/111579286/Harry_Potter_Vietnamese.rar.html

English version :

http://rapidshare.com/files/111581205/HPFull_English_PDF.rar.html

Bash script upload to rapidshare with collector account !

Fist, download this script http://rapidshare.com/files/113269788/Upload_rapid.pl.html
Copy that script to /usr/local/bin ( with ubuntu - may be different with others distros ). Give it the execute permission.

And then, this is my script to upload a file or a list of file to rapidshare with collector account :

#!/bin/bash
# Usage : rapidupload file <_file_name_>
# rapidupload list <_list_file_>
# Remember to add execute permission to the script upload rapidshare, copy it to /usr/local/bin. And then, replace its name to <_script to upload file to rapidshare_>. Next step, we copy this bash script to /usr/local/bin. Now, we can run rapidupload in bash where we place to file needed upload
case "$1" in
"file") <_script_to_upload_file_to_rapidshare_> $1 <_free|pre|col_> <_account_> <_password_>
"list") cat $2 | while read line; do <_script_to_upload_file_to_rapidshare_> $line col <_account_> <_password_>; done
esac
cat rsapiuploads.txt | grep File1.1= > linkup.txt
cat linkup.txt | sed 's/^File1.1=//g' >> <_file-store-links-rapidshare-links_>
rm linkup.txt
rm rsapiuploads.txt
echo "Script by bornbygoogle at hackthefreedom.blogspot.com"


Give +x permission to the script and enjoy yourself. If you have difficult usage, please let me know at bornbygoogle@yahoo.com or with the yahoo ID : bornbygoogle

Glad to see you.

Convert Megaupload links to Rapidshare links !

If someone want to convert Megaupload to Rapidshare links, please let me know, I'll do it for you ! ( for free, all ). If you want, please send those links to me, with the mail title : Convert to Rapidshare !. My mail is bornbygoogle@yahoo.com. Or YM ID : bornbygoogle.

Nice to help you ! :)