Skip to content

Instantly share code, notes, and snippets.

View giltotherescue's full-sized avatar

Gil Hildebrand giltotherescue

View GitHub Profile
/**
* ================================
* = FIREBASE DATABASE STRUCTURE
* ================================
*/
/**
* ASSESSMENTS
*/
{
/*
pushId = new key created by Firebase push() via Angularfire .$add()
"order" properties indicate objects that should be sortable
*/
programs: {
[programId:pushId]: {
angular.module('airfoil.services-auth', [])
.factory('Auth', function ($ionicPlatform, $q, $state, $injector, $timeout, AutoComplete, $rootScope, es,
$cordovaFacebook, $cordovaDevice, $cordovaDialogs, $cordovaPush, $cordovaBackgroundGeolocation,
$analytics) {
var self = this;
self.initialized = false;
self.AuthData = {};
self.ProfileData = {};
self.PushData = null;
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqdLSS1OfqT89YGaqo2UfB4xvT9HbtCLypAkYmUB/Z/ut+aL/nRqMFLaRJk9vNqNt7K+7BIc1peefR2h9YTHD7ZWapSNv2ef1Tb09vCfa9e6y1n1kkbO2SF9RvZ32S2W8i4A66nl1tgXnQdYpjnUHH1oitT3BVpxfjv2OJl776N4ypWyNmyhh2j7vB5wyoHTvgoMY6K/cT0BKQo7TiMs5HlDGORVkOA73qTDlYuWu4/rJwxFXdLm/UrWWZnvEwH2+FkZ92+dgcr5rmZuOPHyxnkwVfCXzKuC+lPlxHKYzQ9H+fINLIDSVVYGTkZw4a480T/Sdt8RtKymcFKNAHzA1V gil@ninja.local
curl -I https://analytics.mvb.me/index.php
HTTP/1.1 302 Found
Date: Wed, 05 Oct 2016 18:19:46 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: __cfduid=d8bef16fc21edd726a7ef21645293f3171475691586; expires=Thu, 05-Oct-17 18:19:46 GMT; path=/; domain=.mvb.me; HttpOnly
X-Powered-By: PHP/5.3.3-7+squeeze19
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
#] curl -I https://analytics.mvb.me/
HTTP/1.1 302 Found
Date: Wed, 05 Oct 2016 14:25:29 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: __cfduid=d898f19d7200fc89395869dab3b559e481475677529; expires=Thu, 05-Oct-17 14:25:29 GMT; path=/; domain=.mvb.me; HttpOnly
X-Powered-By: PHP/5.3.3-7+squeeze19
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
When it comes to your goals and aspirations in the areas of physique alteration, sports performance, and health, it is very important to target your time and efforts doing what works, and avoid doing what doesn’t. You care too much about your appearance, health, and performance to settle for a suboptimal product.
Renaissance Periodization was founded with the understanding that science is the surest path to the truth, and in this field, to results. Our approach is the rigorous application of scientific principles to nutrition and training. Everything we do is built on a foundation of peer-reviewed literature and experimentally-confirmed theory.
At Renaissance, formulas, calculations, and literature reviews replace gurus, hunches, and attachments to tradition.
We know what works and we want to help you reach your goals.
@giltotherescue
giltotherescue / casting_notices.php
Created December 2, 2015 19:56
explanation text
<div class="panel panel-default" style="float: right; width: 45%">
<div class="panel-heading">Unavailable</div>
<div class="panel-body">
<ul style="font-size:12px;color:#666666;list-style:disc;">
<li>Means you match the criteria for this character, and are interested in being booked for it, but you are unavailable for the shooting date(s).</li>
<li>You may be notified if the shooting date(s) for this character change.</li>
<li>Will NOT exclude you from any other casting requests.</li>
<li>Will NOT mark your calendar as UNAVAILABLE.</li>
<li>You WILL still receive casting notifications for other jobs on the date(s) above.</li>
</ul>
function whitelist($parent, $whitelist = null) {
global $drive, $shared_folder;
if (!$whitelist) {
$whitelist = array($parent);
}
$search = $drive->search("'$parent' in parents");
foreach ($search->files as $file) {
<?
/*
==== Custom Google Drive Wrapper ====
By: Gil Hildebrand (https://github.com/giltotherescue)
Google Drive authentication setup instructions:
https://developers.google.com/api-client-library/php/auth/service-accounts