Skip to content

Instantly share code, notes, and snippets.

View hiltmon's full-sized avatar

Hilton Lipschitz hiltmon

View GitHub Profile
@hiltmon
hiltmon / gist:d94ada6df376eef312e2d28c5c52e395
Created July 19, 2016 21:21
GAPI Old to New Certificate Based PHP
OLD:
define('ga_email','hiltmon@gmail.com');
define('ga_password','i_aint_sayin');
define('which_profile',0); // The first profile
define('days_to_report', 7); // No of days excluding today!
define('ga_title','Hiltmon.com Stats');
require 'gapi.class.php';
date_default_timezone_set('America/New_York');
$ga = new gapi(ga_email,ga_password);

Keybase proof

I hereby claim:

  • I am hiltmon on github.
  • I am hiltmon (https://keybase.io/hiltmon) on keybase.
  • I have a public key whose fingerprint is C0C0 320F E54A 5C4D 4EB6 0CDB 52FE 7EEA D16C 89D4

To claim this, I am signing this object:

@hiltmon
hiltmon / merge_asana_into_omnifocus.rb
Last active October 2, 2018 17:58
Updated Merge Asana into OmniFocus script
#!/usr/bin/env ruby -E utf-8
# merge_asana_into_omnifocus.rb
# Hilton Lipschitz
# http://www.hiltmon.com
# Use and modify freely, attribution appreciated
# Script to import Asana projects and their tasks into
# OmniFocus and keep them up to date from Asana.
#!/usr/bin/env ruby
# merge_asana_into_omnifocus.rb
# Hilton Lipschitz
# http://www.hiltmon.com
# Use and modify freely, attribution appreciated
# Script to import Asana projects and their tasks into
# OmniFocus and keep them up to date from Asana.

Keybase proof

I hereby claim:

  • I am hiltmon on github.
  • I am hiltmon (https://keybase.io/hiltmon) on keybase.
  • I have a public key whose fingerprint is 4538 569E 264A D257 E329 88DA 9404 5A01 5F96 EAB2

To claim this, I am signing this object:

#!/usr/bin/env ruby
# merge_asana_into_omnifocus.rb
# Hilton Lipschitz
# http://www.hiltmon.com
# Use and modify freely, attribution appreciated
# Script to import Asana projects and their tasks into
# OmniFocus and keep them up to date from Asana.
@hiltmon
hiltmon / merge_asana_into_omnifocus.rb
Created November 3, 2013 22:49
Merge Asana Projects, Tasks and SubTasks into OmniFocus
#!/usr/bin/env ruby
# merge_asana_into_omnifocus.rb
# Hilton Lipschitz
# http://www.hiltmon.com
# Use and modify freely, attribution appreciated
# Script to import Asana projects and their tasks into
# OmniFocus and keep them up to date from Asana.
@hiltmon
hiltmon / Noverse.css
Created July 10, 2013 12:17
CSS for Noverse Letterhead
body {
-webkit-font-smoothing:antialiased;
font:normal .8764em/1.5em HelveticaNeue-Light,Helvetica,Arial,sans-serif;
margin:0;
}
html > body {
font-size:1em;
padding:1em;
}
<?php
define('ga_email','hiltmon@gmail.com');
define('ga_password','i_aint_saying');
define('which_profile',0); // The first profile
define('days_to_report', 0); // No of days excluding today!
define('hours_to_report', 3);
define('ga_title','Top Pages 3 Hours');
require 'gapi.class.php';
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.