Skip to content

Instantly share code, notes, and snippets.

View Aneurysm9's full-sized avatar

Anthony Mirabella Aneurysm9

View GitHub Profile
#!/usr/bin/env perl
use strict;
use warnings;
use File::Slurp qw/read_file/;
use Algorithm::Combinatorics qw/permutations combinations/;
use List::Util qw/max/;
use Data::Dumper;
@Aneurysm9
Aneurysm9 / .tmux.conf
Created June 28, 2017 21:22
Basic screen-like tmux config with vim-like movements
# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix
# Bind appropriate commands similar to screen.
# lockscreen ^X x
unbind ^X
bind ^X lock-server
unbind x

Keybase proof

I hereby claim:

  • I am Aneurysm9 on github.
  • I am aneurysm9 (https://keybase.io/aneurysm9) on keybase.
  • I have a public key whose fingerprint is 53EC 6936 3441 3949 D3B8 74C1 5F72 3328 D12A 7EBA

To claim this, I am signing this object:

var opcodes = [22]func(uint16) uint16{
0: func(addr uint16) uint16 {
if debug {
fmt.Printf("%d\thlt\n", addr)
}
return HALT
},
@Aneurysm9
Aneurysm9 / keybase.md
Created April 24, 2014 21:59
Keybase Verification

Keybase proof

I hereby claim:

  • I am aneurysm9 on github.
  • I am aneurysm9 (https://keybase.io/aneurysm9) on keybase.
  • I have a public key whose fingerprint is 1CD9 342C 253C FBD0 7C53 C80A 3F91 DB3C 9AAC D9AC

To claim this, I am signing this object:

function map_array()
{
$names = array('Foo', 'Bar', 'Baz', 'Buzz');
$tweeps = array();
foreach ($names as $name) {
$tmp = new StdClass;
$tmp->name = $name;
$tmp->age = rand(2,7);
@Aneurysm9
Aneurysm9 / .tmux.conf
Created April 9, 2012 14:22
tmux Config
# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix
# Bind appropriate commands similar to screen.
# lockscreen ^X x
unbind ^X
bind ^X lock-server
unbind x