Skip to content

Instantly share code, notes, and snippets.

View robotsandcake's full-sized avatar
💭
Groovy

Stuart robotsandcake

💭
Groovy
View GitHub Profile
@robotsandcake
robotsandcake / tmux.md
Last active January 2, 2016 23:09 — forked from andreyvit/tmux.md

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

# This is not a complete Nginx configuration! It only shows the relevant parts for integrating Diaspora.
# [...]
http {
# Your standard server configuration goes here
# [...]
# This vhost just redirects to HTTPS
@robotsandcake
robotsandcake / dragondictate-top-100-sites.txt
Created April 4, 2014 16:17
List of DragonDictate top 100 websites
jump to AOl
jump to All Experts
jump to Amazon
jump to American Heart Association
jump to Apple
jump to baby center
jump to bartleby
jump to CBS sports
jump to CNN
jump to Sea Net
#!/usr/bin/ruby
# WebExcursions, a script for gathering new Pinboard links with a certain tag
# and generating Markdown/Jekyll posts when enough are collected.
# Brett Terpstra 2013
#
# -f to force writing out current bookmarks to file regardless of count
%w[fileutils set net/https zlib rexml/document time base64 uri cgi stringio].each do |filename|
require filename
end
#!/usr/bin/ruby
# WebExcursions, a script for gathering new Pinboard links with a certain tag
# and generating Markdown/Jekyll posts when enough are collected.
# Brett Terpstra 2013
#
# -f to force writing out current bookmarks to file regardless of count
%w[fileutils set net/https zlib rexml/document time base64 uri cgi stringio].each do |filename|
require filename
end

{% gist 9cf01dc9cf5e57434113 %}

For bonus[^1] points here is some in-line code just you!

def foo
 puts 'foo'

A lovely example of a gist embedding

@robotsandcake
robotsandcake / keybase.md
Created July 8, 2014 11:43
My Keybase.io Proof

Keybase proof

I hereby claim:

  • I am escapologybb on github.
  • I am escapologybb (https://keybase.io/escapologybb) on keybase.
  • I have a public key whose fingerprint is 0E1B 42C5 2E68 2CC4 9D70 D494 AE1D CB03 6B7D E2FD

To claim this, I am signing this object:

=begin
Plugin: Twitter Logger
Version: 3.0
Description: Logs updates and favorites for specified Twitter users
Author: [Brett Terpstra](http://brettterpstra.com)
Configuration:
twitter_users: [ "handle1" , "handle2", ... ]
save_images: true
droplr_domain: d.pr
twitter_tags: "#social #blogging"