CCCPaste

Windows send message to all users

#https://technet.microsoft.com/en-us/library/cc771903(v=ws.11).aspx
#send message to all user on a system
msg * "Hello World"

Postfix mail server run script for address

#create new user
useradd <myusername>

#add user to mail server
vim /etc/postfix/virtual

RTL-SDR airplane locator

sudo aptitude install git libusb-1.0-0-dev libc6-dev librtlsdr-dev

#old and build false 'git clone git://github.com/MalcolmRobb/dump1090.git'

wget "https://github.com/antirez/dump1090/archive/refs/heads/master.zip"

Gnome Shell Settings

#set work spaces on second monitor
gsettings set org.gnome.shell.overrides workspaces-only-on-primary false

#show date next to clock
gsettings set org.gnome.desktop.interface clock-show-date true

Postfix mail server run script

First, go to master.cf and register your script "myhook" by adding the following line:

myhook unix - n n - - pipe flags=F user=www-data argv=/path/to/script.sh ${sender} ${size} ${recipient}

Also, edit smtp line to tell Postfix to run the filter for any mail arriving via the SMTP delivery:

Postfix mail server setup

#http://www.tecmint.com/setup-postfix-mail-server-in-ubuntu-debian/
apt update && apt upgrade -y
apt-get install -y postfix bsd-mailx dovecot-imapd dovecot-pop3d procmail
#internet facing
service postfix restart

Postfix mail server catchall

This is called a "catch all"

Mapping is done using /etc/postfix/virtual file.

vim /etc/postfix/virtual

Gnome Shell CSS Titlebar 2016

headerbar.default-decoration {
padding-top: 0px;
padding-bottom: 0px;
min-height: 0px;
font-size: 0.6em;

VIM plugins with pathogen

#https://www.howtoforge.com/tutorial/vim-editor-plugins-for-software-developers/

mkdir -p ~/.vim/autoload
mkdir -p ~/.vim/bundle

Ressource allocation example

library(lpSolveAPI)
library(doParallel)
library(foreach)
library(compiler)
#library(datamart)