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
# Connect to Shell | |
ssh {url} | |
# List Directory Contents | |
ls | |
# Change Directory To | |
cd {directory} |
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
## Current Date/Time in Cell | |
=NOW() | |
## GOAL: Convert A2 into lat/long cords in B2 | |
## Geocoding from: http://open.mapquestapi.com/geocoding/#parameters | |
## Cells [A:Location] [B:Final GeoLocation] |
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
## Start/Stop | |
<?php // StartPHP | |
doPHPFunction(); | |
/* | |
?> // StopPHP | |
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
@import "elements.less"; | |
@import url(http://fonts.googleapis.com/css?family=Lato:400,700); | |
@height : 50px; | |
@black : #000000; | |
@white : #ffffff; | |
@water : #2682D5; | |
@sky : #33CBE0; | |
@red : #DC3964; | |
@orange : #EC7547; |
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 | |
include_once ( 'unity3d-assetstore.php' ); | |
// Doesn't matter what is used for the publisher name, | |
// the key still points to only one publisher. | |
$authArray = array ( | |
'publisher' => '{PUBLISHER_NAME}' | |
'key' => '{PUBLISHER_KEY}', | |
); |
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 | |
/** | |
* CodePen.io user feed example | |
*/ | |
include_once("codepen.php"); | |
if ((isset($_REQUEST['format']) && $_REQUEST['format'] == 'xml') || | |
(isset($_REQUEST['output']) && $_REQUEST['output'] == 'xml') ) { |
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 | |
/** | |
* DirectoryContent Class | |
*/ | |
class DirectoryContent | |
{ | |
/** | |
* @var $filename string | |
* @var $path 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
<?php | |
require_once (__DIR__ . "/lib/Unirest.php"); | |
$response = Unirest::post("http://httpbin.org/post", array( "Accept" => "application/json" ), | |
array( | |
"parameter" => 23, | |
"foo" => "bar" | |
) | |
); |
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 | |
// Turn off by using Errors::activate(false); | |
Errors::activate(true); | |
/** | |
* Class Errors | |
* @description Echo error info and store data in static variables when active | |
*/ | |
class Errors |
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 | |
Debug::Test("Testing... 1", ",2", ",3"); | |
/* | |
[12:11:13] Testing... 1,2,3 | |
[12:11:13] Testing Log | |
[12:11:13 WARNING] Testing Warn | |
[12:11:13 ERROR] Testing Error | |
[12:11:13 DUMP | array | Testing var_dump] |
OlderNewer