- Domain (i.e. example.com)
- Subdomain(s): (i.e. www.example.com)
- Username
- App name
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
| <link rel="import" href="../google-map/google-map.html"> | |
| <link rel="import" href="../chart-js/chart-js.html"> | |
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; |
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
| iP(hone|od)|(a|A)ndroid.*(m|M)(obile|ini)|(a|A)ndroid 3|BlackBerry|IEMobile|Windows Mobile|Windows Phone|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune|Googlebot-Mobile |
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
| new Promise(function(resolve,reject){ | |
| setTimeout(function(){ console.log('1500'); resolve('ok1') },1500) | |
| }).then( | |
| function(result) { | |
| new Promise(function(resolve,reject){ | |
| setTimeout(function(){ console.log('1500'); resolve('ok2') },1500) | |
| }).then(function(result){ | |
| console.log(result); | |
| new Promise(function(resolve,reject){ | |
| setTimeout(function(){ console.log('6500'); resolve('ok3') },6500) |
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
| <customer_account_create> | |
| <reference name="customer_form_register"> | |
| <action method="setData"><key>show_address_fields</key><value>1</value></action> | |
| </reference> | |
| </customer_account_create> |
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 | |
| $date_plus_60_days = new DateTime("30-06-2017"); | |
| $date_plus_60_days->modify("+1 days"); | |
| $date_plus_60_days->modify("+3 days"); | |
| //echo $date_plus_60_days->format("D"); | |
| $d_leadtime = 3; | |
| $date = "30/06/2014"; |
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
| SELECT DISTINCT(p.ID), p.post_title, p.post_content FROM `wp_posts` p | |
| LEFT JOIN wp_posts im ON p.ID = im.post_parent AND im.post_type = "attachment" | |
| WHERE p.post_status ='publish' | |
| AND p.post_type = "post" | |
| AND im.ID IS NULL | |
| AND p.post_content NOT REGEXP 'src=".*"' |
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
| if (Mage::getSingleton('customer/session')->isLoggedIn()) { | |
| // Load the customer's data | |
| $customer = Mage::getSingleton('customer/session')->getCustomer(); | |
| $customer->getPrefix(); | |
| $customer->getName(); // Full Name | |
| $customer->getFirstname(); // First Name | |
| $customer->getMiddlename(); // Middle Name |
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
| const TYPE_BOOLEAN = 'boolean'; | |
| const TYPE_SMALLINT = 'smallint'; | |
| const TYPE_INTEGER = 'integer'; | |
| const TYPE_BIGINT = 'bigint'; | |
| const TYPE_FLOAT = 'float'; | |
| const TYPE_NUMERIC = 'numeric'; | |
| const TYPE_DECIMAL = 'decimal'; | |
| const TYPE_DATE = 'date'; | |
| const TYPE_TIMESTAMP = 'timestamp'; // Capable to support date-time from 1970 + auto-triggers in some RDBMS | |
| const TYPE_DATETIME = 'datetime'; // Capable to support long date-time before 1970 |
OlderNewer