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 | |
/** | |
* Class RestClient | |
*/ | |
class RestClient | |
{ | |
private $curl; | |
private $url; |
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
I have already removed existing versions... then. | |
brew doctor | |
brew tap homebrew/dupes | |
brew tap homebrew/versions | |
brew tap homebrew/php | |
brew tap homebrew/apache | |
brew update |
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
# Password protect this directory | |
# ========================================== | |
# AuthType Basic | |
# AuthName "Restricted Area" | |
# AuthUserFile /etc/httpd/conf/.htpasswd | |
# require valid-user | |
# Make PHP code look like other code types | |
# AddType application/x-httpd-php .asp .py .pl |
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
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<!--[if IE]><meta http-equiv="x-ua-compatible" content="IE=9" /><![endif]--> | |
<meta name="handheldfriendly" content="true" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<meta name="description" content="" /> | |
<meta name="keywords" content="" /> | |
<meta name="author" 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
# Password protect this directory | |
# ========================================== | |
AuthType Basic | |
AuthName "Restricted Area" | |
AuthUserFile /etc/httpd/conf/.htpasswd | |
require valid-user | |
# Make PHP code look like other code types | |
AddType application/x-httpd-php .asp .py .pl |
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 | |
/** | |
* QR Code + Logo Generator | |
* | |
* http://labs.nticompassinc.com | |
*/ | |
$data = isset($_GET['data']) ? $_GET['data'] : 'http://labs.nticompassinc.com'; | |
$size = isset($_GET['size']) ? $_GET['size'] : '200x200'; | |
$logo = isset($_GET['logo']) ? $_GET['logo'] : FALSE; |