Skip to content

Instantly share code, notes, and snippets.

View shmup's full-sized avatar
🐌

Jared Miller shmup

🐌
View GitHub Profile
@shmup
shmup / v description
Created March 4, 2011 10:01
v, a wrapper for vim
My friend just created a wrapper for vim and I think you'll love it. v is a bash
script/vim wrapper that uses viminfo to list files previously edited in vim. In
addition, you can easily open the last edited file or a particular file from the
list witha few strokes.
=================================================
https://github.com/rupa/v
=================================================
@shmup
shmup / crawl.pl
Last active October 11, 2015 22:57
DCSS Bot Repeater
#!/usr/bin/env perl
use strict;
use Irssi;
use warnings;
use vars qw($VERSION %IRSSI);
$VERSION = '1.00';
%IRSSI = (
authors => 'Jared Tyler Miller',
@shmup
shmup / .inputrc
Created November 10, 2012 04:46 — forked from gregorynicholas/.inputrc
OSX .inputrc to make terminal way better. and by better i mean i'm naked
# Two escapes clear command line.
"\e\e": "\C-a\C-k"
# Tab to menu complete
"\t": menu-complete
# Incremental searching with Up and Down and Left and Right
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e\e[C": forward-word
@shmup
shmup / Reverse Scrolling AutoHotKey
Created November 28, 2012 20:31
AHK script to reverse the direction of scrolling, much like OS X did to emulate scrolling on an iPad or iPhone.
; Reverse Scrolling Script
#MaxHotkeysPerInterval 200
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
WheelUp::
Send {WheelDown}
Return
@shmup
shmup / spacewar.lst
Created December 11, 2012 13:17 — forked from JonnieCache/spacewar.lst
Spacewar PDP1 Source Code
-/macro fio-dec system, june 1963
007652 640500 szm=sza sma-szf
007652 650500 spq=szm i
007652 761200 clc=cma+cla-opr
- define senseswitch A
- repeat 3, A=A+A
- szs A
- term
- define init A,B
- law B
movies
television
/Volumes/megafauna/hollywood//.TemporaryItems/folders.501:
/Volumes/megafauna/hollywood//movies:
3 Idiots.srt
Airplane.mp4
Alice 1.mkv
Alice 2.mkv
#!/bin/bash
#
# Removes the Bing logo from Satellite Eyes wallpapers
#
# Delete the Bing logo image
rm -f /Applications/Satellite\ Eyes.app/Contents/Resources/bing-logo.png
# Clear the map cache
rm -f ~/Library/Application\ Support/Satellite\ Eyes/map-*.png
@shmup
shmup / gist:4312285
Created December 16, 2012 20:10
Ask HN: What unknown technical blogs or sites do you read?
I'll keep the links below updated.
@shmup
shmup / gist:4464419
Created January 6, 2013 00:04
A simple brainfuck interpretor in Lua.
program = [[ >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-
]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+
++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.]]
p, counter, marker = 0, 1, 1
cells = {}
for i = 1, 30000 do
cells[i] = 0
end
...#.....................┌─────┐PICK UP Wgt 565/187 Vol 92/2
.........................│.....│a + human corpse of Maria Walker
.........................│.....│b + cheap lighter (100)
.........................│──+..│c + 00 shot (25)
.........................│.....│d + codeine (10)
.........*......#........│.....│e + Adderall (10)
.........................└─────┘f + Prozac (15)
.........................HEAD: g + tramadol (10)
......*.................. *** h + M79 launcher
.........................TORSO: i + mininuke