I hereby claim:
- I am thatarchguy on github.
- I am thatarchguy (https://keybase.io/thatarchguy) on keybase.
- I have a public key whose fingerprint is CF4D B237 9F55 4EFA A524 3DE8 DCB3 3F2E 36B3 16F3
To claim this, I am signing this object:
-- add this to your rc.lua, or include it as a dependency | |
-- Don't forget to add this to the layout section: | |
-- right_layout:add(vpnwidget) | |
vpnwidget = wibox.widget.textbox() | |
vpnwidget:set_text(" VPN: N/A ") |
/* | |
nodejs | |
Clone all starred repositories | |
Planned on running this on a cron to clone/pull repos I have starred. | |
Right now can only do the first 30 because of github api limit. | |
Need to paginate! |
# You should edit this script to your liking. In its current form, | |
# it will take an original mysqld.cnf and merge the rds parameters with it. | |
# Comment out that stuff and you can easily just print the rds config as "param = value". | |
import json | |
from ConfigParser import SafeConfigParser | |
# aws rds describe-db-parameters --db-parameter-group-name my-param-group > rds.json | |
with open('rds.json', 'r') as json_file: |
#!/bin/bash | |
# | |
# This is sp, the command-line Spotify controller. It talks to a running | |
# instance of the Spotify Linux client over dbus, providing an interface not | |
# unlike mpc. | |
# | |
# Put differently, it allows you to control Spotify without leaving the comfort | |
# of your command line, and without a custom client or Premium subscription. | |
# |
bind "TAB" "+ng"; | |
alias "+ng" "+showscores; net_graph 1"; | |
alias "-ng" "-showscores; net_graph 0"; | |
alias "+ujumpthrow" "+jump;-attack" | |
alias "-ujumpthrow" "-jump" | |
rate "128000" | |
cl_cmdrate "128" | |
cl_updaterate "128" |
<?php | |
/** | |
* GIT DEPLOYMENT SCRIPT | |
* | |
* Used for automatically deploying websites via github or bitbucket, more deets here: | |
* | |
* https://gist.github.com/1809044 | |
* | |
* Edited for Cpanel use | |
*/ |
#! /usr/local/bin/node | |
var fs = require('fs'), | |
request = require('request'), | |
readline = require('readline'); | |
var request = request.defaults({jar: true}), | |
rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Kevin Law | |
# prepare iptables and start snort based on wlan0 address | |
# Used for portable raspi firewall/ips | |
# Get ip in CIDR notation for wlan0 interface | |
LOCALIP=`ip addr show |grep -w inet |grep -v 127.0.0.1|grep -v 10.11.12.13|awk '{ print $2}'` | |
# Edit the snort conf to have that ip | |
sed -i '/DEBIAN_SNORT_HOME_NET/d' /etc/snort/snort.debian.conf |
#!/bin/bash | |
usage() | |
{ | |
cat << EOF | |
usage: $0 options | |
Find yara rules in github repositories | |
OPTIONS: | |
github repo url | |
ex. gitgrab.sh https://github.com/someguy/reponame.git |