Skip to content

Instantly share code, notes, and snippets.

View hiltmon's full-sized avatar

Hilton Lipschitz hiltmon

View GitHub Profile

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 / cfile.rb
Created July 16, 2012 16:47
Quick and dirty script to list all the different kinds of files in a project folder
#! /usr/bin/ruby
# cfile.rb
# Hilton Lipschitz
# Use and modify freely, attribution appreciated
#
# This script counts the number and kinds of files in a project. Any additional
# parameters are treated as exclude folder regexes
#
# Requirements:
@hiltmon
hiltmon / post.rb
Created July 18, 2012 22:18
Create a new Octopress post, isolate it, generate the site and leave a preview thread running
#! /usr/bin/ruby
# post.rb
# Hilton Lipschitz (http://www.hiltmon.com) @hiltmon
# Use and modify freely, attribution appreciated
#
# Create a new Octopress post, isolate it, generate the
# site and leave me with a preview thread running.
#
# MUST BE RUN in the Octopress root folder
@hiltmon
hiltmon / slogger.rb
Created November 14, 2012 13:32
Changes to slogger.rb
# Line 172 : WAS
eval(plugin['class']).new.do_log
# CHANGE TO
if plugin['updates_config'] == true
# Pass a reference to config for mutation
eval(plugin['class']).new.do_log(@config)
else
@hiltmon
hiltmon / googleanalyticslogger.rb
Created November 14, 2012 13:29
Google Analytics Logger
=begin
Plugin: GoogleAnalyticsLogger
Description: Daily Web Site Stats Logger
Author: [Hilton Lipschitz](http://www.hiltmon.com)
Configuration:
client_id: 'XXXXXXXXXXXXXX.apps.googleusercontent.com'
client_secret: 'XXXXXXXXXXXXXXXX'
auth_code: '4/XXXXXXXXXXXXXXXXXXXXXXXXXXX'
properties: [ 'UA-XXXXXXXX-1', 'UA-XXXXXXX-2' ]
show_sources: true

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 / CombinedCasts.tmTheme
Last active December 14, 2015 02:59
CombinedCasts.tmTheme - Save as `CombinedCasts.tmTheme` and double-click to install.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Hilton Lipschitz</string>
<key>name</key>
<string>CombinedCasts</string>
<key>semanticClass</key>
<string>theme.combinedcasts</string>
@hiltmon
hiltmon / gist
Created February 25, 2013 04:01
#!/usr/bin/env ruby -wKU
# gist
# Hilton Lipschitz (http://www.hiltmon.com)
# Use and modify freely, attribution appreciated
#
# This script allows you to get, list, create, and update Github gists
# from the command line. There are others like this but this one caches
# file names to gist mappings so you do not need to remember them. The
# cache is just a YAML file in ~/.gists. This script also leaves

Test Gist

This is a test.

Updated. Again.