Saturday, April 18, 2015

Execurting Java class from command line

Directory structure:
~\com\company\Main.class

To execute the class Main::main() function:
~\java com.company.Main


Monday, February 16, 2015

Disable Google Chrome high DPI


Add the following command line parameters to Chrome.exe launcher

chrome.exe /high-dpi-support=1 /force-device-scale-factor=1

Tuesday, February 10, 2015

Find and kill Rails or web apps on Windows OS

Find the Process ID
netstat -a -o -n to determine the pid of the process running on the used port (80, 3000, etc)


Kill that process via:

taskkill /F /pid ####

Wednesday, January 7, 2015

Install .Net 3.x on Window 8 machines


http://www.urtech.ca/2014/09/solved-cannot-install-3-5-on-windows-8-1error-0x800f0906-and-0x800f081f/

Thursday, January 1, 2015

Popular Javascript templating libraries


1. underscore
2. mustache
3. Handlebars
4. jQuery
5. Dust


Sunday, October 5, 2014

Thursday, October 2, 2014

Fix bad sectors in linux ext4 volume


fsck /dev/volume_group_name/volume_name