Skip to content

Instantly share code, notes, and snippets.

View banasiak's full-sized avatar

Richard Banasiak banasiak

View GitHub Profile
@banasiak
banasiak / proxy.pac
Created February 17, 2015 18:51
PAC File
function FindProxyForURL(url, host)
{
url = url.toLowerCase();
host = host.toLowerCase();
// whole site
var site_list = [
p.ikenex.com
];
@banasiak
banasiak / blc
Last active August 29, 2015 14:13
Bash script for changing colors using Boblight
#!/bin/bash
export DISPLAY=:0.0
PID_FILE="/opt/boblight-control/blc.pid"
kill_pid() {
if [ -e "$PID_FILE" ]
then
PID=$(<"$PID_FILE")
@banasiak
banasiak / teamspeak
Created November 16, 2013 20:57
TS3 Upstart Script
#
# TeamSpeak 3 Server settings
# /etc/default/teamspeak
#
# TS3 install path
TS3_PATH="/opt/teamspeak"
# TS3 binary
TS3_BIN="ts3server_linux_amd64"