Skip to content

Instantly share code, notes, and snippets.

View rudolph9's full-sized avatar

Kurt Robert Rudolph rudolph9

  • Portland, OR, USA
View GitHub Profile
@rudolph9
rudolph9 / gist:2510343
Created April 27, 2012 15:52
stack_question.iterating_over_yard_macro_registers
# see http://stackoverflow.com/questions/10343634/iterating-over-the-registers-of-a-yardoc-macro for original question.
module my_module
class Resource
# @macro dsl_method
# @method $1(${2--2})
# @return [${2}] the return value of $0
def self.property(name, type, args*) end
end
@rudolph9
rudolph9 / gistGithubAddPaginationToTop4MyGists.user.js
Created April 4, 2012 12:15 — forked from erikvold/gistGithubAddPaginationToTop4MyGists.user.js
This userscript will add the pagination for the gist.github.com My Gists page.
// ==UserScript==
// @name Add Pagination For My Gists To Top
// @namespace gistGithubAddPaginationToTop4MyGists
// @include /^http:\/\/gist\.github\.com\/mine([?#].*)?$/i
// @include http://gist.github.com/mine*
// @match http://gist.github.com/mine*
// @datecreated 2010-03-21
// @lastupdated 2010-03-21
// @version 0.1
// @author Erik Vergobbi Vold
@rudolph9
rudolph9 / multi_user_screen_session.md
Created February 15, 2012 20:13
Creating a multi user GNU screen session

Initial configuration of system:

Make the proper permisions for the screen command

sudo chmod u+s $(which screen)
sudo chmod 755 /var/run/screen/
sudo rm -rf /var/run/screen/*

Screen setup