This file contains 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(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Splat=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
var Entity = _dereq_("./entity"); | |
function AnimatedEntity(x, y, width, height, sprite, spriteOffsetX, spriteOffsetY) { | |
this.sprite = sprite; | |
this.spriteOffsetX = spriteOffsetX; | |
this.spriteOffsetY = spriteOffsetY; | |
Entity.call(this, x, y, width, height); | |
} | |
AnimatedEntity.prototype |
This file contains 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
{ | |
"teams":{ | |
"1":{ | |
"seed":"1", | |
"name":"Florida", | |
"record":"32–2", | |
"rank":"1" | |
}, | |
"2":{ | |
"seed":"16", |
This file contains 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
/* MDP Color Pack */ | |
$reports-light-blue: rgba( 94,125,172,1); | |
$reports-blue: rgba( 74,108,158,1); | |
$light-grey-blue: rgba( 70, 91,113,1); | |
$grey-blue: rgba( 58, 78, 99,1); | |
$mortenson-blue: rgba( 24, 79,166,1); | |
$make-it-grey: rgba( 70, 70, 70,1); | |
$dark-grey: rgba( 70, 70, 70,1); | |
$not-black: rgba( 27, 29, 30,1); |
This file contains 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
xcodebuild -target "~/projects/mine/Ejecta/Kick Bot.xcodeproj" -scheme "Ejecta" -configuration "Release" -sdk iphoneos7.1 -arch "armv7" CONFIGURATION_BUILD_DIR="TestBuild" ONLY_ACTIVE_ARCH=NO |
This file contains 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
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' |
This file contains 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
//works on my local machine, white screens the server | |
echo str_replace( ['<ul>','</ul>'], '', $string ); | |
//works great on both | |
echo str_replace( array('<ul>','</ul>'), '', $string ); | |
This file contains 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
/* | |
zk | |
bschk | |
pv | |
bk | |
tk |
This file contains 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
{ | |
"email": null, | |
"stripeToken": "1413rffqe3f1e1fwefwert1t1we", | |
"stripeShippingName": "A Test User", | |
"stripeShippingAddressLine1": "1we2e12", | |
"stripeShippingAddressZip": "62650", | |
"stripeShippingAddressState": "IL", | |
"stripeShippingAddressCity": "Jacksonville", | |
"stripeShippingAddressCountry": "United States", | |
"products": [ |
This file contains 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 postJSONtoURL($data, $url, $v=false){ | |
$content = json_encode($data); | |
if($v){ echo "<script>console.log('JSON you are posting:\\n ".$content."\\n');</script>"; } | |
if($v){ echo "<script>console.log('URL you are posting to\\n ".$url."\\n');</script>"; } | |
$curl = curl_init($url); | |
curl_setopt($curl, CURLOPT_HEADER, false); | |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($curl, CURLOPT_HTTPHEADER, array("Content-type: application/json")); | |
curl_setopt($curl, CURLOPT_POST, true); | |
curl_setopt($curl, CURLOPT_POSTFIELDS, $content); |
This file contains 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
Apache config: | |
<VirtualHost *:80> | |
ProxyPreserveHost On | |
ProxyRequests Off | |
ServerAlias [your domain or subdomain here] | |
ProxyPass / http://localhost:2368/ | |
ProxyPassReverse / http://localhost:2368/ | |
</VirtualHost> |
OlderNewer