Skip to content

Instantly share code, notes, and snippets.

View rkellermeyer's full-sized avatar

Richard Kellermeyer rkellermeyer

  • USA
View GitHub Profile

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.

Modules

Namespace for classes and modules that handle serving documentation over HTTP

@rkellermeyer
rkellermeyer / richards_crud.erl
Created November 12, 2014 19:32
Erlang Crud
-module(richards_crud).
-compile(export_all).
new() ->
maps:new().
build(Key, Value, Map) ->
maps:put(Key, Value, Map).
@rkellermeyer
rkellermeyer / rbenv_plugin_list
Created November 14, 2014 02:06
Essential rbenv plugins
For environment specific vars: https://github.com/sstephenson/rbenv-vars
For handling gemsets: https://github.com/jf/rbenv-gemset
Easily build rubies: https://github.com/sstephenson/ruby-build
RbEnv driven Bundler: https://github.com/carsomyr/rbenv-bundler
Find info on gems: https://github.com/rkh/rbenv-whatis.git
Alias `use` & mimic rvm: https://github.com/rkh/rbenv-use.git
Automatically rehash RbEnv: https://github.com/sstephenson/rbenv-gem-rehash.git
@rkellermeyer
rkellermeyer / cap_error
Last active August 29, 2015 14:23
Cap Auth Error
$ bundle exec cap dev_sandbox deploy
INFO [c3608890] Running /usr/bin/env mkdir -p /tmp/capstan/ on capstan-dev-sandbox.stonecroptech.com
DEBUG [c3608890] Command: ( RAILS_ENV=dev_sandbox /usr/bin/env mkdir -p /tmp/capstan/ )
INFO [7aecad29] Running /usr/bin/env mkdir -p /tmp/capstan/ on capstan-dev-sandbox-dj.stonecroptech.com
DEBUG [7aecad29] Command: ( RAILS_ENV=dev_sandbox /usr/bin/env mkdir -p /tmp/capstan/ )
cap aborted!
Authentication failed for user [email protected]
/Users/rkellermeyer/.rvm/gems/ruby-1.9.3-p551@badger/gems/net-ssh-2.8.0/lib/net/ssh.rb:217:in `start'
/Users/rkellermeyer/.rvm/gems/ruby-1.9.3-p551@badger/gems/sshkit-1.3.0/lib/sshkit/backends/connection_pool.rb:25:in `create_or_reuse_connection'
/Users/rkellermeyer/.rvm/gems/ruby-1.9.3-p551@badger/gems/sshkit-1.3.0/lib/sshkit/backends/netssh.rb:173:in `ssh'
@rkellermeyer
rkellermeyer / irc.md
Created September 21, 2016 01:09 — forked from xero/irc.md
irc cheat sheet

#IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

##The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
    • Leaves the specified channel.