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
    
  
  
    
  | rsync -avz . ~/path/to/new/location/ --delete; fswatch -o . | while read f; do rsync -avz . ~/path/to/new/location/ --delete; done | 
  
    
      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
    
  
  
    
  | <IfModule mod_rewrite.c> | |
| RewriteEngine on | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^wp-content/uploads/(.*\.(gif|jpg|png)) http://EXAMPLE.com/wp-content/uploads/$1 [L,R] | |
| </IfModule> | 
  
    
      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
    
  
  
    
  | function isPhone(phone) { | |
| var regex = /\(?([0-9]{3})\)?([ .-]?)([0-9]{3})\2([0-9]{4})/; | |
| return regex.test(phone); | |
| } | |
| function isEmail(email) { | |
| var regex = | |
| /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/; | |
| return regex.test(email); | |
| } | 
  
    
      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
    
  
  
    
  | (function($){ | |
| var __placeholder__ = { | |
| init : function(){ | |
| console.log('hello world'); | |
| } | |
| }; | |
| $(document).ready(function() { | |
| __placeholder__.init(); | |
| }); | 
  
    
      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
    
  
  
    
  | RewriteCond %{HTTP_HOST} ^www\.example\.com [NC] | |
| RewriteRule ^(.*)$ http://example.com/$1 [R=301,NC,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
    
  
  
    
  | find ./ -type d -exec chmod 755 {} \; | |
| find ./ -type f -exec 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
    
  
  
    
  | // Heading styles | |
| @each $size, $headers in $header-styles { | |
| @include breakpoint($size) { | |
| @each $header, $header-defs in $headers { | |
| $font-size-temp: 1rem; | |
| .#{$header} { | |
| @if map-has-key($header-defs, font-size) { | |
| $font-size-temp: rem-calc(map-get($header-defs, font-size)); | |
| font-size: $font-size-temp; | 
  
    
      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
    
  
  
    
  | update tablename set fieldname = replace(fieldname,'stringtofind','stringtoreplace'); | 
  
    
      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
    
  
  
    
  | chown -R www-data:www-data /var/www | 
  
    
      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
    
  
  
    
  | find ./ -type d -exec chmod 755 {} \; | |
| find ./ -type f -exec chmod 644 {} \; |