bugged.be

"Think outside the [B0X]"
Icon

» Dev notes

sample table for postgresql

Postgresql way to add incremental id:

Read the rest of this entry »

installing postgresql on ubuntu

Steps for installing postgresql server and make it accessible from remote clients.

Read the rest of this entry »

ssh shortcuts ‘bookmark’

How to create a bookmark/shortcut file for ssh.

Read the rest of this entry »

Let’s encrypt with vps

How to install “Let’s encrypt” ssl on vps.

Read the rest of this entry »

Install tight vnc server

1a. Install desktop environment and vnc server

sudo apt install xfce4 xfce4-goodies tightvncserver

Read the rest of this entry »

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

“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

 

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"

Fix eclipse (kepler) ui in linux (mint)

Eclipse looks horrible in Linux.
Apply steps below to make it more appealing …

Read the rest of this entry »

install java 8

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Calendar

September 2019
M T W T F S S
« Nov    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives