- 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 hidden or 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
| <!-- A scaffolded edit view converted to mustache --> | |
| <h1>Editing post</h1> | |
| {{#form}} | |
| {{#errors?}} | |
| <div id="error_explanation"> | |
| <h2>{{error_header}}</h2> | |
| </div> | |
| <ul> |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| apt-get -y update | |
| apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev | |
| cd /tmp | |
| wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz | |
| tar -xvzf ruby-1.9.3-p125.tar.gz | |
| cd ruby-1.9.3-p125/ | |
| ./configure --prefix=/usr/local | |
| make | |
| make install |
This file contains hidden or 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
| export PROJECT_NAME=$1 | |
| export WORKING_DIR=/me/prj/$PROJECT_NAME | |
| cd $WORKING_DIR; | |
| # create the session | |
| tmux start-server | |
| tmux new-session -d -s $PROJECT_NAME -n work | |
| # start vim in working dir | |
| tmux select-window -t$PROJECT_NAME:1 |
This file contains hidden or 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
| # config/initializers/formtastic.rb | |
| module FormtasticBootstrap | |
| class FormBuilder < Formtastic::FormBuilder | |
| # Allow "split-field" inputs such as name (first+last) or location (city+state). | |
| # Block contents are wrapped in a ".controls" field set next to the specified | |
| # +label+ | |
| # | |
| # Usage: | |
| # |
This file contains hidden or 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
| [ | |
| { | |
| "url": "http://money.cnn.com", | |
| "rss": "http://rss.cnn.com/rss/money_topstories.rss" | |
| }, | |
| { | |
| "url": "http://thehill.com", | |
| "rss": "http://thehill.com/rss/syndicator/19110" | |
| }, | |
| { |
This file contains hidden or 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
| const PASS = ['32']; // green | |
| const FAIL = ['31', '1']; // red, bold | |
| function logStyle(ansiEscapeCodes, text) { | |
| console.log(`\x1b[${ansiEscapeCodes.join(';')}m${text}\x1b[0m`); | |
| } | |
| class Tester { | |
| constructor() {} |
You'll find the talks here
Approaching frontend as a backend developer, Svelte feels surprisingly pythonic. Let's take a quick look at what's familiar, what's foreign, and how to explore the gap.
OlderNewer