Skip to content

Instantly share code, notes, and snippets.

View jpcody's full-sized avatar

Joshua Cody jpcody

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jpcody on github.
  • I am jpcody (https://keybase.io/jpcody) on keybase.
  • I have a public key whose fingerprint is 7584 AFB7 C58B C13A 0CFD D0DE 2362 01FB 66F2 E5C4

To claim this, I am signing this object:

About the Position

We're looking to add a front-end engineer to build brand new products at AcademicWorks and help shepherd our current products as they mature.

This engineer will work closely with our lead user experience engineer (👋 from behind the 4th wall) to continue improving our experience for users, solidifying our codebase, and laying the foundation for new features and products.

Our front-end tooling mainly consists of:

@jpcody
jpcody / gist:5422874
Last active December 16, 2015 10:49 — forked from mmaa/gist:5422852
$('#add_order_modal').on 'click', '#paste-address', togglePasteAddress
togglePasteAddress=->
$column = $ '.col1'
$column.fadeToggle 100, ->
controlGroup = $ '.col1 .control-group'
controlGroup.toggleClass 'hidden'
$column.fadeToggle 100
$.getJSON(jsonp_url, function(data) {
var membershipList = "";
$('#user').html("<a href=" + data.user_url + ">User</a>");
$('#eea').html("<a href=" + data.eea_url + ">EEA</a>");
$('#status').html("Status: " + data.eea_status);
$('#valid').html("Valid? " + data.valid);
$.each(data.active_memberships, function(name, url){
var listItem = "<li><a href=" + url + ">" + name + "</a></li>"
2012-05-18 19:05:26|DEBUG|
==> REQUEST (519467980(PUT /account)) =================================================================
DefaultHttpRequest(chunked: false)
PUT /account HTTP/1.1
Date: 1337367926000
Authorization: droplr YXBwXzBfcHVibGlja2V5OnVzZXJfMUBkcm9wbHIuY29t:CCXJERKa7ehZAiTcYRixmmMUV9c=
X-Droplr-Rootredirect: cnn.com
Content-Length: 0
Accept: */*
User-Agent: Ruby
@jpcody
jpcody / jquery-context.js
Created March 16, 2012 13:04
Maintaining an object and selector context with jQuery
var object = {
handler : function(){
$("selector").on( "click", _.bind( this.doSomething, this ));
},
doSomething : function(e){
[
postgresql-9.0,
postgresql-contrib-9.0,
postgresql-server-dev-9.0,
libpq5
].each do |pg_pack|
package pg_pack
end
@jpcody
jpcody / css_hooks.js
Created October 24, 2011 14:01
CSS Hooks with support for forcing 2d animations
// ==========================================================================
// Project: TransformJS
// Copyright: ©2011 Strobe Inc.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
require('TransformJS/sylvester');
(function($) {
@jpcody
jpcody / upload-clipboard.rb
Created September 3, 2011 01:06
Save clipboard contents as private gist using Alfred.app
# It'd be great to get this running via AppleScript and sans Alfred if anyone with more knowledge than me knows how :)
### STEP 1
#!/bin/sh
# Save this file as /bin/rvm_ruby, and do chmod 755 /bin/rvm_ruby
# to give it the proper permissions
# From http://www.aeonscope.net/2011/05/29/connecting-alfred-to-bitly-via-ruby/
if [[ -s ~/.rvm/scripts/rvm ]]; then
/* Reused elements */
.button
background: url('../img/buttons.png')
display : block
height : 32px
text-indent : -9999px
width : 130px
&.download
background-position: -162px 0