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
<?php | |
$sets = array(); | |
$fruit = array('apples', 'grapes'); | |
$numbers = array('one', 'two', 'three'); | |
$sets[] = &$fruit; | |
$sets[] = &$numbers; | |
$fruit[] = 'banana'; |
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
<?php | |
/** | |
* mailtest.php | |
* | |
* Provides a <s>simple</s> wrapper for testing PHP's mail() function. | |
* Relies on sendmail | |
* | |
* @Author Dan DuLeone <[email protected]> | |
* | |
* Required: |
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
🔥⚡Gunzzy Ѧ⚡🔥 | l+k://player?91449&52 | |
INVITE | |
DISMISS | |
MOD FORUM | |
MASS MAIL | |
CHANGE RIGHTS | |
🌋⚡Jesse Sir'Cop⚡🌋 | l+k://player?27382&52 | |
MASS MAIL |
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
🔥⚡Gunzzy Ѧ⚡🔥|l+k://player?91449&52 | |
🌋⚡Jesse Sir'Cop⚡🌋|l+k://player?27382&52 | |
🌋⚡💀DДЯҜMДSГΞЯ💀⚡🌋|l+k://player?24389&52 | |
🌋🔥⚡️ཫᎪཇƙɑའ ⚡️🔥🌋|l+k://player?17157&52 | |
🌋⚡Elora⚡ 🎲 🌋|l+k://player?8880&52 | |
🌋⚡Darndogg⚡🌋ⓓ|l+k://player?24388&52 | |
putyet|l+k://player?65133&52 | |
🔥⚡✠White Knight8✠⑤⚡🔥|l+k://player?17189&52 | |
🌋⚡ Pagoshus ⚡🌋 ⓓ|l+k://player?66381&52 | |
ⓓ🌋⚡✠⃞̤༒HighKingEmeric✪✪✠⃞̤🌋|l+k://player?47335&52 |
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
{ | |
"59665": { | |
"nick": "\ud83c\udf0b\u26a1\u271fSlingshot\u2721\u272a\u272f\ud83d\udc34\u26a1\ud83c\udf0b", | |
"points": 22798, | |
"isOnVacation": false, | |
"alliance": { | |
"rankAverage": "5", | |
"points": "1783426", | |
"id": "2396", | |
"pointsAverage": "13113", |
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
<?php | |
/* | |
CREATE SCHEMA `test`; | |
CREATE TABLE `animals` (`name` varchar(255), `color` varchar(255), `sound` varchar(255)); | |
INSERT INTO `animals` SET `name`='frog', `color`='green', `sound`='ribit'; | |
INSERT INTO `animals` SET `name`='cow', `color`='white', `sound`='moo'; | |
*/ |
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
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# Put this file: | |
# ~/.oh-my-zsh/themes/agnoster-mod.zsh-theme | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# |
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
<?php | |
$nlbr = "<br />\n"; | |
$x = new stdClass(); | |
$x->dog = ""; | |
$x->cat = array(); | |
$x->snake = new stdClass(); | |
$x->mouse = FALSE; | |
$x->pig = TRUE; | |
$x->turtle = 0; |
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
<?php | |
// To write/create session cookie | |
function initSession ($url, $cookie) { | |
$curlConfig = array( | |
CURLOPT_URL => $url, // URL you're accessing | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_COOKIEJAR => $cookie, // Path to cookie file | |
CURLINFO_HEADER_OUT => true, | |
); |
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
<?php | |
$_NL2BR = TRUE; | |
// more: http://baylorrae.com/php-pubsub/ | |
class PubSub { | |
private static $events = array(); // all subscriptions |