CRUD = Create, Read, Update, Delete
$host = '127.0.0.1';
$dbname = 'test';
$username = 'root';| #!/usr/bin/env python | |
| # This script is meant to be used with bitcoin_fork_claimer: https://github.com/ymgve/bitcoin_fork_claimer | |
| # The outputs of this script are the inputs to that script. | |
| # Python 2.x is required | |
| import urllib2 | |
| import json | |
| import sys | |
| import collections |
RequireJs module needs to be defined inside: Your_Module/view/frontend/web/module.js path
Simple RequireJs module definition can look like this:
http://collabshot.com/show/A65S78
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| #!/usr/bin/env bash | |
| [[ $- == *i* ]] && echo "This Bash Shell is Interactive Shell" || echo "This Bash Shell is Not a Interactive Shell" | |
| shopt -q login_shell && echo "This Bash Shell is a Login Shell" || echo "This Bash Shell is Not a Login Shell" |
| <?php | |
| /** @var $collection Mage_Catalog_Model_Resource_Category_Collection */ | |
| $collection = Mage::getModel('catalog/category', array('disable_flat' => true))->getCollection(); | |
| // ... custom stuff |
| ; configuration for php ZendOpcache module | |
| ; Tuned for Magento 1.13.1 on PHP 5.5 | |
| ; Test server has 8 CPU cores and 32 GB RAM | |
| zend_extension=opcache.so | |
| [opcache] | |
| opcache.memory_consumption=256 | |
| opcache.interned_strings_buffer=12 | |
| opcache.max_accelerated_files=16000 | |
| opcache.enable_file_override=1 |
| # ######################################################################## | |
| # api2_acl_attribute | |
| # ######################################################################## | |
| # IDX_API2_ACL_ATTRIBUTE_USER_TYPE is a left-prefix of UNQ_API2_ACL_ATTRIBUTE_USER_TYPE_RESOURCE_ID_OPERATION | |
| # Key definitions: | |
| # KEY `IDX_API2_ACL_ATTRIBUTE_USER_TYPE` (`user_type`) | |
| # UNIQUE KEY `UNQ_API2_ACL_ATTRIBUTE_USER_TYPE_RESOURCE_ID_OPERATION` (`user_type`,`resource_id`,`operation`), | |
| # Column types: | |
| # `user_type` varchar(20) not null comment 'type of user' |