Skip to content

Instantly share code, notes, and snippets.

@joshbedo
joshbedo / setjdk.sh
Created September 22, 2014 14:02
Aliases for different Java SDKs
export PATH=/usr/local/bin:$PATH
export JAVA_6_HOME=$(/usr/libexec/java_home -v 1.6)
export JAVA_8_HOME=$(/usr/libexec/java_home -v 1.8)
export MYSQL_PORT=3306
export SMTP_SERVER=smtp.gmail.com
export SMTP_PORT=587
export SMTP_DOMAIN=gmail.com
export SMTP_USERNAME=joshbedo@gmail.com
export SMTP_PASSWORD=password
export SMTP_ENABLE_STARTTLS_AUTO=true
// Colors
$white: #FFF
$gray: #808080
$grayLight: lighten($gray, 15%)
$grayLighter: lighten($gray, 25%)
$grayDark: darken($gray, 15%)
$grayDarker: darken($gray, 25%)
$blue: #049cdb
$green: #46a546
@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