- Introduction ===============
This document describes a protocol for interacting with Transmission sessions remotely.
The JSON terminology in RFC 4627 is used.
<section class="module"> | |
<h1 class="module__heading module__heading--a">Circled</h1> | |
<ol class="custom-bullet custom-bullet--a"> | |
<li>Lorem ipsum dolor sit amet</li> | |
<li>Consectetur adipiscing elit</li> | |
<li>Integer molestie lorem at massa</li> | |
<li>Facilisis in pretium nisl aliquet</li> | |
<li>Nulla volutpat aliquam velit</li> |
# When an RSpec test like this fails, | |
# | |
# @my_array.should == [@some_model, @some_model2] | |
# | |
# RSpec will call inspect on each of the objects to "help" you figure out | |
# what went wrong. Well, inspect will usually dump a TON OF SHIT and make trying | |
# to figure out why `@my_array` is not made up of `@some_model` and `@some_model2`. | |
# | |
# This little module and technique helps get around that. It will redefine `inspect` | |
# if you include it in your model object. |
# | |
# Generate a unique token before the creating a | |
# new record. Option to specify an array of | |
# attributes as predicates for the uniqueness check. | |
# The tokenable attribute is always appended to | |
# the list of predicates. | |
# | |
# Example usage in a model: | |
# | |
# class Contribution < ActiveRecord::Base |
#!/usr/bin/env zsh | |
# | |
# USAGE: autoenv [action] | |
# | |
# Actions: | |
# up (aliased to u) | |
# down (aliased to d) | |
# | |
error() { echo "$@" 1>&2 } |
nnoremap yy "+yy | |
vnoremap y "+y | |
nnoremap p "+p | |
vnoremap p "+p | |
nnoremap P "+P | |
vnoremap P "+P |
set hlsearch | |
highlight CurSearch guibg=green | |
nnoremap <silent> N N:silent! call HighlightCurrentMatch()<CR> | |
nnoremap <silent> n n:silent! call HighlightCurrentMatch()<CR> | |
function! HighlightCurrentMatch() | |
let col = col(".") - 1 | |
let endCol = searchpos(getreg("/"), "cne")[1] + 1 | |
let line = line(".") | |
let matchPat = '/\%' . line . 'l\%>' . col . 'c\%<' . endCol . 'c/' |
# | |
# Uncrustify Configuration File | |
# File Created With UncrustifyX 0.4.3 (252) | |
# | |
# Alignment | |
# --------- | |
## Alignment |
let barposition = "bottom" | |
set numerichints | |
set typelinkhints | |
unmap gt | |
unmap K | |
unmap gT | |
unmap J | |
unmap E |