Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
import sys
import json
import readline
with open('recipes.json', 'r') as f:
recipes = json.load(f)
class autoComplete(object):
set background=dark
set foldenable
set foldlevelstart=0
filetype off
" Vundle stuff ----------------------------------------------------
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
# Dropdown/scratchpad terminal
for_window [instance="dropdown"] floating enable
for_window [instance="dropdown"] resize set 625 400
for_window [instance="dropdown"] move position center
for_window [instance="dropdown"] move scratchpad
exec --no-startup-id $term -name dropdown
bindsym $mod+i [instance="dropdown"] scratchpad show
**Hi! Welcome to [r/bodyweightfitness](https://www.reddit.com/r/bodyweightfitness/)' official subreddit!**
This is a place to discuss fitness mainly using your own body weight and minimal equipment. We don't shun weights and we encourage whatever methods will get you to your goals best.
### General Rules
## 1. Read the [FAQ](https://www.reddit.com/r/bodyweightfitness/wiki/faq)
If you're looking for a routine **[we have one!](https://www.reddit.com/r/bodyweightfitness/wiki/kb/recommended_routine)**
#!/bin/bash
# shortcuts for livestreamer channels and quality
twitch=http://www.twitch.tv/
# get channel from list of most watched channels
case "$1" in
santzo) channel=santzo84;;
ohn) channel=outerheaven;;
prec) channel=previouslyrecorded_live;;
set background=dark
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" " alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
@indeedwatson
indeedwatson / coffee.md
Last active April 21, 2017 14:06
coffee
coffee water time started time finished cups flavor
16g 1/2 cup 15:30 10:30 2 soft
# Pizza calculator with baker's percentage
# Features: Default master dough recipe, other recipes, mostly from
# The Pizza Bible, custom %, saving custom %
recipes = {'masterdough': {'water': 64, 'salt': 2, 'yeast': 1, 'oil': 1,
'malt': 2},
'chicago': {'water': 60, 'salt': 2, 'yeast': 0.1, 'lard': 1,
'butter': 1},
'sicilian': {'water': 70, 'salt': 2, 'yeast': 1, 'malt': 2,
'oil': 1},
'refrigerated': {'water': 70, 'salt': 2.6, 'yeast': 0.3}}
stuff = {'rope': 1, 'torch': 6, 'gold coin': 42, 'dagger': 1, 'arrow': 12}
inv = {'gold coin': 42, 'rope': 1}
dragonLoot = ['gold coin', 'dagger', 'gold coin',
'gold coin', 'ruby']
def addToInventory(inventory, addedItems):
for item in addedItems:
if item in inventory:
inventory[item] += 1