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
    
  
  
    
  | package main | |
| import ( | |
| "errors" | |
| "fmt" | |
| ) | |
| // Task represents a callable task to be executed | |
| type Task func() error | 
  
    
      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
    
  
  
    
  | package main | |
| import ( | |
| "errors" | |
| "fmt" | |
| ) | |
| // Task represents a callable task to be executed | |
| type Task func() | 
  
    
      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
    
  
  
    
  | SSH_ENV="$HOME/.ssh/environment" | |
| function start_agent { | |
| echo "Initialising new SSH agent..." | |
| /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
| echo succeeded | |
| chmod 600 "${SSH_ENV}" | |
| . "${SSH_ENV}" > /dev/null | |
| /usr/bin/ssh-add; | |
| } | 
  
    
      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
    
  
  
    
  | // http://play.golang.org/p/YbcN6-hLq- | |
| // | |
| package main | |
| import "fmt" | |
| type Methoder interface{ | |
| Method() | |
| } | 
  
    
      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
    
  
  
    
  | git ls-files --stage | grep 160000 | 
  
    
      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
    
  
  
    
  | var gtmActions = { | |
| "a": function (callback) { | |
| console.log("a"); | |
| window.setTimeout(callback, 500) | |
| }, | |
| "b": function (callback) { | |
| console.log("b"); | |
| window.setTimeout(callback, 500) | |
| }, | |
| "c": function (callback) { | 
  
    
      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
    
  
  
    
  | git name-rev --tags --name-only $(git rev-parse HEAD) | 
  
    
      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
    
  
  
    
  | ls *.mkv | sed -E -e 's/^(.+)[.][^.]+$/ffmpeg -i "&" -vcodec copy -acodec aac "\1.mp4"/g' | sh | 
  
    
      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
    
  
  
    
  | /* | |
| * Scroll to page section if it exists, but delay for a bit first. | |
| */ | |
| var page = location.href.replace(/^.+?\/?([^\/]+)$/i, '$1') | |
| , delay = 500 | |
| , offset = -50 | |
| , $anchor; | |
| if (page && ($anchor = $('a[name="'+page+'"]')).length) { | |
| $('html,body').delay(delay).animate({scrollTop: $anchor.offset().top + offset}, 'slow'); | 
  
    
      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
    
  
  
    
  | if (typeof Function.prototype.bind === 'undefined') { | |
| /** | |
| * Function bind(obj[, arg1[, arg2[, ...]]]) polyfill | |
| * | |
| * @param obj | |
| * | |
| * @returns {Function} | |
| */ | |
| Function.prototype.bind = function (obj) { | |
| var fn = this, |