Nov 1, 2017 Uncategorized
Permission denied (publickey) with ssh/git
When git or ssh is complaining:
Read the rest of this entry »
Nov 1, 2017 Uncategorized
When git or ssh is complaining:
Read the rest of this entry »
Jul 16, 2017 Sql, Uncategorized
Postgresql way to add incremental id:
Read the rest of this entry »
Steps for installing postgresql server and make it accessible from remote clients.
Read the rest of this entry »
Jul 1, 2017 Linux
How to create a bookmark/shortcut file for ssh.
Read the rest of this entry »
Jul 1, 2017 Linux
How to install “Let’s encrypt” ssl on vps.
Read the rest of this entry »
1a. Install desktop environment and vnc server
sudo apt install xfce4 xfce4-goodies tightvncserver
Apr 18, 2016 Linux
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 Linux
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 server, virtualbox
When rdp fails to connect to virtualbox, after installing the extension pack.
Check in virtualbox preference -> extensions
Most likely 2 packs are installed:
run command below to set the correct extension pack for rdp:
VBoxManage setproperty vrdeextpack "Oracle VM VirtualBox Extension Pack"
Eclipse looks horrible in Linux.
Apply steps below to make it more appealing … Read the rest of this entry »