Skip to content

Instantly share code, notes, and snippets.

View IOExceptional's full-sized avatar

Lee Walker IOExceptional

View GitHub Profile
@IOExceptional
IOExceptional / rowFilter.js
Created June 11, 2015 15:05
A simple, effective multi-dimensional row filtering script
var filter;
(function () {
filter = function (searchBox, targetClass) {
var value = searchBox.value;
var hiddenClass = targetClass + "SearchHidden";
//Nothing in the box, remove <targetclass>searchhidden class
if (value.length < 1) {
$("." + hiddenClass).removeClass(hiddenClass);
@IOExceptional
IOExceptional / sublime packages
Last active August 29, 2015 14:21
My sublime packages
brogrammer theme
GitGutter
meteor autocomplete (ternjs)
color highlighter
LESS
javascript next ES6
handlebars
sublimelinter
sublimelinter-jshint
@IOExceptional
IOExceptional / async.html
Created February 1, 2015 06:30
Asynchronous JavaScript is a lie!
<html>
<head>
<title>JsTestBed</title>
</head>
<body>
<h2>"Async" test</h2>
<p>
In JavaScript, asynchronous calls are a lie!<br />
What actually happens is the setTimeout(func, 0); gets put on the end of the call list.<br />
Any direct javascript functions will get prioritised and run before the function in the timeout.