Skip to content

Instantly share code, notes, and snippets.

$ npm upgrade
npm WARN prefer global npm@3.10.5 should be installed with -g
> canvas@1.4.0 install /Users/ajpiano/projects/github/robopaint/node_modules/canvas
> node-gyp rebuild
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
@ajpiano
ajpiano / translation.md
Last active December 31, 2015 11:19
amazing tweets, 15 dec 2013

approximate translation of german/greek via translate.google.com

ΣΟΦΟΚΛΗΣ @ 123111123222123 @ jquery I will give you a lesson you will never forget grant 4h

@ajpiano
ajpiano / gist:6273096
Created August 19, 2013 19:35
basic lynxmotion al5d init
var five = require("johnny-five"),
temporal = require("temporal"),
board = new five.Board(),
servos = {},
inits = [
{
id: "rotator",
opts: {
pin: 3,
startAt: 90
Unsubscribe
On Thu, May 9, 2013 at 12:18 PM, Keith Hines <keith@ttsstaffing.com> wrote:
Yes it is.
Especially for any role that even mentions Backbone (I’m assuming Barbone.js is a typo J)
@ajpiano
ajpiano / portland-2013-speaker-qa.md
Last active December 12, 2015 12:29 — forked from rmurphey/portland-2013-speaker-qa.md
jQuery Portland 2013 Prospective Speaker Q&A

You're Invited!

View the hangout

Have you been thinking about proposing a talk for jQuery Portland 2013 (or any other tech conference, for that matter)? You should be! We're looking to put together a roster of speakers that can bring a diverse set of experiences together to create a program that goes above and beyond just what's new in jQuery.

@ajpiano
ajpiano / portland-2013-speaker-qa.md
Last active December 12, 2015 12:28
jQuery Portland 2013 Prospective Speaker Q&A

You're Invited!

Have you been thinking about proposing a talk for jQuery Portland 2013? You should be! We're looking to put together a roster of speakers that can bring a diverse set of experiences together to create a program that goes above and beyond just what's new in jQuery.

A lot of folks convince themselves out of submitting because they're worried their idea "isn't on topic" or that "someone else 'better' will surely do that," so that's why tonight, Rebecca Murphey (@rmurphey and I (@ajpiano are hosting a live Q&A for people who are thinking about speaking but

@ajpiano
ajpiano / .vimrc
Last active December 12, 2015 07:48
my vimrc as of feb 20 2013
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
" Set syntax highlighting options.
set t_Co=256
set background=dark
syntax on
colorscheme badwolf
" Change mapleader
The design, layout, and look-and-feel of the `jquery-wp-content` repository, including all CSS, images, and
icons, are copyright jQuery Foundation, Inc. and are not licensed for use. Designs and CSS from jquery-wp-content may not be used on any site, personal or commerical, without prior written consent from the jQuery Foundation. `jquery-wp-content` contains CSS, images, and icons that are copyrighted by other individuals; those items are licensed under their original terms.
The only permitted (and encouraged) exception to "use" is the case of cloning/forking this repository in order to create a local development environment to facilitate making contributions to jQuery Foundation websites.
{
"name": "jquery",
"title": "jQuery",
"description": "JavaScript library for DOM operations",
"version": "2.0.0pre",
"homepage": "http://jquery.com",
"author": {
"name": "jQuery Foundation and other contributors",
"url": "https://github.com/jquery/jquery/blob/master/AUTHORS.txt"
},
@ajpiano
ajpiano / gist:2954965
Created June 19, 2012 15:59 — forked from anonymous/gist:2952418
Web dev horror story: Double billing bug

Early in my career I found myself working at a mobile content provider on a PHP/MySQL app that was developed in Eastern Europe by a plucky but perhaps not the most best practice oriented entrepreneurial developer.

A rather large business had been built on top of this platform and it was suffering from the strains of scaling (revenue was in the multiple millions by this point).

One day, I was working on some code clean up and refactoring to improve some functionality in the billing piece when I realized there was an error in the logic that would cause the customer to be double-billed for each piece of content. I dutifully filed a ticket for the bug, committed a fix, and deployed it to production.

In less than 2 hours, our sysadmin had rolled back my fix and the ticket changed to closed, won't fix, as the impact on the company sales projections was too much... I didn't stick around long after that!