Skip to content

Instantly share code, notes, and snippets.

Avatar

Aaron Buchanan aaronbuchanan

View GitHub Profile
@aaronbuchanan
aaronbuchanan / gist:5341619
Created Apr 8, 2013
UI/UX OmniGraffle Stencils
View gist:5341619
A bunch of stenciles for wireframing, data & user flow diagrams and more:
Empty Chrome Browser Window:
https://www.graffletopia.com/stencils/938
Twitter Bootstrap UI:
https://www.graffletopia.com/stencils/934
Google Web GUI:
https://www.graffletopia.com/stencils/10431
View gist:5522549
"""
This fabric file makes setting up and deploying a django application much
easier, but it does make a few assumptions. Namely that you're using Git,
Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have
Django installed on your local machine and SSH installed on both the local
machine and any servers you want to deploy to.
_note that I've used the name project_name throughout this example. Replace
this with whatever your project is called._
@aaronbuchanan
aaronbuchanan / gist:5528754
Created May 6, 2013
clean git history visualizer
View gist:5528754
git log --graph --full-history --all --pretty=format:"%h%x09%d%x20%s"
View brew-services.rb
#!/usr/bin/env ruby -w
# brew-services(1) - Easily start and stop formulas via launchctl
# ===============================================================
#
# ## SYNOPSIS
#
# [<sudo>] `brew services` `list`<br>
# [<sudo>] `brew services` `restart` <formula><br>
# [<sudo>] `brew services` `start` <formula> [<plist>]<br>
View screenshots.js
/*
* Takes provided URL passed as argument and make screenshots of this page with several viewport sizes.
* These viewport sizes are arbitrary, taken from iPhone & iPad specs, modify the array as needed
*
* Usage:
* $ casperjs screenshots.js http://example.com
*/
var casper = require("casper").create();
@aaronbuchanan
aaronbuchanan / 0_reuse_code.js
Created Mar 1, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@aaronbuchanan
aaronbuchanan / index.html
Created Jun 14, 2014
A Pen by Aaron Buchanan.
View index.html
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Project Name</a>
@aaronbuchanan
aaronbuchanan / persistent_ulimit.sh
Created Jul 22, 2014
persistent ulimit fix for local file watchers
View persistent_ulimit.sh
launchctl limit maxfiles 2048 2048 && ulimit -n 2048
View rename_files_with_prefix.sh
$ for filename in OrigPrefix*; do echo mv \"$f\" \"${f//OrigPrefix/NewPrefix}\"; done
@aaronbuchanan
aaronbuchanan / gist:2dcf936daceab925da61
Created Feb 3, 2015
P.O.S.T. — Purpose Outcome Structure Timing
View gist:2dcf936daceab925da61
Purpose Outcome Structure Timing
Having a plan for sales meetings, before the actual meeting will improve your chances of success.
Winging it is not a good strategy. You really need to think in advance what is the Purpose of the meeting and what is the Outcome of the meeting. You want the Purchase Order (PO) so think about the Purpose and the Outcome.
Be realistic about what can be achieved in the meeting. Ideally think about what the customer wants from the meeting - not just what you want. If you draw an analogy with dating - you might want sex on the first date but is it realistic? Having a clear view on small incremental steps forward towards the end goal is important otherwise you can end up in a protracted Engagement and never get Married (get the sale) or worse still turn the sale off by being too pushy!
Using the POST (Purpose Outcome Structure Timing) tool will help you have more effective sales meetings.
Purpose - what is the reason for the meeting. If it's a first meeting the purpose might
You can’t perform that action at this time.