Skip to content

Instantly share code, notes, and snippets.

Pod::Spec.new do |s|
s.name = "ReactiveCocoa"
s.version = "2.0.0"
s.summary = "A framework for composing and transforming sequences of values."
s.homepage = "https://github.com/blog/1107-reactivecocoa-is-now-open-source"
s.author = { "Josh Abernathy" => "[email protected]" }
s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git" }
s.license = 'Simplified BSD License'
s.description = "ReactiveCocoa offers:\n" \
"1. The ability to compose operations on future data.\n" \
@happyrobots
happyrobots / guiders.js
Last active December 21, 2015 17:28
stuffy stuff thing
/**
* guiders.js
*
* version 2.0.0
*
* Released under the Apache License 2.0.
* www.apache.org/licenses/LICENSE-2.0.html
*
* Questions about Guiders?
* Email me (Jeff Pickhardt) at [email protected]
<html>
<head>
<style>
body {
background: url('./carbon.png');
font-family: Helvetica, Arial, sans-serif;
}
.content {
convert input.jpg -transparent white -fuzz 80%% output.png
@happyrobots
happyrobots / web.config
Created August 7, 2013 03:41
Add max age to static contents in ASP.NET
<configuration>
<location path="Assets">
<system.webServer>
<staticContent>
<clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/>
</staticContent>
</system.webServer>
</location>
</configuration>
require 'iconv'
class OsxStringsFileParser
class KeyValuePair < Struct.new(:key, :value, :comments)
def attributes
{ :text => value, :data => { 'key' => key, 'comments' => comments }}
end
end
REGEX_COMMENT_MULTI = /\/\*(.*?)\*\//
export PATH="/usr/local/bin:/usr/local/git/bin:/Applications/Postgres.app/Contents/MacOS/bin::$PATH:~/bin:/usr/local/share/npm/bin:/Applications/ImageOptim.app/Contents/MacOS"
export CLICOLOR=1
export EDITOR=vim
export PS1="\[\033[0;37m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[0;31m\]\h'; else echo '\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; fi)\[\033[0;37m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;37m\]]\n\[\033[0;37m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]"
alias l="ls -lah"
alias open_icloud="open ~/Library/Mobile\ Documents/"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function