Jul 16, 2017
» Dev notes
Jul 16, 2017
installing postgresql on ubuntu
Jul 1, 2017
ssh shortcuts ‘bookmark’
Jul 1, 2017
Let’s encrypt with vps
Oct 9, 2016
Install tight vnc server
Apr 18, 2016
Launch shell ui with root
Edit the application.desktop file. Change this line from:
Exec=/opt/atom/atom %F
to
Exec=gksudo -k -u root /opt/atom/atom %F
Desktop files are usually located in:
/usr/share/applications/*.desktop
Sep 28, 2015
“Quick” compare directory contents
1. Create md5 hash for all files and both directories:
md5deep -r -l aDirectory/* > md5.txt
or for older versions:
hashdeep -c md5 -r -l aDirectory/* > md5.txt
Output between the two are different!
2. Sort both files:
sort md5.txt > md5_sorted.txt
3. Compare both files:
diff md5_sorted1.txt md5_sorted2.txt
Feb 27, 2015
Virtualbox connection error
When rdp fails to connect to virtualbox, after installing the extension pack.
Check in virtualbox preference -> extensions
Most likely 2 packs are installed:
- VNC
- Oracle VM VirtualBox Extension Pack
run command below to set the correct extension pack for rdp:
VBoxManage setproperty vrdeextpack "Oracle VM VirtualBox Extension Pack"
Aug 6, 2014
Fix eclipse (kepler) ui in linux (mint)
Mar 20, 2014
install java 8
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer