I hereby claim:
- I am wlvrn on github.
- I am cv (https://keybase.io/cv) on keybase.
- I have a public key whose fingerprint is 228E A7DC A7C4 58C1 7407 5D3A BDFA 0A21 5472 090A
To claim this, I am signing this object:
| SELECT * FROM table WHERE created_on <= DATE_SUB( NOW(), INTERVAL 1 WEEK ); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <layout> | |
| <default> | |
| <reference name="root"> | |
| <block type="core/text_list" name="new_root_node" as="new_root_node" translate="label"> | |
| <label>New Root Node</label> | |
| </block> | |
| </reference> | |
| <reference name="new_root_node"> | |
| <block type="catalog/text" name="some_block" template="page/html/some_template.phtml" /> |
| <?php | |
| $integer = new \SplInt( 5 ); | |
| if( false === filter_var( $integer, FILTER_VALIDATE_INT, array( 'options' => array( 'min_range' => 1, 'max_range' => 9 ) ) ) ) | |
| { | |
| throw new \InvalidArgumentException( sprintf( 'An integer value of 1 through 9 is required, %s "%s" given.', gettype( $integer ), $integer ) ); | |
| } | |
| // Result: |
| <?php | |
| public function getInnerIterator() | |
| { | |
| return $this->_children; | |
| } | |
| public function current() | |
| { | |
| return $this->getInnerIterator()->current(); | |
| } |
| <?php | |
| public function getInnerIterator() | |
| { | |
| return $this->_children; | |
| } | |
| public function current() | |
| { | |
| return $this->getInnerIterator()->current(); | |
| } |
| <?php | |
| class Layout extends \ArrayIterator | |
| { | |
| } | |
| class Block extends \ArrayIterator | |
| { | |
| protected $_alias; |
| SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ( 'column' ) AND TABLE_SCHEMA='database_name'; |
| <reference name="product_list"> | |
| <!-- If the system configuration node "one_ul_product_list" is true, execute this action --> | |
| <action method="setColumnCount" ifconfig="sample/config/one_ul_product_list"> | |
| <columns>10000</columns> | |
| </action> | |
| </reference> |
| <?php | |
| require_once('app/Mage.php'); | |
| Mage::app(); | |
| $stores = array_map(function($store) { | |
| return $store->getId(); | |
| }, Mage::app()->getStores(true)); | |
| foreach ($stores as $store_id) { | |
| // Setup app emulation |
I hereby claim:
To claim this, I am signing this object: