I hereby claim:
- I am tsfoster on github.
- I am tsfoster (https://keybase.io/tsfoster) on keybase.
- I have a public key ASDicVgV0WCLbyqBXWbtPa_u_LAZ5l6zL6PahTKBacEjogo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
ELM_JSON_VERSION="$(jq -r .version elm.json)" | |
PACKAGE_JSON_VERSION="$(jq -r .version package.json)" | |
if [ $ELM_JSON_VERSION != $PACKAGE_JSON_VERSION ]; then | |
echo "Version in elm.json ($ELM_JSON_VERSION) does not match version in package.json ($PACKAGE_JSON_VERSION)" | |
if [ -n "$(git status --porcelain package.json)" ]; then | |
echo "Cannot fix package.json as it contains unstaged changes" >&2 | |
exit 1 |
/* | |
Requirements: | |
* iTerm | |
* nvim | |
* nvr | |
Install: | |
1. New application in Automator | |
2. Add Run JavaScript action |
let scrollstep = 100 | |
let hintcharacters = "asdfjkl" | |
let homeurl = "about:blank" | |
let mapleader = "space" | |
let blacklists = ["*://www.fastmail.com/*","*://mail.google.com/*","*://docs.google.com/*","*://*feedbin.com/*","*://www.babbel.com/*","*://*trello.com/*","*://www.codewars.com/*","*://www.shortcutfoo.com/*","*://getpocket.com/*","*://*netflix.com/*","*://app.youneedabudget.com/*", "*://codepen.io/*","*://duckduckgo.com/*","*://www.youtube.com/watch?*","https://ellie-app.com/*"] |
@-webkit-keyframes fadein { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} | |
} | |
#sVim-command { |
#cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar { | |
font-family: "Triplicate T4p"; | |
font-size: 17px !important; | |
-webkit-font-smoothing: antialiased !important; | |
} | |
#cVim-link-container { | |
position: absolute; | |
pointer-events: none; |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Settings | |
" -------- | |
set noautofocus | |
set cncpcompletion | |
set linkanimations | |
set dimhintcharacters | |
set typelinkhints | |
set smartcase | |
let hintcharacters = "asdfjkl" |
class BatchItemProcessor | |
attr_accessor :processed_items | |
def initialize | |
reset | |
end | |
def process_items items | |
items.each do |item| | |
[email protected](item) |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
class TaxCalculator | |
INFINITY = 1.0/0.0 | |
DEFAULT_RATES = { | |
0.0...9440.0 => 0.0 , | |
9440.0...32010.0 => 0.2 , | |
32010.0...150000.0 => 0.4 , | |
150000.0..INFINITY => 0.45 |