January, 2012
Clean your Windows
CCleaner is a system optimization, privacy and cleaning tool. It removes unused files from your system – allowing Windows to run faster and freeing up valuable hard disk space. It also cleans traces of your online activities such as your Internet history. Additionally it contains a fully featured registry cleaner. There is a free version of [...]
Configure Linux ip address, netmask and gateway
Change ip address of network interface card: ifconfig eth0 192.168.1.5 Change netmask of network interface card: ifconfig eth0 netmask 255.255.255.0 How to bring up the network interface card: ifconfig eth0 192.168.1.5 up How to bring down the network interface card: ifconfig eth0 down How to change default gateway: route add default gw 192.168.1.10
Defrag your entire hard drive or individual files
Defraggler is a program to defrag your entire hard drive, or individual files. It supports NTFS and FAT32 file systems. There is a free version. Download it from here. Defraggler needs administrative rights to defrag an entire hard drive in Windows 7. You can replace your default Windows 7 defragment tool with defraggler if you [...]
Create Backup in Windows using WbAdmin
There is a great tool in Windows to make backups, create scheduled backups and more. It’s name is WbAdmin. For example: To perform a backup of c:\dir1 to volume d: wbadmin start backup –backupTarget:d: -include:c\dir1 –systemstate -vsscopy
Find the biggest files and directories
To find biggest files in current directory: ls -lSrh To find biggest .bak files in current directory: ls -lSrh *.bak To find largest directories (this command takes a while – wait to finish): du -kx | egrep -v "\./.+/" | sort -n
Transferring files with sFTP
You should not use ftp protocol. You already know this. But you are still using it! Stop doing it! At least, use sftp. How to use it? 1. Connect to host – open a new session: sftp myhost.com 2. Upload a file: cd /home/username/myserverdocs put myfile.xyz 3. Download a file: get myfile.xyz 4. Download multiple [...]
Transferring files with SCP
Copy files between systems through ssh using scp command line tool. Upload file scp local_filename username@hostname:/path/to/filename Download file scp username@hostname:/path/to/filename local_filename Upload directory scp -r local_directoryname username@hostname:/path/to/directoryname Download directory scp -r username@hostname:/path/to/directoryname local_directoryname
Backup your server files easily with rsync
If you would like to back up a directory on your server and copy only changed files to your local machine, you can use the rsync tool. Just issue the following command: rsync -vare ssh username@myserver.com:/home/username/myfiles/* /home/username/myserverbackups/ That’s it!
Setting Up Your Android Development Environment
1. Confirm that your computer meets the System Requirements. 2. Download and install eclipse ide classic. 3. Download the Android SDK Package. 4. Install the ADT Plugin for Eclipse. You can find here a step-by-step installation guide. After restarting your eclipse, a window will be shown up asking you to install sdk platform tools and [...]
Configuring windows firewall from the command line
To configure Windows firewall from the command line, you have to open the cmd with administrative rights. Default Rule To deny all incoming connections and allow all outgoing connections: netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound Enable or Disable firewall To enable firewall: netsh advfirewall set allprofiles state on or netsh firewall set opmode enable To [...]