Skip to content

Instantly share code, notes, and snippets.

View NigelKibodeaux's full-sized avatar

Nigel Kibodeaux NigelKibodeaux

View GitHub Profile
### Keybase proof
I hereby claim:
* I am nigelkibodeaux on github.
* I am nigelk (https://keybase.io/nigelk) on keybase.
* I have a public key whose fingerprint is EEA4 B41C BCDA 13FB 9AFC ADF4 6268 8253 5157 2390
To claim this, I am signing this object:
@NigelKibodeaux
NigelKibodeaux / RobotTests.js
Created March 12, 2013 19:04
Robot logic unit tests
<script>
console = {};
console.log = function(stuff) {
if (typeof stuff == 'object')
stuff = JSON.stringify(stuff);
document.write(stuff + '<br>');
};
@NigelKibodeaux
NigelKibodeaux / RdiIntranetUserScript.js
Last active December 13, 2015 23:08
Improves the RDI intranet
$('.ajax__tab_panel tr a').click(function(e){e.preventDefault();sorter(e)});
function sorter(e){
collection = $('#ctl00_ctl00_BodyContentPlaceHolder_ProjectTrackPlaceHolder1_TabContainer1_tpMyItems_ilcMyItems_gvIssues').find('.RDISelectableGridItem');
var $tbody = $(e.srcElement).closest('tbody');
index = $tbody.find('a').index(e.srcElement); console.log(index);
collection = collection.sort(function(a,b){return $(a).find('td:eq('+index+')').text() > $(b).find('td:eq('+index+')').text();});
$tbody.find('.RDISelectableGridItem').remove();
collection.each(function(){$tbody.append(this.outerHTML)});
}
@NigelKibodeaux
NigelKibodeaux / BeerDatabaseCatagories
Last active December 10, 2015 00:18
Category summary
{
"IPA": [
"India Pale Ale",
"Black India Pale Ale",
"Belgian White IPA",
"Imperial India Pale Ale",
"Belgian Specialty - India Pale Ale",
"Belgian-style Tripel",
"Belgian-style Double India Pale Ale",
"Winter Seasonal—India Pale Ale",
@NigelKibodeaux
NigelKibodeaux / beerDatabase.txt
Last active July 18, 2018 02:28
Beer Database
jsonStuff = { version: 4, breweries: [
{
"name": "21st Amendment",
"info": "San Francisco, CA",
"beers": [
{
"name": "Brew Free or Die IPA",
"style": "India Pale Ale",
"category": [
"IPA"