Been searching around the internet for a decent command line utility to eject or close the CD tray but can’t seem to find any. So i decided to write my own command line versions using visual studio 2010 and .net 4.
Note that the actual code does not utilize any of .net 4 features so you can easily take the same code and compile it against .net 1 or .net 2
The project is currently hosted in codeplex and can be found at http://ejectclosecdtray.codeplex.com/
For those interested to backup the ENTIRE file system for an iOS device, here’s how to do it.
Requirements
- Jailbroken phone
- OpenSSH installed (via cydia)
- DD utility on your pc (linux native)
- ssh client on your pc (linux native)
Steps
- Make sure you can ping your iphone (Settings -> General -> About to get your phone’s IP Address)
- Make sure you can ssh to your iphone (from your pc, type ssh root@[iphone ip])
If you get a prompt asking you to save some key its alright, just type yes
- from your PC, run the following command
ssh root@[iphone ip] dd if=/dev/rdisk0s1 bs=1M | dd of=ios-root.img
ssh root@[iphone ip] dd if=/dev/rdisk0s2s1 bs=1M | dd of=ios-user.imgssh root@[iphone ip] – ssh client on pc connects to ssh server on iphone
dd if=/dev/rdisk0 bs=1M – execute dd command with input file =/dev/rdisk0 and block size of 1M
| – pipe to redirect input to the next command
dd of=ios.img – run dd on the pc with output file=ios.img
this command will take a while depending on your iphone and wifi speed
For some wierd reason, although the steps are simple, i cannot easily find a single page which gives you the exact steps (only 4) to convert a pfx file to a PEM and a KEY file
below are the steps to convert, it will generate an aa_s.key and a aa.pem which you can then use to put into your system e.g apache, hmailserver etc
REM Set the path to include the openssl directory
set path=%path%;C:\OpenSSL\bin;
REM Export the private key
openssl pkcs12 -in aa.pfx -out aa.key -nocerts -nodes
REM take out the encryption from the private key
openssl rsa -in aa.key -out aa_s.key
REM export the ssl cert (normal cases)
openssl pkcs12 -in aa.pfx -out aa.pem -nokeys -clcerts
REM export the ssl cert (Crescendo load balancers)
openssl pkcs12 -in a.apfx -out aa_tmp_cn.pem -nodes
openssl x509 -in aa_tmp_cn.pem -out aa_cn.pem -text
REM Verification: run the following 2 commands, the output should be exactly the same
openssl x509 -noout -modulus -in aa.pem | openssl md5
openssl x509 -noout -modulus -in aa_cn.pem | openssl md5
openssl rsa -noout -modulus -in aa_s.key | openssl md5
Done!
Click here to get a hotmail.sg email address, something new other than the usual hotmail.com, finally you can get a chance to have an email address with a better name than what you had to bear with using hotmail.com!
Here’s the steps on how to remove the U3 Partition completely from Sandisk Drives
- Launch U3
- Click on the U3 Icon
- Click U3 Launchpad Settings
- Click Uninstall
Done
This post aims to highlight the differences between the cache implementation of HttpRunTime and EnterpriseLibrary
After much ado, the source code for Nexus is finally available at http://www.codeplex.com/nexus
Do note that this is a direct port from the current source code used in NUS but without NUS specific widgets and settings.