Skip to content

Instantly share code, notes, and snippets.

foo V5Y0A5
bar L5G4L3

Keybase proof

I hereby claim:

  • I am sprice on github.
  • I am sprice (https://keybase.io/sprice) on keybase.
  • I have a public key whose fingerprint is 37BE 97A5 2A12 1E12 E7A7 E20E CB7A 7452 6466 FC04

To claim this, I am signing this object:

@sprice
sprice / dan_dan_noodles.md
Last active August 29, 2015 14:22
Helen's dan dan noodle recipe

Dan Dan noodles

  • 4 wrapped packages of soba noodles. There are usually 3 in a big package
  • 1/2 cucumber
  • 1 red pepper
  • 3 medium carrots
  • 2/3 cup chopped cilantro
  • 2/3 cup chopped thai basil

For sauce

@sprice
sprice / airbnb_core_values.md
Last active September 23, 2019 01:58
Airbnb Core Values

source: https://vimeo.com/59958555

  1. Host
  2. Champion the Mission
  3. Every Frame Matters
  4. Be a cereal entrepreneur [1]
  5. Simplify
  6. Embrace the adventure

[1] Airbnb bootstrapped themselves by selling Obama and McCain branded cereal at the 2008 Democratic National Convention. https://www.airbnb.ca/obamaos

-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP v0.1.1
Comment: https://keybase.io/crypto
wcFMA2jKYv224zyvAQ/9GB+DuVNpMJR4Zj/m5qnLJFShQh6pgx/NP0sTxEztXzyx
8wIooWnprPw6lE2nmb1K8fy9qfQjSSN/ymXb4EF29hKaIa9wUyerW+sPxsouhSQI
oghDhmZrQQnY8K5Si7WLHH6RjrDmwUlernUaV6eUfI+GihM1hH5vk073pOU0B0uI
zyow0Jz4axCplIS8X39DVtThB6pRyrBAU7clrGb2BU1cDREtEqHWMPOOMltpZHwD
9+IHQ20iHav04nR3BfLVHftO+lPiNmMkVtNsv1MC8wx8bQmsRqnaNv9XdOc9za6B
3zy+8/1XIcDj5WEyIi1cH+nKzAw1aBkGq+VlX6PjsXdR4Tk9Cloi915l1GyoPD0L

Keybase proof

I hereby claim:

  • I am sprice on github.
  • I am sprice (https://keybase.io/sprice) on keybase.
  • I have a public key whose fingerprint is DEBE 0A76 BCE9 F1ED D6A7 6CA7 94E5 3274 3070 BEF1

To claim this, I am signing this object:

// From https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage
if (!window.localStorage) {
Object.defineProperty(window, "localStorage", new (function () {
var aKeys = [], oStorage = {};
Object.defineProperty(oStorage, "getItem", {
value: function (sKey) { return sKey ? this[sKey] : null; },
writable: false,
configurable: false,
enumerable: false
});
diff --git a/includes/media.browser.inc b/includes/media.browser.inc
index 811df7b..8f15c93 100644
--- includes/media.browser.inc
+++ includes/media.browser.inc
@@ -71,7 +71,9 @@ function media_browser($selected = NULL) {
// If this is a "ajax" style tab, add the href, otherwise an id.
$href = isset($plugin['#callback']) ? $plugin['#callback'] : "#media-tab-$key";
- $tabs[] = "<a href='$href'><span>{$plugin['#title']}</span></a>";
+ if (isset($plugin['#title'])) {
@sprice
sprice / index.html
Created August 7, 2013 18:10
via:geojson.io
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
.marker-properties {
border-collapse:collapse;
alias iphone='open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app'