Monday, May 09, 2016

Sunday, May 08, 2016

Scallion on Ubuntu 16.04: The predefined type `System.Object' is not defined

Compile scallion on Ubuntu 16.04 xbuild scallion.sln /p:TargetFrameworkVersion="v4.5" Without 4.5 target, geting following error: CSC: error CS0518: The predefined type `System.Object' is not defined

Friday, May 06, 2016

Arch Linux: FAILED unknown public key

gpg --keyserver --recv-keys KEY More here:

Thursday, May 05, 2016

eschalot example: ./eschalot -vct4 -r "^block[s|z]"

Ubuntu 16.04: Tmux mouse scrolling

add to ~/.tmux.conf set -g mouse on
q to exit scroll mode.

Tuesday, May 03, 2016

Ubuntu16:04: Matlab cant change font size on plots

xorg fonts need to be installed. sudo apt install xfonts-100dpi xfonts-75dpi

Monday, May 02, 2016

Terminator: Set size and position in a config file

Example config file location: /home/mwo/.config/terminator/config

Example content [global_config]
parent = window0
profile = default
type = Terminal
parent = ""
type = Window
size = 2000, 500
position = 420:900

Wednesday, April 20, 2016

Ubuntu 16.04 and Matlab 2016a: MATLAB has encountered an internal problem and needs to close

There is some problem with matlab UI GPU-based rendering on nvidia as this is causing this problem
Stack Trace (from fault):
[ 0] 0x00007f5bbc4a024d /usr/lib/nvidia-361-updates/

The workaround is to launch matlab without GPU rendering: opt/MATLAB/R2016a/bin/matlab -softwareopengl

Thursday, April 14, 2016

Ubuntu: ssh to tor server

On the server:

Add this to /usr/tor/torrc HiddenServiceDir /var/lib/tor/sshd/
HiddenServicePort 22

Restart tor sudo service tor restart
Onion hostname file for the ssh service should be created sudo cat /var/lib/tor/sshd/hostname
Take note of the hostname
On the client:
Have tor browser running on the client.

Add this to ~/.ssh/config: host hidden hostname your_onion_hostname.onion
proxyCommand nc -x %h %p

Wednesday, April 13, 2016