Skip to content

Instantly share code, notes, and snippets.

View sinistamunkey's full-sized avatar
🥚

Gary Prescott sinistamunkey

🥚
View GitHub Profile
unbind C-b
set -g prefix C-a
bind a send-prefix
set -g base-index 1
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
@sinistamunkey
sinistamunkey / toolkit.sprak
Last active October 26, 2023 16:25
Else Heart.Break() tool kit
var weather = Connect("MeteorologyServer")
var doors = Connect("SteeringComputer")
var locator = Connect("MissingPersonFinder")
var playstation = Connect("LongsonPlaystation")
var extractor = Connect("Extractor")
var teleporter = Connect("Teleporter")
var hugin = Connect("Hugin")
# Unlock()
# Lock()
@sinistamunkey
sinistamunkey / craig_david.py
Last active June 10, 2021 07:55
Craig David schedule generator
#!/usr/bin/env python
from datetime import datetime
class CraigDavid(object):
def __call__(self, day):
day = day.lower() if day else ''
if day == 'monday':
@sinistamunkey
sinistamunkey / python.json
Last active April 19, 2021 13:32
VSCode snippets - Python
{
"test_case": {
"prefix": "test_case",
"body": [
"class Test${1:class_name}(object):",
"",
" def test_${2:does_thing}(self):",
" assert False"
],
"description": "Creates a stub test case"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.0</real>
@sinistamunkey
sinistamunkey / random_riker.py
Last active April 22, 2020 07:55
A homage to Jonathan Frakes - asking you things
#!/usr/bin/env python
from typing import List
import random
QUESTIONS = [
"Have you ever had the desire to write your initials in wet cement?",
"Ever gone mountain biking?",
"What do ya wanna be when you grow up?",
"What's the right tip?",
"Have you called a plumber to your home lately?",