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
    
  
  
    
  | echo "source \$HOME/upcity/devenv/bin/host-functions.sh" >> "$HOME/.`basename "${SHELL}"`rc" | |
| source $HOME/.`basename "${SHELL}"`rc | 
  
    
      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
    
  
  
    
  | { | |
| "input": "s3://bukkit/_upload/test.m4v", | |
| "outputs": [ | |
| { | |
| "url": "s3://bukkit/xtestx.mp4", | |
| "h264_profile": "high", | |
| "public": true, | |
| "thumbnails": { | |
| "number": 6, | |
| "prefix": "xtestx-thumbnail", | 
  
    
      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
    
  
  
    
  | 1.day.from_now(Time.parse("#{Random.rand(1..5)}:#{Random.rand(0..59)}")) | 
  
    
      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
    
  
  
    
  | ✘ mhall@G14763 ⮀ ~/projects/chef ⮀ ⭠ master ⮀ knife solo cook three | |
| Checking Chef version... | |
| Starting Chef Client, version 11.4.0 | |
| Compiling Cookbooks... | |
| ================================================================================ | |
| Recipe Compile Error in /tmp/chef-solo/cookbooks/postgresql/recipes/server.rb | |
| ================================================================================ | |
  
    
      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
    
  
  
    
  | #!/bin/bash -ex | |
| apt-get -y install curl | |
| curl -L https://gist.github.com/just3ws/5184024/raw/90677d99b50ba7182ef6a371edcbc3d20c5c62ab/ubuntu_bootstrap_locale.sh | bash | |
| curl -L https://gist.github.com/just3ws/5183471/raw/dbcfa7b2cb7889d4d289f1e5464ac5dbb4f39085/chef_solo_bootstrap.sh | bash | 
  
    
      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
    
  
  
    
  | #!/bin/bash -x | |
| echo "LANG=\"en_US.UTF-8\"" >> /etc/environment | |
| echo "LANGUAGE=\"en_US.UTF-8\"" >> /etc/environment | |
| echo "LC_ALL=\"en_US.UTF-8\"" >> /etc/environment | |
| source /etc/environment | |
| apt-get install -y --reinstall locales | |
| locale-gen en_US.UTF-8 | 
  
    
      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 -x | |
| apt-get -y update | |
| # ------------------------------- | |
| # Based on bootstrap-ubuntu-12-04 | |
| # https://raw.github.com/fesplugas/rbenv-bootstrap/master/bin/rbenv-bootstrap-ubuntu-12-04 | |
| # Update sources: | |
| apt-get -y update | 
  
    
      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
    
  
  
    
  | Aaron Bedra | |
| Aaron Holbrook | |
| Aaron Kalin | |
| Adam Grandy | |
| Adewale Oshinye | |
| Amy Kinney | |
| Andrea Magnorsky | |
| Andy Lester | |
| Angelique Martin | |
| Anthony Zinni & Jon Buda & Shay Howe | 
  
    
      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
    
  
  
    
  | def self.models | |
| ActiveRecord::Base | |
| .send(:subclasses) | |
| .map { |model| model.name.constantize } | |
| end | |
| def self.controllers | |
| Rails.application.routes.routes | |
| .select { |r| r.defaults[:controller].present? } | |
| .uniq { |r| r.defaults[:controller] } | 
  
    
      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
    
  
  
    
  | # The example I tweeted about preferring the more verbose if..then..else..end | |
| # over ternary operations in Ruby got mangled by Twitter. | |
| # So when my tweet showed everything on one line my message got muddled. | |
| # The reformatting of my tweet also looked like I was trying to evaluate | |
| # an expression that returned literally "true" or "false" which wasn't the case. | |
| # What I wanted to show was that many people write IF/ELSE statements as | |
| # ternary operations. |