workflow:
$ rails g model NameOfModel
invoke active_record
create db/migrate/YYYYMMDDHHMMSS_create_name_of_models.rb
var http = require('http'); | |
var url = require('url'); | |
var parse = require('url').parse; | |
var join = require('path').join; | |
var fs = require('fs'); | |
var qs = require('querystring'); | |
var root = __dirname; | |
var items = []; | |
var loaded_page = false; |
VISION for an MVP (minimum viable product) // User story | |
========================================== | |
Create a competition [Iteration I] | |
-------------------- | |
- football games | |
- picking winners | |
e.g Duke vs Carolina |
The goal: Upload several files (virtually big files) to a Rails application without compromising the user experience.
jQuery File Upload + Nginx + Rails (Carrierwave) + Sidekiq
""" | |
slidingPuzzle.py | |
Emily Johnston | |
4/26/2014 | |
A command-line, single-player sliding puzzle game of customizable size and difficulty. | |
""" | |
import sys | |
from random import choice |
http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130213.html | |
http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130215.html | |
http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130218.html | |
Refactoring: | |
http://tutorials.jumpstartlab.com/academy/sessions/gschool0/130219.html | |
Rake Tasks and Testing: |
# app/controllers/users/password_controller.rb | |
class Users::PasswordsController < Devise::PasswordsController | |
def resource_params | |
params.require(:user).permit(:email, :password, :password_confirmation) | |
end | |
private :resource_params | |
end |
""" | |
DemoTime | |
======== | |
About | |
----- | |
DemoTime is a simple app that searches the Twitter API for what your | |
namesake or any other name(someone with your name, other than you) might have said. | |
It uses the twitter Search API to search for stuff; once that is found, it sends you a | |
message of the tweet to your phone; it will only send a tweet that has more than 5 |
/* | |
* File: FindRange.java | |
* Name: | |
* Section Leader: | |
* -------------------- | |
* This file is the starter file for the FindRange problem. | |
*/ | |
import java.util.ArrayList; |