I hereby claim:
- I am zph on github.
- I am zph (https://keybase.io/zph) on keybase.
- I have a public key whose fingerprint is DA2E 01D7 4E17 8806 6910 794F 6CBA 1914 2E2E BACB
To claim this, I am signing this object:
| # | |
| #require "iterator/version" | |
| require 'ostruct' # => true | |
| module Iterator | |
| Context = Class.new(OpenStruct) # => Iterator::Context | |
| def iterate(input, *filters) | |
| #$iterator_context = Iterator::Context.build | |
| @context = Context.new(input: input) # => #<Iterator::Context input="hi, what's up?">, #<Iterator::Context input="hi, what's up?"> | |
| res = Array(filters).flatten.reduce(input) do |acc, filter| # => [#<Proc:0x007fdf63935040@/Users/zph/tmp/seeing_is_believing_temp_dir20140409-37742-2bb4il/program.rb:34 (lambda)>, #<Proc:0x007fdf63934f50@/Users/zph/tmp/seeing_is_believing_temp_dir20140409-37742-2bb4il/program.rb:39 (lambda)>, #<Proc:0x007fdf63934e60@/Users/zph/tmp/seeing_is_believing_temp_dir20140409-37742-2bb4il/program.rb:43 (lambda)>, Remover], [#<Proc:0x007fdf63935040@/Users/zph/tmp/seeing_is_believing_temp_dir20140409-37742-2bb4il/program.rb:34 (lambda)>, #<Proc:0x007fdf63934f50@/Users/zph/tmp/seeing_is_believing_temp_dir20140409-37742-2 |
| set noswapfile | |
| " This folder is automatically created in zph's .zshrc | |
| set backupdir=~/tmp/vim | |
| set directory=~/tmp/vim " Don't clutter my dirs up with swp and tmp files | |
| " EXPERIMENTAL | |
| " Set persistent undo for vim using tempdir | |
| set undodir=~/tmp/vim | |
| set undofile | |
| " Get rid of the delay when hitting esc! | |
| set noesckeys |
| # 20140327 - Backing up whole User directory from Macbook Air 2012 model. | |
| # ``` shell | |
| rsync -axv --numeric-ids --delete --progress \ | |
| --exclude 'Documents/Virtual Machines.localized' \ | |
| --exclude '.rvm/' \ | |
| --exclude '.vagrant.d/boxes/' \ | |
| --exclude '.vmdk' \ | |
| --exclude '.xbmc' \ | |
| --exclude 'Dropbox/' \ | |
| --exclude 'Application Support/Dash/' \ |
| # 20140327 - Backing up whole User directory from Macbook Air 2012 model. | |
| # ``` shell | |
| rsync -axv --numeric-ids --delete --progress \ | |
| --exclude 'Documents/Virtual Machines.localized' \ | |
| --exclude '.rvm/' \ | |
| --exclude '.vagrant.d/boxes/' \ | |
| --exclude '.vmdk' \ | |
| --exclude '.xbmc' \ | |
| --exclude 'Dropbox/' \ | |
| --exclude 'Application Support/Dash/' \ |
| # 20140327 - Backing up whole User directory from Macbook Air 2012 model. | |
| # ``` shell | |
| rsync -axv --numeric-ids --delete --progress \ | |
| --exclude 'Documents/Virtual Machines.localized' \ | |
| --exclude '.rvm/' \ | |
| --exclude '.vagrant.d/boxes/' \ | |
| --exclude '.vmdk' \ | |
| --exclude '.xbmc' \ | |
| --exclude 'Dropbox/' \ | |
| --exclude 'Application Support/Dash/' \ |
I hereby claim:
To claim this, I am signing this object:
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
| cat > Dockerfile <<\EOF | |
| FROM ubuntu:12.04 | |
| RUN apt-get update | |
| RUN apt-get install -y ruby1.9.3 build-essential \ | |
| libc6-dev libffi-dev libgdbm-dev libncurses5-dev \ | |
| libreadline-dev libssl-dev libyaml-dev zlib1g-dev | |
| RUN gem install fpm --bindir=/usr/bin --no-rdoc --no-ri | |
| RUN apt-get install -y curl | |
| RUN curl ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz|tar oxzC /tmp | |
| WORKDIR /tmp/ruby-1.9.3-p484 |
| bind M run "tmux capture-pane -S -10000; tmux show-buffer | reattach-to-user-namespace pbcopy" |
| " resize current buffer by +/- 5 | |
| nnoremap <C-left> :vertical resize +3<cr> | |
| nnoremap <C-down> :resize +3<cr> | |
| nnoremap <C-up> :resize -3<cr> | |
| nnoremap <C-right> :vertical resize -3<cr>" |