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
array( | |
00501, | |
01001, | |
01002, | |
01003, | |
01004, | |
01005, | |
01007, | |
01008, | |
01009, |
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 | |
return [ | |
'' => 'Please Select A Provider', | |
'@message.alltel.com' => 'Alltel', | |
'@txt.att.net' => 'AT&T', | |
'@txt.bell.ca' => 'Bell Mobility', | |
'@cingularme.com' => 'Cingular', | |
'@fido.ca' => 'Fido', | |
'@msg.koodomobile.com' => 'Kudo 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
$pvpitems = array( | |
"125827", //Warmongering Gladiator's Dreadplate Helm | |
"125829", //Warmongering Gladiator's Dreadplate Shoulders | |
"125825", //Warmongering Gladiator's Dreadplate Chestpiece | |
"125826", //Warmongering Gladiator's Dreadplate Gauntlets | |
"125828", //Warmongering Gladiator's Dreadplate Legguards | |
"126029", //Warmongering Combatant's Dreadplate Helm | |
"126031", //Warmongering Combatant's Dreadplate Shoulders | |
"126027", //Warmongering Combatant's Dreadplate Chestpiece | |
"126028", //Warmongering Combatant's Dreadplate Gauntlets |
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 your locations: HTML content for the info window, latitude, longitude | |
var locations = [ | |
//North America | |
['<h4>Seattle</h4>', 47.614848,-122.3359058], | |
['<h4>San Jose</h4>', 37.2970155,-121.8174109], | |
['<h4>Los Angeles</h4>', 34.0204989,-118.4117325], | |
['<h4>Chicago</h4>', 41.8337329,-87.7321555], | |
['<h4>Dallas</h4>', 32.8206645,-96.7313396], | |
['<h4>Toronto</h4>', 43.7182412,-79.378058], | |
['<h4>Newark</h4>', 40.73454,-74.16375], |
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 | |
// SETUP: | |
// 1. Customize all the settings (stripe api key, email settings, email text) | |
// 2. Put this code somewhere where it's accessible by a URL on your server. | |
// 3. Add the URL of that location to the settings at https://manage.stripe.com/#account/webhooks | |
// 4. Have fun! | |
// set your secret key: remember to change this to your live secret key in production | |
// see your keys here https://manage.stripe.com/account |
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 | |
$code = strtolower(substr(base64_encode(sha1(mt_rand())), 0, 32)); | |
return print $code | |
?> |
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($fileext == "css"){ | |
Storage::disk('s3') -> getDriver() ->put($directoryname . "/" . $filename, $contents, [ | |
'ContentType' => 'text/css' | |
]); | |
} else if($fileext == "js"){ | |
Storage::disk('s3') -> getDriver() ->put($directoryname . "/" . $filename, $contents, [ | |
'ContentType' => 'application/javascript' | |
]); | |
} |
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
Storage::disk('s3') -> getDriver() ->put('file.css', $contents, ['ContentType' => 'text/css']); |
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
/*! | |
* jQuery Validation Plugin v1.13.1 | |
* | |
* http://jqueryvalidation.org/ | |
* | |
* Copyright (c) 2014 Jörn Zaefferer | |
* Released under the MIT license | |
*/ | |
(function( factory ) { | |
if ( typeof define === "function" && define.amd ) { |
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
<textarea name="my-xml-editor" data-editor="xml" rows="15"></textarea> | |
... | |
<textarea name="my-markdown-editor" data-editor="markdown" rows="15"></textarea> | |
... | |
<script src="//d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js"></script> | |
<script> | |
// Hook up ACE editor to all textareas with data-editor attribute | |
$(function () { |