Skip to content

Instantly share code, notes, and snippets.

@jstn
jstn / JSTN.dvtcolortheme
Created February 2, 2013 17:19
xcode theme / variation on "Dusk"
<?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>DVTConsoleDebuggerInputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Monaco - 12.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>1 1 1 1</string>
@murtaugh
murtaugh / 1. single-line.html
Last active November 20, 2025 21:49
Blockquote patterns for ALA
<figure class="quote">
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote>
</figure>
@aparrish
aparrish / star-n-b.txt
Created November 13, 2012 21:50
other things and blues
ajar-n-b
almodovar-n-b
babar-n-b
bazaar-n-b
dan bejar-n-b
bizarre-n-b
car-n-b
cigar-n-b
czar-n-b
côte-d'ivoire-n-b
@mwunsch
mwunsch / emoji.rb
Created October 20, 2012 03:40
emoji unicode to emoji-cheat-sheet.com codes
#!/usr/bin/env ruby
EMOJI_NAME_TO_CODEPOINT = {
"1F604" => :smile,
"1F606" => :laughing,
"1F60A" => :blush,
"1F603" => :smiley,
"263A" => :relaxed,
"1F60F" => :smirk,
"1F60D" => :heart_eyes,
@adamgit
adamgit / .gitignore
Last active September 13, 2025 22:55
.gitignore file for Xcode4 / OS X Source projects
#########################
# .gitignore file for Xcode4 and Xcode5 Source projects
#
# Apple bugs, waiting for Apple to fix/respond:
#
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation?
#
# Version 2.6
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
@jirutka
jirutka / rules-both.iptables
Created September 18, 2012 12:42
Basic iptables template for ordinary servers (both IPv4 and IPv6)
###############################################################################
# The MIT License
#
# Copyright 2012-2014 Jakub Jirutka <[email protected]>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@stesh
stesh / gist:3308971
Created August 9, 2012 23:23
Hello world, in Eiffel
#ifdef __cplusplus
extern "C" {
#endif
/*
ANSI C code generated by SmartEiffel The GNU Eiffel Compiler, Eiffel tools and libraries
Release 2.3 (Thursday July 11th 2007) [Antoine-Auguste Parmentier]
Copyright (C), 1994-2002 - INRIA - LORIA - ESIAL UHP Nancy 1 - FRANCE
Copyright (C), 2003-2005 - INRIA - LORIA - IUT Charlemagne Nancy 2 - FRANCE
D.COLNET, P.RIBET, C.ADRIAN, V.CROIZIER F.MERIZEN - [email protected]
http://SmartEiffel.loria.fr
@alloy-d
alloy-d / alcohol.rb
Created May 19, 2012 03:17
'cause robots should type drunk, too
class Array; def random; self[rand(self.count)]; end; end
class Hash; def random; self[self.keys.random]; end; end
class Alcohol
DRINKING_START = 20
PEAK_INTOXICATION = 4
LAYOUT = [
['`1234567890-= ', '~!@#$%^&*()_+ '],
[' qwertyuiop[]\\', ' QWERTYUIOP{}|'],
class Lisp
def initialize
@env = {
:label => lambda { |(name,val), _| @env[name] = val },
:quote => lambda { |sexpr, _| sexpr[0] },
:car => lambda { |(list), _| list[0] },
:cdr => lambda { |(list), _| list.drop 1 },
:cons => lambda { |(e,cell), _| [e] + cell },
:eq => lambda { |(l,r), _| l == r },
:if => lambda { |(cond, thn, els), ctx| eval(cond, ctx) ? eval(thn, ctx) : eval(els, ctx) },
@panicsteve
panicsteve / gist:1641705
Created January 19, 2012 18:26
Form letter template for acquired startups
Dear soon-to-be-former user,
We've got some fantastic news! Well, it's great news for us anyway. You, on
the other hand, are fucked.
We've just been acquired by:
[ ] Facebook
[ ] Google
[ ] Twitter