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
    
  
  
    
  | { | |
| "status": "success", | |
| "message": "", | |
| "errors": {}, | |
| "activity": { | |
| "uid": "R4LLUDAwWtIrqSWZc1BnTw", | |
| "name": "Passage Proofreading: A Little Stranger on the Road (Fiction)", | |
| "description": "Proofread a passage with eleven incorrect determiners and articles.", | |
| "flags": [ | |
| "production" | 
  
    
      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
    
  
  
    
  | " Section: Vim, Balloon Eval | |
| " ------------------------ | |
| " balloon eval in ruby is really annoying | |
| if has("balloon_eval") && has("unix") | |
| set noballooneval | |
| "set ballooneval | |
| endif | 
  
    
      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
    
  
  
    
  | main » DESIRED_CLASS | |
| /price|product-price/i | |
| main » node.attributes.values.map(&:to_s).first =~ DESIRED_CLASS | |
| 0 | |
| main » node.attributes.values.map(&:to_s).first =~ /price/ | |
| 0 | |
| main » node.attributes.values.map(&:to_s).first == /price/ | |
| false | |
| main » node.attributes.values.map(&:to_s).first == "price" | |
| true | 
  
    
      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
    
  
  
    
  | main » u = UserExperiment.find_by_email('---') | |
| D, [2014-07-14T19:12:44.447225 #58587] DEBUG -- : UserExperiment Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = '---' LIMIT 1 | |
| #<UserExperiment:0x000001021c8178> { | |
| :id => 490, | |
| :login => "imajes", | |
| :email => "---", | |
| :encrypted_password => "...", | |
| :reset_password_token => "LdSS1bpDFTXyziEn7s_7", | |
| :reset_password_sent_at => nil, | |
| :remember_created_at => nil, | 
  
    
      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 | |
| for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do | |
| git branch --track ${branch##*/} $branch | |
| done | 
  
    
      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
    
  
  
    
  | (main)> magic = App.delegate.instance_variable_get('@magic_controller') | |
| => #<MagicController:0xc072f00> | |
| (main)> ap magic.methods | |
| [ | |
| [ 0] !() MagicController (NSObject) | |
| [ 1] !=:(arg1) MagicController (NSObject) | |
| [ 2] !~:(arg1) MagicController (NSObject) | |
| [ 3] <<:(arg1) MagicController (UIViewController) | |
| [ 4] <=>:(arg1) MagicController (NSObject) | |
| [ 5] | 
  
    
      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
    
  
  
    
  | (main)> magic = App.delegate.instance_variable_get('@magic_controller') | |
| => #<MagicController:0xc167ff0> | |
| (main)> ap magic.methods | |
| [ | |
| [ 0] !() MagicController (NSObject) | |
| [ 1] !=:(arg1) MagicController (NSObject) | |
| [ 2] !~:(arg1) MagicController (NSObject) | |
| [ 3] | 
  
    
      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
    
  
  
    
  | class Foo | |
| class << self | |
| attr_accessor :bar | |
| end | |
| def self.current_thing | |
| @bar ||= calculate_current_thing | |
| end | 
  
    
      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
    
  
  
    
  | unless @_mGotData | |
| # If the data starts with BOM, we know it is UTF | |
| if data[0,3] == "\xEF\xBB\xBF": | |
| # EF BB BF UTF-8 with BOM | |
| @result = {"encoding"=> "UTF-8", "confidence"=> 1.0} | |
| elsif data[0,4] == "\xFF\xFE\x00\x00": | |
| # FF FE 00 00 UTF-32, little-endian BOM | |
| @result = {"encoding"=> "UTF-32LE", "confidence"=> 1.0} | |
| elsif data[0,4] == "\x00\x00\xFE\xFF": | |
| # 00 00 FE FF UTF-32, big-endian BOM | 
  
    
      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
    
  
  
    
  | lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative |