coffee | water | time started | time finished | cups | flavor |
---|---|---|---|---|---|
16g | 1/2 cup | 15:30 | 10:30 | 2 | soft |
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
#!/usr/bin/python3 | |
import sys | |
import json | |
import readline | |
with open('recipes.json', 'r') as f: | |
recipes = json.load(f) | |
class autoComplete(object): |
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
Error detected while processing function vimwiki#base#normalize_link[3]..vimwiki#markdown_base#normalize_link[8]..<SNR>55_normalize_link_syntax_v: | |
line 11: | |
E117: Unknown function: Safesubstitute | |
E15: Invalid expression: Safesubstitute(g:vimwiki_Weblink1Template, '__LinkUrl__', visual_selection, '') | |
Error detected while processing function vimwiki#base#normalize_link[3]..vimwiki#markdown_base#normalize_link: | |
line 8: | |
E171: Missing :endif | |
Error detected while processing function vimwiki#base#normalize_link: | |
line 3: | |
E171: Missing :endif |
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
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() |
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
# 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 |
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
**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)** |
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 | |
# 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;; |
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
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') |
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
# 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}} |
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
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 |