This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filetype indent plugin on | |
set autoindent | |
set visualbell | |
set mouse=a | |
set number | |
set pastetoggle=<F10> | |
let g:vim_markdown_folding_disabled=1 | |
" Don't try to be vi compatible | |
set nocompatible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=ntopng | |
After=mysql.service | |
[Service] | |
Type=simple | |
ExecStartPre=/bin/mkdir -p /var/run/ntopng | |
ExecStartPre=/bin/touch /var/run/ntopng/ntopng.pid | |
ExecStartPre=/bin/chmod 777 /var/run/ntopng | |
ExecStartPre=/bin/chmod 777 /var/run/ntopng/ntopng.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"device_name": "?", | |
"listening_port" : 0, // 0 - randomize port | |
/* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in the directory | |
where binary is located. otherwise user-defined directory will be used */ | |
"storage_path" : "/scratch/resilio", | |
"directory_root" : "/scratch/resilio", | |
/* set location of pid file */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=resilio sync | |
[Service] | |
Type=forking | |
ExecStartPre=/bin/mkdir -p /var/run/resilio | |
ExecStartPre=/bin/touch /var/run/resilio/resilio.pid | |
ExecStartPre=/bin/chmod 777 /var/run/resilio | |
ExecStartPre=/bin/chmod 777 /var/run/resilio/resilio.pid | |
ExecStart=/bin/su -c '/home/<user>/resilio/rslsync --config /home/<user>/resilio/resilio.conf' <user> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/ { | |
compatible = "xlnx,zynq-7000"; | |
#address-cells = <0x1>; | |
#size-cells = <0x1>; | |
interrupt-parent = <0x1>; | |
model = "Xilinx Zynq ZED"; | |
aliases { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xrdb $HOME/.Xresources | |
autocutsel -fork | |
startxfce4 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ | |
set -g mouse on | |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate/43666288#43666288 | |
if [ -z "$1" ] | |
then | |
echo "Please supply a subdomain to create a certificate for"; | |
echo "e.g. www.mysite.com" | |
exit; | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate/43666288#43666288 | |
if [ -z "$1" ] | |
then | |
echo "Please supply a subdomain to create a certificate for"; | |
echo "e.g. www.mysite.com" | |
exit; | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
authorityKeyIdentifier=keyid,issuer | |
basicConstraints=CA:FALSE | |
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = %%DOMAIN%% |
OlderNewer