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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <title>Test</title> | |
| <!-- Facebook Pixel Code --> | |
| <script> | |
| !function (f, b, e, v, n, t, s) { | |
| if (f.fbq) return; n = f.fbq = function () { |
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
| $installer = $this; | |
| $installer->startSetup(); | |
| $data = array( | |
| 'label' => 'Bulb Type', | |
| 'type' => 'varchar', | |
| 'backend' => 'catalog/resource_product_attribute_backend_image', | |
| 'input' => 'image', | |
| 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE, |
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
| server { | |
| return 404; | |
| } | |
| server { | |
| listen 80; | |
| server_name www.$APP; | |
| return 301 http://$APP$request_uri; | |
| } |
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
| <snippet> | |
| <content><![CDATA[ | |
| console.log(${1}); | |
| ]]></content> | |
| <tabTrigger>log</tabTrigger> | |
| <scope>source.js</scope> | |
| </snippet> |
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
| time php -f shell/indexer.php reindexall | while read line; do echo "$(date) - $line"; 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
| $installer = $this; | |
| $installer->startSetup(); | |
| $cmsBlocks = array( | |
| array( | |
| 'title' => 'Title', | |
| 'identifier' => 'block_id', | |
| 'content' => 'content', | |
| 'is_active' => 1, | |
| 'stores' => 0 |
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
| $installer = $this; | |
| $installer->startSetup(); | |
| $cmsPages = array( | |
| array( | |
| 'title' => 'Page 1 - Title', | |
| 'identifier' => 'page_1', | |
| 'content' => '<p>Some page content</p>', | |
| 'is_active' => 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
| # Left side | |
| defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
| # Right Side | |
| defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
| #Restart the dock so they show | |
| killall Dock |