We can deleted older files more than 10 days or older 5 minutes.
Ex:
First we need to fine files older than 10 day :
$find /PATH/* -mtime +10
Second we nedd to fine files older than 5 minutes and delete it:
$find /PATH/* -mmin +5 -exec rm {} \;
วันพุธที่ 8 กุมภาพันธ์ พ.ศ. 2555
How to dump Mysql
We can use command for dump mysql on linux
Ex:
$mysqldump -uroot -p'xxxxx' databasename > /PATH/databasename.sql
-u is mean user
-p is mean password
databasename mean databese for need to dump
Restore database:
Ex:
$ mysql -uroot -p'xxxx' databasename < /PATH/databasename.sql
Ex:
$mysqldump -uroot -p'xxxxx' databasename > /PATH/databasename.sql
-u is mean user
-p is mean password
databasename mean databese for need to dump
Restore database:
Ex:
$ mysql -uroot -p'xxxx' databasename < /PATH/databasename.sql
วันอาทิตย์ที่ 22 มกราคม พ.ศ. 2555
Jail break IOS 5.0.1
In ios 5.0.1 change broadband of 3Gs It will show "no service" when we jailbreak don't create iso for it
Before Jail break you should back up to you computer or to iCloud
Create IOS 5.0.1
1. Download ios 5.0.1.
iPhone2,1_5.0.1_9A405_Restore
2. Sn0wbreeze-v28b11
Build IOS 5.0.1 for iphone 3Gs
Connect iphone with PC
Open Sn0wbreeze 2.8b1
Click OK.
Click Close credits
Click Next
Click Next again
Click Browse and Chroose IOS iPhone2,1_5.0.1_9A405_Restore
and Next
Click Next
It Should Show Plese select a mode:
We need to select Baseband Preservation Mode Then Clieck Next and Yes
Waiting Then OK.
It will request to DFU follow up Picture in program.
Then click OK
finish
We shuold have Sn0wbreeze_iPhone3GS-5.0.1
3. Update iPhone to 5.0.1 use mode restore in iTune on Windows
4. Jailbreak IOS 5.0.1 use redsn0w_win_0.9.10b2
Open the program and select Jailbreak
Click Next
And Enter to DFU mode and waiting for jail break
5. After jailbreak completed you should restore backup to you iPhone.
Repotory for IOS:
http://ispaziorepository.com/
http://cydia.hackulo.us/
http://sinfuliphonerepo.com/
http://xsellize.com/
http://cydia.iphonecake.com/
สมัครสมาชิก:
บทความ (Atom)