I hereby claim:
- I am raszi on github.
- I am ikaraszi (https://keybase.io/ikaraszi) on keybase.
- I have a public key ASBrx8gcdsiCXUfqvNel8z5Fyx8_kxvEE4Ws6j3YPiouVwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This gist has various tips to get your CLI tools aware of the appaerance of the system. If you terminal changes its background color from light to dark during late hours it is quite inconvenient to have the wrong colorschemes.
You can either install it with Homebrew or with npm
#!/bin/sh | |
set -e | |
TEST_DIR=$(mktemp -d) | |
pushd ${TEST_DIR} | |
git init && touch test && git add test && git commit -am 'Initial commit' | |
git checkout -b something && git checkout master && git-fresh && git checkout - |
#!/usr/bin/env ruby | |
require 'benchmark/ips' | |
Benchmark.ips do |x| | |
input = 's' * 1_000_000 | |
root = '/something/funny/is/here/' | |
root_filter = /^#{Regexp.escape(root)}/io | |
root_filter_a = /\A#{Regexp.escape(root)}/io |