OD Ember Huskar Necro Weaver PA Sniper Jugg
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
Emulated Device | |
Name: Samsung Galaxy Mega 5.8 | |
Reso: 540 x 960 | |
UA: Mozilla/5.0 (Linux; U; Android 4.2.2; en-us; ALCATEL ONE TOUCH Fierce Build/JDQ39) | |
AppleWebKit/534.30 (KHTML, like Gecko) | |
Version/4.2 Mobile Safari/534.30 |
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
FROM php:7.0-apache | |
MAINTAINER Tony Lea <[email protected]> | |
EXPOSE 80 | |
RUN docker-php-ext-install pdo pdo_mysql mysqli | |
RUN apt-get update && \ | |
apt-get install -qqy \ | |
libmcrypt-dev \ |
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
Q: How to add files | |
A: git add -A | |
Q: How to commit changes | |
A: git commit -am "Comment" | |
Q: How to see history of commits | |
A: git log --oneline --decorate | |
Q: How to undo `git add -A` |
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
Define and run multi-container applications with Docker. | |
Usage: | |
docker-compose [-f=<arg>...] [options] [COMMAND] [ARGS...] | |
docker-compose -h|--help | |
Options: | |
-f, --file FILE Specify an alternate compose file (default: docker-compose.yml) | |
-p, --project-name NAME Specify an alternate project name (default: directory name) | |
--verbose Show more output |
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
$(".positive-integer").numeric({ decimal: false, negative: false }, function () { alert("Positive integers only"); this.value = ""; this.focus(); }); |
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
function get(url) { | |
// Return a new promise. | |
return new Promise(function(resolve, reject) { | |
// Do the usual XHR stuff | |
var req = new XMLHttpRequest(); | |
req.open('GET', url); | |
req.onload = function() { | |
// This is called even on 404 etc | |
// so check the status |
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
<w:drawing> | |
<wp:anchor distT="0" distB="0" distL="114300" distR="114300" simplePos="0" relativeHeight="251651072" behindDoc="1" locked="1" layoutInCell="1" allowOverlap="1"> | |
<wp:simplePos x="0" y="0"/> | |
<wp:positionH relativeFrom="page"> | |
<wp:align>center</wp:align> | |
</wp:positionH> | |
<wp:positionV relativeFrom="page"> | |
<wp:align>center</wp:align> | |
</wp:positionV> | |
<wp:extent cx="7552690" cy="10692130"/> |
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 | |
/** | |
* Source : http://www.phptherightway.com/pages/Design-Patterns.html | |
*/ | |
class Singleton | |
{ | |
/** | |
* @var Singleton The reference to *Singleton* instance of this class | |
*/ | |
private static $instance; |