- Set VNC password:
sudo x11vnc -storepasswd [YOUR VNC PASSWORD] /etc/x11vnc.passwd
- Install Systemd Unit File
sudo cp [path to]/vnc.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable vnc.service
############################################################################################### | |
# LAMP setup for Ubuntu 16.04 Server # | |
# Apache + PHP + Percona # | |
############################################################################################### | |
# Update and prepare server | |
apt update; apt -y upgrade | |
apt -y install nano sudo curl wget git dnsutils lynx | |
sudo hostname srv.zdb.bz | |
sudo service hostname start |
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
<?xml version='1.0' encoding='utf-8'?> | |
<?grc format='1' created='3.7.13'?> | |
<flow_graph> | |
<timestamp>Sun May 19 19:22:59 2019</timestamp> | |
<block> | |
<key>options</key> | |
<param> | |
<key>author</key> | |
<value></value> | |
</param> |
As configured in my dotfiles.
start new:
tmux
start new with session name:
import numpy as np | |
import seaborn as sns | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
sns.set() | |
sps = 3.75e6 | |
samples_per_us = sps*1e-6 | |
max_range_us = samples_num/samples_per_us |