This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\/.*\/.*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=" " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Include a small sensis helper library | |
var mind = {}; | |
Ti.include('sensis.js'); | |
// Custom activity indicator | |
var indWin = null; | |
var actInd = null; | |
function showIndicator() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul { | |
list-style-type: none; | |
padding-left: 0; | |
margin-left: 0; | |
} |