Skip to content

Instantly share code, notes, and snippets.

View robotsandcake's full-sized avatar
💭
Groovy

Stuart robotsandcake

💭
Groovy
View GitHub Profile

A lovely example of a gist embedding

{% gist 9cf01dc9cf5e57434113 %}

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

def foo
 puts 'foo'
#!/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
@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
# 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 / 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

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC
"-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>mac.bitlbee</string>
<key>ProgramArguments</key>
<array>
@robotsandcake
robotsandcake / 0x6B7DE2FD
Last active December 31, 2015 15:09
My PGP Key.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFJRRUQBEADITzP+wLxlbiaeRUsUEptdZXLIrfgde/HZdrfhprGhppgE6PLCegJc0mHm
6GDxb8Xt+p6uORo9edLYO9Yofhri8D0jGq12GS8n2gO/bKNyUIoo8uWxFXZ2oBIUeuSkk7gs
5A5gCaG6+a3Ov8Bke/4Dh7d4mEQdwQI5e7V1Cim0rvoi2+rktS8yBj5pGtj708SM6KMMVSAM
ZcFTr0Ptm4wM8Cq7wTgHWSiCmUYiHRQDzYm7eGKopkNJp9kTDW6lOoaGZPcJn8iXqi50rBZL
p3AYm1GL2UDxeyqc3qawLMn/iC1HLvACa1l9V+NsfnN4GhW/4b76Z8xgFzZkAShADVmscDcw
kRjSFP7fVut32MyAjgYJfc9UWjE71PO/OxI5fhueEj9plSflRSVvHneI1jWLWD5OFWt34zcO
aQ0tHbgTSuRo8RJ0mnT9TEBsJw+36k4NnomWvnbpOzLjH+7lfG28B1s3m3LBSu5X3kdsbE4q
obgm7WJPIjZTa9Z0lsyCu+qK0IXwEBw2bZhmbJuOXUQj+s0N+CAB5DCQaH4Cz0VlpCvXWZot