Skip to content

Instantly share code, notes, and snippets.

View juliomenendez's full-sized avatar

Julio Carlos Menendez juliomenendez

View GitHub Profile
@juliomenendez
juliomenendez / gist:9198877
Created February 24, 2014 22:43
keybase.md
### Keybase proof
I hereby claim:
* I am juliomenendez on github.
* I am juliomenendez (https://keybase.io/juliomenendez) on keybase.
* I have a public key whose fingerprint is 10EA 758B E61E 4A69 034F 79E7 CA6F 0544 C1AA F2A4
To claim this, I am signing this object:
<?php
define('APP_ROOT', realpath(dirname(__FILE__)) . '/');
require APP_ROOT . 'vendor/autoload.php';
use Mr\Api\Service;
$serv = new Service('xxxxxx', 'xxxxxxxxxxxx');
write-host "checking..."
# check for apache
$apache = scoop which httpd
if($lastexitcode -ne 0) { 'Apache isn''t installed. run ''scoop install apache'''; return }
# check for php
$php = scoop which php
if($lastexitcode -ne 0) { 'PHP isn''t installed. run ''scoop install php'''; return }