Skip to content

Instantly share code, notes, and snippets.

View ldgregory's full-sized avatar

Leif Gregory ldgregory

View GitHub Profile
@ldgregory
ldgregory / testgtopb.txt
Last active December 29, 2018 02:19
test script
#! /bin/bash
###Leif Gregory <leif@devtek.org>
###Fake script
###If you're reading this on $paste..bin, then somehow emailing the link to
###a G..Mail account causes it to get posted to paste..bin.
#Usage <scriptname> [option1 | option2]
#i.e. this_script option1
@ldgregory
ldgregory / psad4conky.txt
Last active December 28, 2018 23:18
psad4conky
#! /bin/bash
### Leif Gregory leif@devtek.org
### GPG: 0x5E5D2700
### 20180809
### This script is meant to be called from /etc/psad/psad.conf as:
### ENABLE_EXT_SCRIPT_EXEC Y;
### EXTERNAL_SCRIPT <path/to/this_script>;
### EXEC_EXT_SCRIPT_PER_ALERT Y;
@ldgregory
ldgregory / conkyrc.txt
Last active December 28, 2018 23:32
Conkyrc
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
color2 = 'white',
color3 = '6600FF',
color4 = 'red',
cpu_avg_samples = 2,
default_color = '6666FF',
default_outline_color = 'white',