Skip to content

Instantly share code, notes, and snippets.

Matthew M. Emma ibuilder

Block or report user

Report or block ibuilder

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ibuilder
ibuilder / procore-pull-data.php
Last active Sep 23, 2019
PHP class to pull data from @procore
View procore-pull-data.php
<?php
class Procore_API{
private $client_id;
private $client_secret;
public function __construct() {
$general_settings = (array) get_option( 'procore_api_settings' );
$this->client_id = $general_settings["client_id"];
@ibuilder
ibuilder / server.sh
Last active Mar 11, 2017 — forked from Seanmcn/gist:62a021a765ad4f8e593b
The Perfect Web Server - Nginx, Ajenti, Ubuntu
View server.sh
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo ':: Installing repo key'
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo ':: Adding repo entry'
You can’t perform that action at this time.