Skip to content

Instantly share code, notes, and snippets.

View shanev's full-sized avatar
💭
#BUIDL

shane.stars shanev

💭
#BUIDL
View GitHub Profile
" Git rebase helper for:
" git rebase --interactive
"
" L - view commit log
" p - pick
" e - edit
" s - squash
" r - reword
" D - delete
"
@jimmcgowan
jimmcgowan / EchoPrint Codegen Cocoa Example.m
Created July 9, 2011 11:25
A simple example of using the EchoPrint Codegen to fingerprint an mp3 file and look for a match on EchoNest. For OS X or iOS using Cocoa and Core Audio.
//
// EchoPrint Cocoa Example
// Created by Jim McGowan on 08/07/2011.
// jim at bleepsandpops dot com
//
// A simple example of using the EchoPrint Codegen to fingerprint an mp3 file and
// look for a match on EchoNest. For OS X or iOS. Error checking removed for brevity.
//
// Requires the 'Other C Flags' XCode build setting "-x objective-c++" to compile as Objective-C++
//
@shanev
shanev / coffee_sf.md
Created August 2, 2011 01:13
Work-friendly Coffee Shops in SF

Mission

  • Coffee Bar (3)
  • Stable Cafe (piaf w/ bacon)
  • Haus
  • Philz
  • Ritual
  • Rogers

Hayes Valley

  • Cafe Arlequin
@dhoerl
dhoerl / KeychainItemWrapper.h
Last active April 4, 2023 08:15
KeychainItemWrapper ARCified. Added the ability to manage a dictionary in place of just a string - the #define PASSWORD_USES_DATA in the .m file switches the mode.
/*
File: KeychainItemWrapper.h
Abstract:
Objective-C wrapper for accessing a single keychain item.
Version: 1.2 - ARCified
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
@incanus
incanus / Xcode4TestFlightintegration.sh
Created September 1, 2011 19:12
Xcode 4 scheme Archive step Post-script for automatic TestFlight build uploading. See the blog post here: http://developmentseed.org/blog/2011/sep/02/automating-development-uploads-testflight-xcode
#!/bin/bash
#
# (Above line comes out when placing in Xcode scheme)
#
API_TOKEN=<TestFlight API token here>
TEAM_TOKEN=<TestFlight team token here>
SIGNING_IDENTITY="iPhone Distribution: Development Seed"
PROVISIONING_PROFILE="${HOME}/Library/MobileDevice/Provisioning Profiles/MapBox Ad Hoc.mobileprovision"
#LOG="/tmp/testflight.log"
@friggeri
friggeri / haiku
Created October 6, 2011 07:30
random heroku-like name generator
haiku = ->
adjs = [
"autumn", "hidden", "bitter", "misty", "silent", "empty", "dry", "dark",
"summer", "icy", "delicate", "quiet", "white", "cool", "spring", "winter",
"patient", "twilight", "dawn", "crimson", "wispy", "weathered", "blue",
"billowing", "broken", "cold", "damp", "falling", "frosty", "green",
"long", "late", "lingering", "bold", "little", "morning", "muddy", "old",
"red", "rough", "still", "small", "sparkling", "throbbing", "shy",
"wandering", "withered", "wild", "black", "young", "holy", "solitary",
"fragrant", "aged", "snowy", "proud", "floral", "restless", "divine",
@sorted-bits
sorted-bits / SBCircleProgressBar.h
Created November 19, 2011 07:19
A circle as progressbar
//
// SBCircleProgressBar.h
//
// Created by Wim Haanstra on 17-11-11.
// Copyright (c) 2011 Sorted Bits. All rights reserved.
//
@interface SBCircleProgressBar : UIView
// The maximum value of the progressbar
@shanev
shanev / recipes.md
Last active September 28, 2015 22:08
Shane's recipes

Mushroom bun burger

  • 1lb grass-fed ground beef
  • large portobello mushroom
  • onions/tomatoes/lettuce
  • garlic/salt/pepper
  • oil/ghee

Combine garlic, salt, pepper, beef, and make a patty. Oil cast-iron pan. Sear each side on high heat for 1 minute. Reduce heat and cook each side for an additional 2-3 minutes. Cook mushroom in leftover grease in the pan. Serve burger over mushroom and top with onions/tomato/lettuce. Use lettuce as top bun.

@mharsch
mharsch / gist:1911743
Created February 25, 2012 23:57
Create a facebook test user using node.js
var qs = require('querystring');
var request = require('request');
var app_id = '<your_fb_app_id>';
var app_secret = '<your_fb_app_secret>';
var app_login_url = 'https://graph.facebook.com/oauth/access_token'
var app_login_qs = {
client_id: app_id,
client_secret: app_secret,
@digitaljhelms
digitaljhelms / gist:4287848
Last active April 26, 2024 10:44
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch