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 $imagefullpath; | |
| $img = ImageCreateFromJPEG($imagefullpath); | |
| $canvas = imagecreatetruecolor($thumb_w,$thumb_h); | |
| // following image calculation based on | |
| // http://return-true.com/2009/02/making-cropping-thumbnails-square-using-php-gd/ | |
| $orig_w = imagesx($img); | |
| $orig_h = imagesy($img); | |
| $w_ratio = ($thumb_w / $orig_w); | |
| $h_ratio = ($thumb_h / $orig_h); | |
| if ($orig_w > $orig_h) { // horizontal image | 
  
    
      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
    
  
  
    
  | a\s*(?i)href\s*=\s*(\"([^"]*\")|'[^']*'|([^'">\s]+)) | 
  
    
      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
    
  
  
    
  | .content { | |
| background: #EFEEEA url(../img/body-bg.png) repeat-y 0 0; | |
| background-size: 100%; | |
| padding: 100px 24px 120px; | |
| margin: 0 0 -30px; | |
| } | 
  
    
      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
    
  
  
    
  | border-collapse: collapse; | |
| color: rgb(0, 0, 0); | |
| display: block; | |
| font-family: Arial, Helvetica, sans-serif; | |
| font-size: 13px; | |
| font-weight: bold; | |
| height: 18px; | |
| line-height: 17px; | |
| margin-bottom: 0px; | |
| margin-left: 0px; | 
  
    
      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
    
  
  
    
  | # Title: Lead-in Text Block | |
| # Author: Yetrina Battad (http://aether.nu) | |
| # Description: Provides a block for lead-in text. Inspired by this plugin: http://blog.darkrefraction.com/2012/jekyll-excerpt-plugin.html | |
| # | |
| # Captures the text between the 'lead' block and places it in the post data's 'lead' property. | |
| # Also wraps the text between the 'lead' tags into a paragraph with CSS hook for styling. | |
| # | |
| # Usage: | |
| # {% lead %} | |
| # Wheeee! | 
  
    
      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
    
  
  
    
  | try: | |
| new_version = 'v' + download['version'] | |
| except: | |
| print '%s: Error parsing JSON from repository %s.' % (info.get('name'), self.repo) | |
| print '%s: Download version is null.' % (info.get('name')) | 
  
    
      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
    
  
  
    
  | <script src="modernizr.js"/> | |
| <script src="Placeholder.js"/> | |
| <script> | |
| Modernizr.load({ | |
| test: Modernizr.input.placeholder, | |
| nope: ['Placeholder.js'], | |
| complete: function(){Placeholders.init();} | |
| }); | |
| </script> | 
  
    
      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 config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | 
  
    
      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
    
  
  
    
  | # Secure the server: | |
| # https://library.linode.com/securing-your-server | |
| # Install essential stuff | |
| apt-get update | |
| apt-get upgrade | |
| apt-get install build-essential | |
| apt-get install git | |
| apt-get install zsh | |
| apt-get install zlib1g-dev # Dependency for bundler | 
  
    
      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
    
  
  
    
  | <div class="section group"> | |
| <div class="col span_1_of_6"> | |
| 1 of 6 | |
| </div> | |
| <div class="col span_1_of_6"> | |
| 1 of 6 | |
| </div> | |
| <div class="col span_1_of_6"> | |
| 1 of 6 | |
| </div> | 
OlderNewer