Alias vs. Rsync vs. SSH

A small nifty script, to sync any folder on a local machine to a remote server, and running any command to be executed at the server e.g. in a specified folder alias sync="cd <foldertosync@local> && rsync -avP --progress -e ssh <foldertosync@local> <username>@<serveraddress>:<foldertosync@server> && ssh -X <username>@<serveraddress> -t \"cd <foldertosync@server>; bash --login\""


Manage VirtualBox VDI Container (Windows guest)

Increase size: 1. vboxmanage createhd --filename <name.vdi> --size <dest bigger than src in mb> --format VDI --variant Fixed|Standard 2. vboxmanage clonehd <src.vdi> <dest.vdi> --existing Decrease size: 1. Defragment your hard drive in Windows 2. Use sdelete (1.61) to fill empty space with 0s in Windows (sdelete -z c:) [DOWNLOAD] 3. vboxmanage createhd --filename <name.vdi> --size <dest as big as src in mb> --format VDI 4. vboxmanage clonehd <src.vdi> <dest.vdi> --existing 5. Run Gparted Live ISO in VBox to shrink your (re)partition 6. Now you've got a dynamic VDI with fixed disk partition size and the possibility to increase the space…


Jailbreak: Root almost any Android device with Mac OS

Root almost any Android device: 1. Download Android SDK: 2. Launch Android SDK Manager: cd /your-android-sdk-macosx-folder/sdk/tools ./android sdk 2.1. Install from Android SDK Manager: "Android SDK Platform-tools" 3. Check for adb and fastboot in your platform-tools folder: cd /your-android-sdk-macosx-folder/sdk/platform-tools ls   4. Download Android File Transfer: 4.1 Install Android File Transfer 5. Download Custom Recovery ClockworkMod or TWRP TeamWin Recovery ROM Download Recovery or Recovery Touch (recommended for touch-input support while jailbreaking) 6. Download SuperUser SU Download latest SuperSu Version We need the CWM installable ZIP 7. Copy ClockworkMod & SuperSU into /your-android-sdk-folder/sdk/platform-tools/ 8. Connect Android device…

1 Comment