I hereby claim:
- I am claytron on github.
- I am claytron (https://keybase.io/claytron) on keybase.
- I have a public key whose fingerprint is EDF7 946A 1F6F 1CBF F55D 9E3F 5098 437C 05A9 EEB5
To claim this, I am signing this object:
*.csv* |
def human_time(t) | |
mm, ss = t.divmod(60) | |
hh, mm = mm.divmod(60) | |
dd, hh = hh.divmod(24) | |
"#{dd}d #{hh}h #{mm}m #{ss}s" | |
end | |
# Default attempts is 25 | |
max_attempts = ARGV[0] ? ARGV[0].to_i : 25 | |
cumulative_time = 0 |
# My defaults for FZF (mostly changed to see hidden files) | |
export FZF_DEFAULT_COMMAND='find -L . -type f -o -type d -o -type l | sed 1d | cut -b3- | grep -v -e .git/ -e .svn/ -e .hg/' | |
export FZF_CTRL_T_COMMAND=$FZF_DEFAULT_COMMAND | |
# Enhance the default experience | |
export FZF_DEFAULT_OPTS='--extended --multi --inline-info --prompt="fzf> "' |
" Use 'ffr' in normal mode to start it | |
nmap ffr :MRUFilesCWD<CR> | |
" MRU handling, limited to current directory | |
command! MRUFilesCWD call fzf#run({ | |
\ 'source': s:mru_files_for_cwd(), | |
\ 'sink': 'edit', | |
\ 'options': '-m -x +s --prompt=MRU:'.shellescape(pathshorten(getcwd())).'/', | |
\ 'down': '40%' }) |
#!/usr/bin/env bash | |
# Example output: | |
# | |
# Metrics/PerceivedComplexity | |
# Min: 8 Max: 96 Average: 14.628342 | |
cops=( | |
Metrics/AbcSize | |
Metrics/ClassLength |
#!/usr/bin/env ruby | |
hits = [] | |
checks = { | |
#'_spec\.rb$' => ['focus:[:space:]*true'], | |
'\.rb$' => ['binding\.pry', 'debugger'] | |
} | |
# Find the names of all the filenames that have been (A)dded (C)opied or (M)odified | |
filenames = `git diff --cached --name-only --diff-filter=ACM`.split("\n") |
## Settings in Clearly plugin | |
Body font: Droid Sans | |
Header font: Ubuntu | |
Monospace font: Inconsolata | |
Background Color: #002b36 | |
Foreground Color: #839496 | |
Links Color: #b58900 | |
Base font size: 22pt | |
Line height: 1.4em | |
Line width: 32em |
# | |
# How to install automatically Oracle Java 7 under Salt Stack | |
# | |
# Thanks Oracle for complicating things :( | |
# | |
# 1. Create a java/ folder in your salt master | |
# 2. Paste this file in init.sls | |
# 3. salt '*' state.sls java | |
# | |
# Source: |
I hereby claim:
To claim this, I am signing this object:
Could not create label Bug | |
Could not create label Feature | |
Could not create label toolbar | |
Loaded issues 1 29 | |
Loaded issues 2 0 | |
Importing issue Personal-tools should come last in the DOM of the toolbar (127) | |
Successfully created issue Personal-tools should come last in the DOM of the toolbar (45) | |
Successfully imported comments in Personal-tools should come last in the DOM of the toolbar (45) | |
Importing issue Upon edit success, page should reload if #portal-column-content is not found (126) |