Skip to content

Instantly share code, notes, and snippets.

View charlesbedrosian's full-sized avatar

Charles Bedrosian charlesbedrosian

  • Chicago, IL USA
View GitHub Profile
@masayukig
masayukig / com.crashplan.engine.plist.diff
Created November 9, 2012 17:02
Getting CrashPlan to work on Mac after JDK 1.7 upgrade
diff --git a/com.crashplan.engine.plist b/com.crashplan.engine.plist
index d536a84..d189347 100644
--- a/com.crashplan.engine.plist
+++ b/com.crashplan.engine.plist
@@ -22,7 +22,7 @@
<string>/Applications/CrashPlan.app/Contents/Resources/Java</string>
<key>ProgramArguments</key>
<array>
- <string>/usr/bin/java</string>
+ <string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
@sj26
sj26 / php_postgresql.rb
Created February 22, 2012 12:21
Homebrew formula for PHP PostgreSQL extensions
require 'formula'
require 'net/http'
# This is an odd formula which adapts itself to whatever version of PHP
# is installed with the current version of OS X to install the missing
# PostgreSQL extension.
class PhpPostgresql < Formula
homepage 'http://www.php.net/'
# author: Samuel Cochran <sj26@sj26.com>
@gudbergur
gudbergur / README.markdown
Created February 19, 2012 23:49
Bootstrap's Typeahead plugin extended (allowing for AJAX functionality) among other things

This is a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

For example, process typeahead list asynchronously and return objects

  # This example does an AJAX lookup and is in CoffeeScript
  $('.typeahead').typeahead(
    # source can be a function
    source: (typeahead, query) ->
 # this function receives the typeahead object and the query string
@jonah-williams
jonah-williams / build.sh
Created April 30, 2011 17:46
Command line iOS project builds and over-the-air distribution
#!/bin/bash
# https://gist.github.com/949831
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/
# command line OTA distribution references and examples
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html