Skip to content

Instantly share code, notes, and snippets.

View jpcody's full-sized avatar

Joshua Cody jpcody

View GitHub Profile
@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>"
[
postgresql-9.0,
postgresql-contrib-9.0,
postgresql-server-dev-9.0,
libpq5
].each do |pg_pack|
package pg_pack
end