Find attribute_id
SELECT * FROM eav_attribute where attribute_code = 'is_anchor'
Update all of them with anchor_id from above (usually is ID 51)
UPDATE `catalog_category_entity_int` set value = 1 where attribute_id = 51
| { | |
| "cmd": ["php", "$file"], | |
| "selector": "source.php", | |
| "target": "exec", | |
| "variants": [ | |
| { "cmd": ["/usr/local/php5/bin/phpunit", "$file"], | |
| "name": "Run" | |
| } | |
| ] | |
| } |
| { | |
| "cmd" : ["$file"], | |
| "selector" : "source.shell", | |
| "shell" : "bash" | |
| } |
These set of scripts are for Magento 1. For Magento 2, see this Gist.
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |