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 | |
| # Kill processes orphaned by Jenkins | |
| # Work around Java's use of SIGTERM rather than SIGKILL and | |
| # Jenkins's lack of any workaroud in the box. | |
| # Suggested usage: | |
| # | |
| # $ crontab -l | 
  
    
      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
    
  
  
    
  | # Hacky random image thumbnailer. | |
| # by Peter Sobot, April 21, 2012 | |
| # Based heavily on code by Michael Macias | |
| # (https://gist.github.com/a54cd41137b678935c91) | |
| require 'rmagick' | |
| images = Dir.glob(ARGV[0] ? ARGV[0] | |
| : '-default-input-paths-') | |
| output_dir = (ARGV[1] ? ARGV[1] |