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 | |
#download latest chromium for mac build | |
#James Rubingh ephesus@gmail.com | |
URL="http://build.chromium.org/buildbot/snapshots/chromium-rel-mac" | |
if ! which wget >/dev/null; then | |
echo "You need wget installed" | |
exit 1 | |
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/sh | |
# | |
# Dump databases when switching branches | |
# James Rubingh | |
# ephesus@gmail.com | |
# To enable: export PCD_ENABLE=1 | |
# To disable: unset PCD_ENABLE | |
# environment variables |
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
; Black and white Sprite drawing to $FC00 4x4 wide | |
; For ti-85 or ti-86 calculators. (mmapped black white display at $fc00, 16 byte wide rows) | |
; IX = pointer to Sprite Data | |
; B = X coordinate | |
; C = Y coordinate top left corner is 0,0 | |
;by James Rubingh 2000 | |
.include asm86.h |
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
This patch is originally from http://chrootlabs.org/ | |
updated to use homebrew's library path instead of creating directories | |
in $HOME |
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 | |
# assumes installed janus https://github.com/carlhuda/janus | |
#install vim with homebrew | |
brew install macvim --override-system-vim --with-python3 | |
ln -s /usr/local/bin/mvim /usr/local/bin/vim | |
#make sure /usr/local/bin is before /usr/bin in $PATH | |
echo "let mapleader = \",\"" >> .vimrc.before | |
echo "imap jj <esc>" >> ~/.vimrc.after |
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
;86 Gray Scale routine by Dux Gregis | |
;Edited by James Rubingh to stay off swapable pages | |
;This makes it so that you can have a grayscale routine running | |
;load a picture from a seperate | |
;string file. rst 20h \ rst 10h will not cause this routine to | |
;crash like most other routines that use areas between 8000-BFFF | |
Gray1 = $Fc00 | |
Gray2 = $cA00 |
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
#include "pakin.h" | |
.org _asm_exec_ram | |
nop | |
jp ProgStart | |
.dw 0 | |
.dw ShellTitle | |
ShellTitle: |
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 | |
IPT=/sbin/iptables | |
# Flush old rules, old custom tables | |
echo " * flushing old rules" | |
$IPT --flush | |
$IPT --delete-chain | |
$IPT -t nat -F |
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 | |
IPT=/sbin/iptables | |
ETH=enp6s0 | |
WLAN=wlp0s26u1u6 | |
modprobe rt2800usb | |
sleep 2 | |
ifconfig $WLAN 10.0.0.1 netmask 255.255.255.0 |
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
$ brew update && brew upgrade | |
$ brew install tinyproxy | |
$# Most firewalls allow http CONNECT over port 443 to allow https, so run tinyrpoxy on 443 | |
$ cat > /usr/local/Cellar/tinyproxy/1.8.3/etc/tinyproxy.conf <<EOF | |
User nobody | |
Group nobody | |
Port 443 | |
Timeout 600 | |
DefaultErrorFile "/usr/local/Cellar/tinyproxy/1.8.3/share/tinyproxy/default.html" | |
StatFile "/usr/local/Cellar/tinyproxy/1.8.3/share/tinyproxy/stats.html" |
OlderNewer