- Task was reviewed and approved by Product Owner
- If there's a production server, the task is already deployed to it
- Task complies with the definition of Review
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
// include the library code: | |
#include <LiquidCrystal.h> | |
#include <math.h> | |
#define BUTTON_PIN A0 | |
#define THERMISTOR_PIN A1 | |
#define SERIES_RESISTOR 56000.0f | |
#define SAMPLE_SIZE 100 | |
#define KELVIN 273.15f |
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 'bundler/capistrano' | |
# Config Variables | |
GITHUB_REPOSITORY_NAME = 'project_name' | |
LINODE_SERVER_HOSTNAME = 'www.host.com' | |
############################################# | |
############################################# |
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
# My Projects shortcut function: | |
PROJECTS_DIR="/Users/me/Projects" | |
p() { | |
PROJECT_NAME="$1"; | |
cd "$PROJECTS_DIR/$PROJECT_NAME"; | |
} | |
_projects_list() { | |
reply=($(ls $PROJECTS_DIR)) | |
} |
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
if [ -f "$rvm_path/scripts/rvm" ]; then | |
source "$rvm_path/scripts/rvm" | |
if [ -f ".ruby-version" ]; then | |
rvm use `cat .ruby-version` | |
fi | |
if [ -f ".ruby-gemset" ]; then | |
rvm gemset use `cat .ruby-gemset` | |
fi |
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
git config --global alias.co checkout |
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
# Bundler Integration | |
# http://github.com/carlhuda/bundler/blob/master/lib/bundler/capistrano.rb | |
require 'bundler/capistrano' | |
# Application Settings | |
set :application, "washa" | |
set :user, "www" | |
set :deploy_to, "/home/#{user}/#{application}/web" | |
set :rails_env, "production" | |
set :use_sudo, false |
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
ifconfig -a | grep inet | tail -1 | xargs ruby -e "puts ARGV[1]" |
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 'open-uri' | |
require 'json' | |
require 'ostruct' | |
def get_graph_object(object_id) | |
graph_json = open("https://graph.facebook.com/#{object_id}").read | |
data_hash = JSON.parse(graph_json) | |
parsed_hash = parse_hash(data_hash) |
NewerOlder