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
    
  
  
    
  | sed -ri 's/(\([^\)]+\),)/&\n/ig' dump.sql | 
  
    
      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 | |
| /** | |
| * | |
| */ | |
| set_time_limit(0); | |
| ini_set('display_errors', 'on'); | |
| class jBot { | 
  
    
      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
    
  
  
    
  | for file in $(git ls-files --deleted); do git rm "$file"; 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
    
  
  
    
  | perl -p -i -e 's/oldstring/newstring/g' `find ./ -name "*.html"` | 
  
    
      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
    
  
  
    
  | :w !sudo tee % > /dev/null | 
  
    
      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
    
  
  
    
  | perl -F"\t" -lane 'print join ",", map {s/"/""/g; /^[\d.]+$/ ? $_ : qq("$_")} @F ' | 
  
    
      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 . -name ".svn" -type d -exec rm -rf {} \; | 
  
    
      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 | |
| /** | |
| * Symfony admin generator test template | |
| * @see https://gist.github.com/1304240 | |
| */ | |
| /** | |
| * The model name | |
| */ | |
| $model = 'ModelName'; | 
  
    
      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
    
  
  
    
  | parse_git_branch () { | |
| git symbolic-ref HEAD 2> /dev/null | sed -e 's/\^0$//' | sed 's#refs\/heads\/\(.*\)#\1#' | |
| } | |
| BLACK="\[\033[0;38m\]" | |
| RED="\[\033[0;31m\]" | |
| RED_BOLD="\[\033[01;31m\]" | |
| BLUE="\[\033[01;34m\]" | |
| GREEN="\[\033[0;32m\]" | 
  
    
      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
    
  
  
    
  | TRUNCATE TABLE `catalog_category_entity`; | |
| TRUNCATE TABLE `catalog_category_entity_datetime`; | |
| TRUNCATE TABLE `catalog_category_entity_decimal`; | |
| TRUNCATE TABLE `catalog_category_entity_int`; | |
| TRUNCATE TABLE `catalog_category_entity_text`; | |
| TRUNCATE TABLE `catalog_category_entity_varchar`; | |
| TRUNCATE TABLE `catalog_category_product`; | |
| TRUNCATE TABLE `catalog_category_product_index`; | |
| insert into `catalog_category_entity`(`entity_id`,`entity_type_id`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`) values (1,3,0,0,'0000-00-00 00:00:00′,'2009-02-20 00:25:34′,'1′,1,0,1),(2,3,3,0,'2009-02-20 00:25:34′,'2009-02-20 00:25:34′,'1/2′,1,1,0); | |
| insert into `catalog_category_entity_int`(`value_id`,`entity_type_id`,`attribute_id`,`store_id`,`entity_id`,`value`) values (1,3,32,0,2,1),(2,3,32,1,2,1); |