Posts

Showing posts from February, 2014

Windows Repair (All In One)

Image
Tweaking.com - Windows Repair is an all-in-one repair tool to help fix a large majority of known Windows problems including registry errors and file
permissions as well as issues with Internet Explorer, Windows Update, Windows Firewall and more. Malware and installed programs can modify your default settings. With Tweaking.com - Windows Repair you can restore Windows original settings.



Batch image resize in linux

yum install imagemagick

# resize all images to half of its original size.
for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done

# resize all images and at the same time convert as gif format
for i in $( ls *.jpg); do convert -resize 50% $i $i.gif; done

Replicating AWS RDS MySQL databases to external slaves

Source: Soenke Ruempler
http://www.ruempler.eu/2013/07/07/replicating-aws-rds-mysql-databases-to-external-slaves/

Successfully archived by this way

Change RDP port on Amazon EC2

Image
1. Configure your Security Group and allow inbound access to the custom port you want to use for RDP (e.g. 1234). You can get more information about the Security Groups here.



2. Configure Windows Firewall, run following command if you have admin access.
netsh advfirewall firewall add rule name=“Custom RDP Port“ dir=in action=allow protocol=TCP localport=8888
3. To change the port that Remote Desktop listens on, follow these steps.
Start Registry Editor. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber On the Edit menu, click Modify, and then click Decimal. Type the new port number(7777 in our case), and then click OK. Quit Registry Editor. Restart the computer.