Skip to content

Instantly share code, notes, and snippets.

View arielkirkwood's full-sized avatar

Ariel Kirkwood arielkirkwood

View GitHub Profile
@arielkirkwood
arielkirkwood / keybase.md
Created September 23, 2014 00:59
keybase.md

Keybase proof

I hereby claim:

  • I am arielkirkwood on github.
  • I am ariel (https://keybase.io/ariel) on keybase.
  • I have a public key whose fingerprint is 5A28 92E3 71AB FAB3 DA72 757E 58AA E97D 54D8 0D19

To claim this, I am signing this object:

@arielkirkwood
arielkirkwood / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@arielkirkwood
arielkirkwood / rails_resources.md
Last active August 29, 2015 14:11 — forked from jookyboi/rails_resources.md
Rails-related Gems and guides to accelerate your web project.

Gems

  • Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support
  • Thin - Very fast and lightweight Ruby web server
  • Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
  • Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
  • [factory_girl](h
@arielkirkwood
arielkirkwood / javascript_resources.md
Last active August 29, 2015 14:11 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • 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
@arielkirkwood
arielkirkwood / python_resources.md
Last active August 29, 2015 14:11 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@arielkirkwood
arielkirkwood / css_resources.md
Last active August 29, 2015 14:11 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@arielkirkwood
arielkirkwood / gist:982397
Created May 20, 2011 05:10
Error log for starting rails server running PLAS
/Users/arielkirkwood/.rvm/gems/ruby-1.9.2-p180@plas/gems/ffi-1.0.7/lib/ffi_c.bundle: [BUG] unknown type 0x22 (0xc given)
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
-- control frame ----------
c:0027 p:---- s:0077 b:0077 l:000076 d:000076 CFUNC :initialize
c:0026 p:-540106130 s:0075 b:0075 l:000074 d:000074 TOP
c:0025 p:---- s:0073 b:0073 l:000072 d:000072 CFUNC :require
c:0024 p:0029 s:0069 b:0069 l:000065 d:000068 BLOCK /Users/arielkirkwood/.rvm/gems/ruby-1.9.2-p180@plas/gems/ffi-1.0.7/lib/ffi.rb:8
c:0023 p:0056 s:0066 b:0066 l:000065 d:000065 TOP /Users/arielkirkwood/.rvm/gems/ruby-1.9.2-p180@plas/gems/ffi-1.0.7/lib/ffi.rb:1
c:0022 p:---- s:0064 b:0064 l:000063 d:000063 FINISH
@arielkirkwood
arielkirkwood / rubygems
Created May 22, 2011 15:17
List of my local gems and gemsets
n2-203-82:test_site arielkirkwood$ rvm gem list --local
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.7)
actionpack (3.0.7)
activemodel (3.0.7)
activerecord (3.0.7)
activeresource (3.0.7)
@arielkirkwood
arielkirkwood / gemfilemove
Created May 22, 2011 15:34
Trying to use PLAS gemfile with default rails app skeleton (ffi-1.0.7 may be to blame)
n2-203-82:~ arielkirkwood$ rails new test_site
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
@arielkirkwood
arielkirkwood / gist:986085
Created May 23, 2011 01:41
After removing Ubuntu Natty Gemfile block, the issue appears to move to the json gem, though this isn't in the gemfile.
n2-194-128:plas arielkirkwood$ rails server
/Users/arielkirkwood/.rvm/gems/ruby-1.9.2-p180@plas/gems/json-1.5.1/lib/json/common.rb:66: [BUG] unknown type 0x22 (0xc given)
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
-- control frame ----------
c:0089 p:---- s:0279 b:0279 l:000278 d:000278 CFUNC :initialize
c:0088 p:---- s:0277 b:0277 l:000276 d:000276 CFUNC :new
c:0087 p:0099 s:0274 b:0272 l:000271 d:000271 METHOD /Users/arielkirkwood/.rvm/gems/ruby-1.9.2-p180@plas/gems/json-1.5.1/lib/json/common.rb:66
c:0086 p:0208 s:0263 b:0262 l:000261 d:000261 CLASS /Users/arielkirkwood/.rvm/gems/ruby-1.9.2-p180@plas/gems/json-1.5.1/lib/json/ext.rb:24
c:0085 p:0011 s:0260 b:0260 l:000259 d:000259 CLASS /Users/arielkirkwood/.rvm/gems/ruby-1.9.2-p180@plas/gems/json-1.5.1/lib/json/ext.rb:6