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
    
  
  
    
              Show hidden characters
| { | |
| "cmd" : ["mysql --defaults-file={path to mysite.my.conf} -t < $file >> /tmp/output.sql ; subl /tmp/output.sql"], | |
| "shell" : true, | |
| "path" : "/usr/local/bin:~/bin:$PATH" | |
| } | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env python | |
| import os | |
| import os.path | |
| import re | |
| import shutil | |
| import sys | |
| # Help message | |
| HELP = """Slugify | 
  
    
      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
    
  
  
    
  | dGZ0faGlveTnIQ9jKYmLQA2s6MQi8nsu7ef7f2nPUTc)KKAyc14ujoTQgQqCzQgUu5GQKopfCmk6CQuTquQLkiTyb1Yv6HQi9uKLrcphvtKePPsyYcmDrxKOuxLOKEMkCDj2irXXfs2mrSDvuEmk57cIPrKMhrjgjjIpROrtHmEvuDsvk3Ic11ij3tiv)vQYHLYVP0WecqniqcIdsXjJp5bObOaqbqa6C1sKW9eYixLCZlxUl)YDvhsLkxkKySuPGmOwIeUNqg5svyAkv(Ldfsvoo2uoKySuPG4Evse7RtqSvleQprFzlJa06Z3Qfg6CqZ1w6aPldX(ZPVCWyc6daDthv55F(wnOQTfabO1wDiank18HajsKG8Z7A6apaHrcIfeGXecq5(ZPVqaA9bOJyq2q0Q1vdGniDB4CiaJjOB6Okp)Z3QrcA9H6oFBPDbfTOdQW9q9bydIvHN2rpJ(ahu(dpajOWT9uB1UqagtWedgfGXemhqgvhYVC)UYkIvCrH844diXyvYrcQBTZ158iRZ65VvdMyqvBlacqfU3JvTX5GnO1wDiank18Hajsq8oNfeG4VEwDWCaAuQ5dbyoaBKibXQ24CiaXF9S6GICT)vLEJbjsq6YqS)C6lhmMGwF(wTWqNdQv2w42c6daPKFAesWOacq5(ZPVqaA9bOJyq2q0Q1vdGniDB4CiaJjOB6Okp)Z3QrcIvHN2rpJ(ahu(dpa06d1D(2s7cswav4EO(aSrckCBp1wTleGrbKrzLpuP6Uu5QKgRSPCLvbjgR6ajOU1oxNZJSoRN)wnyIbvTTaiav4Epw1gNd2GwB1Ha0OuZhcKibX7CwqaI)6z1bZbOrPMpeG5aSrIeeRAJZHae)1ZQdkY1(xv6ngKibT(8TAHHohuRSTWTf0ha6eEWxgGAbbF(wDR2l3Fo9LdbymHauU)C6leGsdDoOwzBG4LW(zUoPIej)5G6D6vs0JexdvaYgIwTUAaSb5N56eKs8wnnceVe2pZ1zK1L8NdIIi7(9bf4 | 
  
    
      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
    
  
  
    
  | dOZ1faGljW2iLzIimBb3MsDtLi6Ukr4Bs0Pr1oryVWUv0(fs9tsQHrQghv1Lv1qrKgSe0Wvshui6Ws6yuPZPsTqvYsvcPflewUOEiIONsSmfEostKeQPsXKPKPl1fvIQFlYZOIRtv2ij6Xc1MrX2vcvFujsojjKPPIVRemsLi1NvQrtcgVqYLuIYTijxdLopI6TkH4VsOxRekdxyGuHbnekKrb6f4aXgIfelyGeLAgg63G44YwGUU7r74FCkzHqwndd9BOuZrZ3PKv74OFy999bJQZbc9dmKM4ZgYLAJr9ssILR0aj)BEAAiV(q25K3kKPNTjZ37ptbHleUfesRHa5OlCP)AasivTGbsofEyGy7fAomOrJgYh1ADA9w4cnKyyaHlmqIsndd9BOu1TUoR)44RXo01gLdWOIDaPZ89(ZWajTWu9mqgxqMv7NcdiCHCvPnpnJUWet0fUuHuMmAiXE0ozxubU1dP52VfAiruZKmfszyaHlu67RXERF7ZE0000goGrfRdiCaHlAiR50o)ukP5pMt5Pji0HesvlyG4r)IXHkLIli5u4HbITxO5WGgne66hddekFUdpigqS9cnhgqmWfA0q8OFX4KDe1gxqIdvkfgiu(ChEiKgjjIuXkIanAitpBtMV3FMccxi0UgVyusMcPmmGWfkpSd3HMUV(WP8U8EagvA6GyacD0qY)MNMgYRpKQxUgrndHBb5QsBEAcXItxdvYMpQEr5BfAilBn6cxKLrxcivllEZtZAOyN579NPWGgcz1mm0VbHEb666USdw)s)BDTblAqmGbsuQzyOFdcv6fCFF7xwEpU18lzH0z(E)zyGKwyQEgiJliZQ9tHbeUqwE)5zneDHkdv7hnKypANSlQa36H0C73cnKiQzsMcPmmGyaLALUUJJgRUdRZGv)agvSoOHSMt78tPKM)yoLNMGqhsivTGbIh9lghQukUGKtHhgi2EHMddA0q8OFX4KDe1gxqORFmmqO85o8GyaX2l0CyaXaxOrdjouPuyGq5 | 
  
    
      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
    
  
  
    
  | # Set all directories to 755, all files to 644. | |
| find -type d -print0 | xargs -0 chmod 755 | |
| find -type f -print0 | xargs -0 chmod 644 | 
  
    
      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
    
  
  
    
  | # From https://bbs.archlinux.org/viewtopic.php?id=133595 | |
| # To use, store to /usr/share/nano/conf.nanorc | |
| # Add the following line to ~/.nanorc | |
| # include include /usr/share/nano/conf.nanorc | |
| # config file highlighting | |
| syntax "conf" "(\.(conf|config|cfg|cnf|rc|lst|list|defs|ini|desktop|mime|types|preset|cache|seat|service|htaccess)$|(^|/)(\w*crontab|mirrorlist|group|hosts|passwd|rpc|netconfig|shadow|fstab|inittab|inputrc|protocols|sudoers)$|conf.d/|.config/)" | |
| # default text | 
  
    
      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
    
  
  
    
  | # Add ~/bin and /usr/local/bin to the PATH | |
| export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| launchctl setenv PATH $PATH | |
| # Add color | |
| export CLICOLOR=1 | |
| export LSCOLORS=GxFxCxDxBxegedabagaced | 
  
    
      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 | |
| /** | |
| * Normalize non-ASCII characters to ASCII counterparts where possible. | |
| * | |
| * @param string $str | |
| * @return string | |
| */ | |
| function squashCharacters($str) | |
| { | 
  
    
      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
    
  
  
    
  | /** | |
| * Return a compare function to sort objects by a given property. | |
| * @param {string} property Name of the property to sort by. | |
| * @return {function} A compare function | |
| */ | |
| function compareByProperty(property) { | |
| return function (a, b) { | |
| if (a !== undefined && b !== undefined && property in a && property in b) { | |
| if (a[property] !== b[property]) { | |
| return a[property] < b[property] ? -1 : 1; | 
  
    
      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 | |
| // Return information about the request sent to this script. | |
| $request = array( | |
| 'protocol' => $_SERVER['SERVER_PROTOCOL'], | |
| 'method' => $_SERVER['REQUEST_METHOD'], | |
| 'host' => $_SERVER['HTTP_HOST'], | |
| 'path' => $_SERVER['REQUEST_URI'], | |
| 'queryString' => $_SERVER['QUERY_STRING'], | |
| 'headers' => apache_request_headers(), |