Time: 25-30 minutes.
Goal: Better back, front, and overhead squats. Very basic gymnastic conditioning.
"Limber 11" ([video][limber-11])
- Foam roll ITB, 10 passes
- Foam roll aductors, 10 passes
- Ball glutes, 30-60s each
- Bent leg cross, 5 each side
| #!/usr/bin/env ruby --disable-gems | |
| # Roll your own two-factor authentication! Place this file on a USB key, make | |
| # it executable, then run: | |
| # | |
| # two-factor --setup | |
| # | |
| # Now place each TOTP secret in its own file in the `keys/` directory. I like | |
| # to name them after the website they apply to, but any name is fine. To | |
| # generate a token, plug in your USB key and: |
Time: 25-30 minutes.
Goal: Better back, front, and overhead squats. Very basic gymnastic conditioning.
"Limber 11" ([video][limber-11])
| require 'set' | |
| require 'benchmark' | |
| begin | |
| require 'rbtree' | |
| puts "using rbtree" | |
| # https://github.com/ruby/ruby/blob/trunk/lib/set.rb#L575 | |
| rescue LoadError | |
| puts "NOT using rbtree" | |
| end |
| Thread.new do | |
| GC::Profiler.enable | |
| current_message = "" | |
| epoch = Time.now | |
| total_time = 0 | |
| gc_events = 0 | |
| heap_use = 0 | |
| heap_size = 0 | |
| fmt = "%7s %5s %15s %15s %10s" |
| #!/bin/bash | |
| set -exo pipefail | |
| BUILD_ENV=$1 | |
| if [ `uname` == 'Darwin' ]; then | |
| OSX=1 | |
| JSCOMPRESSOR="yuicompressor --type js" | |
| else | |
| OSX= |
| #!/usr/bin/env ruby | |
| require 'colorize' | |
| def pair(label, value) | |
| puts "%-15s%s" % [label, value ? "✓".green : "✗".red] | |
| end | |
| Dir['database-your-friend-m*'].each do |f| | |
| puts f |
| # Usage: | |
| # | |
| # ruby vimtype.rb | pbcopy | |
| # type text | |
| # ^D | |
| # | |
| # That outputs a map command bound to <leader>x, in vim type : then paste in | |
| # the command, :set paste, then hit <leader>x | |
| string = ARGF.read |
| package com.atlassian.stash.plugin.webook; | |
| import com.atlassian.stash.event.pull.PullRequestRescopedEvent; | |
| import com.atlassian.stash.hook.repository.AsyncPostReceiveRepositoryHook; | |
| import com.atlassian.stash.hook.repository.RepositoryHookContext; | |
| import com.atlassian.stash.nav.NavBuilder; | |
| import com.atlassian.stash.pull.PullRequestRef; | |
| import com.atlassian.stash.repository.RefChange; | |
| import com.atlassian.stash.repository.RefChangeType; | |
| import com.atlassian.stash.repository.Repository; |
| #!/bin/bash | |
| set -ex | |
| ISSUE=2165 | |
| ROOT_DIR=/tmp/repro-$ISSUE | |
| REPO_DIR=$ROOT_DIR/repo | |
| PROJECT_DIR=$ROOT_DIR/project | |
| mkdir -p $ROOT_DIR |
| #!/bin/bash | |
| set -ex | |
| mkdir -p /tmp/repro-1489 | |
| cd /tmp/repro-1489 | |
| bundle env | |
| # Bundler 1.3.5 | |
| # Ruby 2.0.0 (2013-06-27 patchlevel 247) [x86_64-darwin12.4.0] |