A Pen by yoichi kobayashi on CodePen.
- Use 
curlto get the JSON response for the latest release - Use 
grepto find the line containing file URL - Use 
cutandtrto extract the URL - Use 
wgetto download it 
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \Pure CSS glitched, noisy, analog-y text.
A Pen by Lucas Bebber on CodePen.
  
    
      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
    
  
  
    
  | <?php | |
| function sanitize_phone( $phone, $international = false ) { | |
| $format = "/(?:(?:\+?1\s*(?:[.-]\s*)?)?(?:\(\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\s*\)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\s*(?:[.-]\s*)?)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\s*(?:[.-]\s*)?([0-9]{4})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?$/"; | |
| $alt_format = '/^(\+\s*)?((0{0,2}1{1,3}[^\d]+)?\(?\s*([2-9][0-9]{2})\s*[^\d]?\s*([2-9][0-9]{2})\s*[^\d]?\s*([\d]{4})){1}(\s*([[:alpha:]#][^\d]*\d.*))?$/'; | |
| // Trim & Clean extension | |
| $phone = trim( $phone ); | |
| $phone = preg_replace( '/\s+(#|x|ext(ension)?)\.?:?\s*(\d+)/', ' ext \3', $phone ); | 
  
    
      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
    
  
  
    
  | <?php | |
| /******************************************************************** | |
| File name: rest_test.php | |
| Description: | |
| A PHP test script that calls the Coupon AutoGen extension | |
| to Magento's REST API. | |
| The Coupon AutoGen API takes: | |
| -- the rule ID of the "Generate Coupons" rule to execute | |
| -- the number of coupon codes to generate | |
| -- the length of each coupon code | 
  
    
      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
    
  
  
    
  | <?php | |
| /** | |
| * This file demonstrates using Atlassian Crowd for Single Sign On. | |
| */ | |
| $crowd_app_name = 'REMOVED'; | |
| $crowd_app_password = 'REMOVED'; | |
| $crowd_url = 'http://crowd.REMOVED.com/crowd/services/SecurityServer?wsdl'; | |
| // http://pear.php.net/package/Services_Atlassian_Crowd |