Skip to content

Instantly share code, notes, and snippets.

View jimoconnell's full-sized avatar
🎯
Focusing

Jim O'Connell jimoconnell

🎯
Focusing
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jimoconnell
jimoconnell / foo.geojson
Last active December 30, 2015 03:19
test of geojson rendering
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jimoconnell
jimoconnell / gist:7266453
Created November 1, 2013 14:44
Instantiate Jquery accordion with all tabs closed
jQuery( ".accordion" ).accordion({
collapsible: true,
autoHeight: false,
active: false
});
@jimoconnell
jimoconnell / accordion_disabled_but_readable
Created October 24, 2013 13:31
This is a way to freeze the jQuery Accordion, but not have it all greyed-out. For our purposes, it should allow the embedding of modal forms in the accordion panels, but keep the user from hiding or destroying an unsaved form. Try it on the console of this page: http://jqueryui.com/resources/demos/accordion/default.html JSFiddle at: http://jsfid…
$("#accordion").accordion( "disable" );
$("#accordion").removeClass("ui-state-disabled");
$("#accordion").find("*").removeClass("ui-state-disabled");
$("#accordion").accordion( "enable" );
@jimoconnell
jimoconnell / foo
Last active December 25, 2015 05:49
Test
We will create the remote repository first.
1
2
3
$ mkdir -p Projects/myeliteproject.git && cd Projects/myeliteproject.git
$ git init --bare
$ exit
We need the “—bare” flag. If you want to know why, read the manual and have in mind that this is a remote repository.