YARD CHEATSHEET http://yardoc.org
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
| sed -i -e 's/1\.11\.\*/1\.12\.\*/g' $(find . -name AssemblyInfo.cs) |
| gbak -g -c -z -rep Banco.gbk AZC30IB.GDB -user sysdba -pass masterkey |
| Get-Package | Select-Object -Unique Id,LicenseUrl,Version | Format-List |
| upstream unicorn_server { | |
| server unix:/tmp/unicorn.sock fail_timeout=0; | |
| } | |
| server { | |
| listen 80; | |
| root /usr/src/app/public; | |
| try_files $uri @unicorn_server; |
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
| #!/bin/bash | |
| sudo aptitude update | |
| sudo aptitude -y install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison subversion libffi-dev |
| dpkg -l linux-* | grep -v libc | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | xargs sudo apt-get -y purge |
| states = <<STATES | |
| AC,Acre | |
| AL,Alagoas | |
| AP,Amapá | |
| AM,Amazonas | |
| BA,Bahia | |
| CE,Ceará | |
| ES,Espírito Santo | |
| GO,Goiás | |
| MA,Maranhão |
| #!/usr/bin/env ruby | |
| module Spreedsheet | |
| module ColumnNotation | |
| def seed | |
| @seed ||= ('A'..'Z').to_a | |
| end | |
| def position_to_column_notation(num, minus = 0) | |
| m = num.divmod(seed.size) |