Download Here the following files for Mac and Windows users (iRecovery for Windows & Mac and LibUsb-Win32). Windows users should also download this version of iRecovery from here.
Follow these steps:
1. Install libusb (Windows users only). Windows Vista users follow the extra steps below to install Libusb-Win32.
- Right click on the file. Select Properties | Compatibility Click the “Run this program in compatibility mode” box and select “Windows XP (Service Pack2)” from the drop down list.
- Right click again and select “Run as “Administrator”. Follow the installation instructions. Running the test program list the usb devices plugged into my computer – but not my new device.
2) Start iRecovery in Terminal / Console by typing:
3) Execute the following commands in the provided shell:
setenv auto-boot true
4) Reboot your iPhone by holding home and sleep button for 10 seconds.
Qualcomm’s 7X30 Snapdragon processor truly gives a fantastic multimedia performance in a demo at this year’s Mobile World Congress. Clips of some visually-stunning games and 3D acceleration after the break.
OSX Finder is hiding the standard Unix files and folders. You can «Go To Folder…» and type in the name of the «known» folder such as /var/log, but again you will not be able to see the «dot» files. Of course you can use terminal for viewing those files… but come one it is MacOSX!!!
Type at Terminal:
defaults write com.apple.finder AppleShowAllFiles -bool true
After the HTC Desire Smartphone, online retailer Expansys has also listed two HTC smartphones announced a few hours ago at MWC 2010.
Both the Android-based HTC Legend and the Windows-powered HTC HD Mini have now appeared on the website and it appears that all three models (including the Desire) will be launched on Monday 12th of April.
Unlike the Desire though, neither the HD Mini nor the HTC Legend have their own dedicated website which shows where HTC is hedging its bets. That said, for next generations SIM Free phones, the Legend and the HD Mini are surprisingly affordable.
The first one costs only £400 and apart from its gorgeous looking aluminium body adn the soft rubber at the back, we learn that it will have a RDS FM Radio plus a flash for the camera (which we omitted in our original description).
As for the Mini, it will go on sale for £350. It has a 1200mAh battery, a sensible option given the size of the handset plus the ability to stream video and something called widescreen photo capture.
Backing up your database is a very important system administration task, and should generally be run from a cron job at scheduled intervals. We will use the mysqldump utility included with mysql to dump the contents of the database to a text file that can be easily re-imported.
mysqldump -h localhost -u root -pmypassword databasename > dumpfile.sql
mysqldump -h localhost -u root -p2Uad7as9 database01 > dumpfile.sql
This will give you a text file containing all the commands required to recreate the database.
This approach works for any linux operating system, including Ubuntu, and is probably most often used in conjunction with web development work.
tail -f /path/thefile.log
This will give you a scrolling view of the logfile. As new lines are added to the end, they will show up in your console screen.
For Ruby on Rails, for instance, you can view the development logfile by running the command from your project directory:
tail -f log/development.log
As with all linux apps, Ctrl+C will stop it.
Any version of Microsoft Windows
Windows Key + D
Minimizes all windows and shows desktop. Also reopens all windows.
Windows Key + E
Opens a new Windows Explorer window.
Windows Key + F
Opens a new find or search function. Typically done by clicking Start, Find or Start, Search.
Windows Key + L
Locks your workstation so no one can access your desktop without your password.
Windows Key + M
Minimizes all windows.
Windows Key + M + Shift
Reopens all minimized windows.
Shortcut Keys [continued]
Windows Key + R
Opens the run command. Typically done by clicking on Start, Run.
Alt + Tab
Switches between your open windows.
Messing with bootloaders, dual-booting and various other scary processes can leave you with a messed up bootsector. Why not create a backup of it while you can:
dd if=/dev/hda of=bootsector.img bs=512 count=1
Obviously you should change the device to reflect your boot drive (it may be sda for SCSI). Also, be very careful not to get things the wrong way around – you can easily damage your drive! To restore use:
dd if=bootsector.img of=/dev/hda
Need to transfer a directory to another server but do not have FTP or SCP access? Well this little trick will help out using the netcat utility. On the destination server run:
nc -l -p 1234 | uncompress -c | tar xvfp -
And on the sending server run:
tar cfp - /some/dir | compress -c | nc -w 3 [destination] 1234
Now you can transfer directories without FTP and without needing root access.
lsof +D /mnt/windows
This will return the command and process ID of any tasks currently accessing the /mnt/windows directory. You can then locate them, or use the kill command to finish them off.