Skip to content

Instantly share code, notes, and snippets.

jphaas

Block or report user

Report or block jphaas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2df9435b947b31c8d9c8
<?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">
<!--
BBEdit Language Module for CoffeeScript
Put this file in
~/Library/Application Support/BBEdit/Language Modules
or equivalent.
Based off of the examples shipped in the BBEdit SDK.
View gist:5020857
{
"main": {
"index": "function(doc) { if (doc.type == 'UserType(user)') { index('type', 'UserType(user)'); field = 'email'; data = doc[field]; try_index = function(d) { var _ref; if ((_ref = typeof d) === 'string' || _ref === 'number') { return index(field, d); } }; if ((typeof data) === 'object' && data.length) { for (_i = 0, _len = data.length; _i < _len; _i++) { d = data[_i]; try_index(d); } } else { try_index(d); } field = 'password'; data = doc[field]; try_index = function(d) { var _ref; if ((_ref = typeof d) === 'string' || _ref === 'number') { return index(field, d); } }; if ((typeof data) === 'object' && data.length) { for (_i =
View gist:5020858
{
"main": {
"index": "function(doc) { if (doc.type == 'UserType(user)') { index('type', 'UserType(user)'); field = 'email'; data = doc[field]; try_index = function(d) { var _ref; if ((_ref = typeof d) === 'string' || _ref === 'number') { return index(field, d); } }; if ((typeof data) === 'object' && data.length) { for (_i = 0, _len = data.length; _i < _len; _i++) { d = data[_i]; try_index(d); } } else { try_index(d); } field = 'password'; data = doc[field]; try_index = function(d) { var _ref; if ((_ref = typeof d) === 'string' || _ref === 'number') { return index(field, d); } }; if ((typeof data) === 'object' && data.length) { for (_i =
View peter-thiels-cs183-startup-class-01-notes-essay.md

Peter Thiel's CS183: Startup - Class 1 Notes Essay

Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.

CS183: Startup—Notes Essay—The Challenge of the Future

Purpose and Preamble

View json_merge.coffee
#To install:
#
#In your git configuration (for instance, .git/config to do it at the project level), add:
#
#[merge "json_merge"]
# name = A custom merge driver for json files
# driver = coffee json_merge.coffee %O %A %B
# recursive = binary
#
#In your project's .gitattributes file, add something like:
You can’t perform that action at this time.