Skip to content

Instantly share code, notes, and snippets.

View joshprice's full-sized avatar
⚗️
Alembic is hiring!

Josh Price joshprice

⚗️
Alembic is hiring!
View GitHub Profile
ul {
list-style-type: none;
padding-left: 0;
margin-left: 0;
}
@freshtonic
freshtonic / gist:2843057
Created May 31, 2012 12:26
no one was ready for it yet
For example, I was co-founder of a startup called Neowurks (yeah shit name)
about 10 years ago.
It was an app for the telco industry, in the area of rates exchange and route
provisioning.
At least once per week, all the telcos would exchange their rates for
terminating calls at major cities around the world. Pricing was per million
minutes, at 4 or 5 levels of quality of service and for mobile versus landline.
@Mindelusions
Mindelusions / app.js
Created October 18, 2011 23:01
Sample Titanium App Built Using Sensis Developer API
// Include a small sensis helper library
var mind = {};
Ti.include('sensis.js');
// Custom activity indicator
var indWin = null;
var actInd = null;
function showIndicator()
{
@makenosound
makenosound / eleven40.scss
Created July 18, 2011 01:04
SASS plugin for Andy Taylor's 1140 grid
$eleven40-grid-width: 4.85% !default; // The width of a column
$eleven40-grid-margin: 3.8% !default; // The amount of margin between columns
@mixin eleven40-container {
padding-left: 20px;
padding-right: 20px;
}
@mixin eleven40-row {
margin: 0 auto;
@joshprice
joshprice / josh.zsh-theme
Created July 13, 2010 14:46 — forked from pat/pat.zsh-theme
Pat's theme but minus the time, home as ~ and on one line (and particularly hardcoded to my setup tsk tsk)
grey='\e[0;90m'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$grey%}("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$grey%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$grey%})"
function pat_prompt {
(( spare_width = ${COLUMNS} ))
prompt=" "
module Rack
class Pictopus
def initialize(app, output_path)
@app = app
@root = ::File.expand_path(output_path)
raise ArgumentError, "#{output_path} is not a directory." unless ::File.directory?(@root)
end
def call(env)
unless env["PATH_INFO"] =~ /.*\/images\/pictopus\/.*\/.*/