- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am indytechcook on github. | |
* I am indytechcook (https://keybase.io/indytechcook) on keybase. | |
* I have a public key whose fingerprint is 1140 2923 3CD0 890A EC2C 7E40 50A0 43C8 33A1 161B | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
version: 1.0.0 | |
title: Swagger Petstore | |
host: localhost | |
schemes: | |
- http | |
consumes: | |
- application/json | |
produces: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// return rounded version of x with prec precision. | |
func roundFloat(x float64, prec int) float64 { | |
var rounder float64 | |
pow := math.Pow(10, float64(prec)) | |
intermed := x * pow | |
_, frac := math.Modf(intermed) | |
intermed += .5 | |
x = .5 | |
if frac < 0.0 { | |
x = -.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# php switch for homebrew | |
# $ brew tap josegonzalez/php && brew install php53 --with-mysql && brew install php54 --with-mysql | |
# Please add '/usr/local/Cellar/php/bin' to the beginning of your PATH variable to enable the command line binaries. | |
# Might as well ask for password up-front, right? | |
sudo -v | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Block Custom installation routines | |
*/ | |
/** | |
* Implements hook_schema(). | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = Custom Beans | |
description = My Custom Beans | |
core = 7.x | |
files[] = "custom_bean.listing.inc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
#guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' }, :wait => 60 do | |
# watch('config/application.rb') | |
# watch('config/environment.rb') | |
# watch(%r{^config/environments/.+\.rb$}) | |
# watch(%r{^config/initializers/.+\.rb$}) | |
# watch('Gemfile') | |
# watch('Gemfile.lock') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Phpsh < Formuala | |
url 'git://github.com/facebook/phpsh.git', :using => :git | |
homepage 'http://www.phpsh.org/' | |
depends_on 'git', 'python', 'readline' | |
def install | |
system 'python setup.py build' |