- version 3.6
Check those constraints:
$this->anything()
| " Normal mode | |
| nnoremap <C-j> :m .+1<CR>== | |
| nnoremap <C-k> :m .-2<CR>== | |
| " Insert mode | |
| inoremap <C-j> <ESC>:m .+1<CR>==gi | |
| inoremap <C-k> <ESC>:m .-2<CR>==gi | |
| " Visual mode | |
| vnoremap <C-j> :m '>+1<CR>gv=gv | |
| vnoremap <C-k> :m '<-2<CR>gv=gv |
| // ---- | |
| // Sass (v3.3.10) | |
| // Compass (v1.0.0.alpha.20) | |
| // ---- | |
| // | |
| // VARIABLES | |
| // | |
| // colors |
| #!/usr/bin/env ruby | |
| %w|rubygems active_record irb|.each {|lib| require lib} | |
| ActiveSupport::Inflector.inflections.singular("toyota", "toyota") | |
| ActiveRecord::Base.logger = Logger.new(STDOUT) | |
| ActiveRecord::Base.establish_connection( | |
| :adapter => "sqlite3", | |
| :database => ":memory:" | |
| ) |
| type = :info | |
| time = Time.now | |
| 2_000_000.times do | |
| msg = case type | |
| when :success then 'alert-success' | |
| when :error then 'alert-danger' | |
| when :warn then 'alert-warning' | |
| when :info then 'alert-info' | |
| end |
| ########################### | |
| # Configuration | |
| ########################### | |
| # use 256 term for pretty colors | |
| set -g default-terminal "xterm" | |
| #setting the delay between prefix and command | |
| set -s escape-time 1 |
| " copy all this into a vim buffer, save it, then... | |
| " source the file by typing :so % | |
| " Now the vim buffer acts like a specialized application for mastering vim | |
| " There are two queues, Study and Known. Depending how confident you feel | |
| " about the item you are currently learning, you can move it down several | |
| " positions, all the way to the end of the Study queue, or to the Known | |
| " queue. | |
| " type ,, (that's comma comma) |
| #!/bin/bash | |
| # have to hand install this one sorry http://www.cmake.org/files/v2.8/cmake-2.8.3-Darwin-universal.tar.gz | |
| if [ "$1" == "cleanup" ]; then | |
| echo "Cleaning up old luajit install" | |
| cd /usr/local/share | |
| sudo rm -rf lua luajit-2.0.0-beta6 |
| #!/bin/bash | |
| # Limpa dummy data do Redis. | |
| redis-cli keys 'hits*' | cut -d" " -f2 | xargs redis-cli del | |
| declare -A ARTISTS | |
| ARTISTS=( | |
| ["avicci"]="hey-brother" | |
| ["lorde"]="royals" |
| #!/bin/bash | |
| echo "determining branch" | |
| if ! [ -t 0 ]; then | |
| read -a ref | |
| fi | |
| IFS='/' read -ra REF <<< "${ref[2]}" | |
| branch="${REF[2]}" |