Skip to content

Instantly share code, notes, and snippets.

@meleyal
meleyal / fakeout.rake
Created March 2, 2011 17:23 — forked from matthutchinson/fakeout.rake
Fakeout.rake
# a simple/configurable rake task that generates some random fake data for the app (using faker) at various sizes
# NOTE: requires the faker or ffaker gem
require 'faker'
class Fakeout
# START Customizing
# 1. first these are the model names we're going to fake out
@meleyal
meleyal / namer.py
Created February 24, 2011 13:56 — forked from xwmx/namer.py
namer.py
#!/usr/bin/env python
# Name generating code
# Copyright (c) 2010 Ninite.com
#
# Released into the public domain - enjoy!
#
# Story at http://blog.ninite.com/post/620277259/how-ninite-was-named-by-a-computer-program
from datetime import datetime, date
@meleyal
meleyal / widget-template.js
Created February 10, 2011 10:40 — forked from ehynds/widget-template.js
jquery.ui.widget template
(function($){
$.widget("ui.mywidget", {
options: {
autoOpen: true
},
_create: function(){
// by default, consider this thing closed.