Skip to content

Instantly share code, notes, and snippets.

View fieldform's full-sized avatar

Mark Domino fieldform

View GitHub Profile
@drnic
drnic / .gitignore
Created October 1, 2010 22:18 — forked from mloughran/README.md
twitter.json

Getting started

First add your twitter username and password. Then server.rb and once it's started open websocket.html in your browser. You should see some tweets appear. If not take a look at the javascript console.

/*
The MIT License (MIT)
Copyright (c) 2014 Ismael Celis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@ambethia
ambethia / seeds.rb
Created September 15, 2009 16:40
Using environment specific yaml fixtures as seed data in Rails 2.3.4
# == Using environment specific yaml fixtures as seed data in Rails 2.3.4
#
# Setup your directory structure like below:
#
# -- RAILS_ROOT
# `-- db
# |-- seeds
# | |-- development
# | | |-- books.yml
# | | `-- users.yml