- Jim Weirich: The Building Blocks of Modularity – http://goo.gl/g4Nk
- Jim Weirich: SOLID Ruby – http://goo.gl/z3jd
- Sandi Metz: SOLID Object-Oriented Design – http://goo.gl/PDn6T
- Sandi Metz: Less – The Path to Better Design – http://goo.gl/VuTl4
- Demeter is for Encapsulation – http://is.gd/eeyLx
- Opinionated Modular Code – http://is.gd/eeyXm
- Scaling to Hundreds of Millions of Requests – http://vimeo.com/12814529
- Confident Code – http://goo.gl/VFLX
- Destroy All Software Screencasts – https://www.destroyallsoftware.com/screencasts
- Corey Haines: Fast Rails Tests – http://goo.gl/Va2gb
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('zappa') -> | |
@enable 'serve jquery' | |
@get '/': -> | |
@render index: {layout: no} | |
@on 'set nickname': -> | |
@client.nickname = @data.nickname | |
@on said: -> |
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
class User < ActiveRecord::Base | |
devise :database_authenticatable, :registerable, | |
:recoverable, :rememberable, :trackable, :validatable | |
attr_accessible :email, :password, :password_confirmation, :remember_me | |
belongs_to :account, :polymorphic => true | |
def realstater? |
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 'sinatra' | |
require 'mechanize' | |
require 'haml' | |
get '/' do | |
nickname = 'cogumm' | |
board = 'nerd' | |
url = "http://pinterest.com/#{nickname}/#{board}" | |
pin_class = 'PinImageImg' |
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
{ "_id" : { "$oid" : "50747679c863c75a39000000" }, "cols" : [ { "news" : [ { "ref_id" : "233636", "type" : "noticia", "imag" : "104328", "perm" : "/noticia/pp-e-o-campeao-de-votos-na-eleicao-para-vereador/233636", "titl" : "PP é o campeão de votos na eleição para vereador", "chap" : "Política", "suti" : "", "styl" : "direita" } ] }, { "news" : [ { "ref_id" : "233638", "type" : "noticia", "perm" : "/noticia/candidatos-estao-em-busca-de-apoios-para-o-2o-turno/233638", "titl" : "Candidatos estão em busca de apoios para o 2º turno", "chap" : "Política", "suti" : "", "styl" : "direita" } ] }, { "news" : [ { "ref_id" : "233660", "type" : "noticia", "perm" : "/noticia/resultado-da-eleicao-em-quatro-cidades-sera-alterado/233660", "titl" : "Resultado da eleição em quatro cidades será alterado", "chap" : "Política", "suti" : "", "styl" : "esquerda" } ] } ] } | |
{ "_id" : { "$oid" : "5074767bc863c75a39000001" }, "cols" : [ { "news" : [ { "ref_id" : "233636", "type" : "noticia", "imag" : "104328", "perm" : "/noticia/pp-e-o- |
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 'rubygems' | |
require 'redis' | |
class Datanosql | |
def initialize | |
@r = Redis.new | |
end |
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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' |
A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.
A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.