Skip to content

Instantly share code, notes, and snippets.

View scalvert's full-sized avatar
:octocat:

Steve Calvert scalvert

:octocat:
View GitHub Profile
@scalvert
scalvert / BFS.cs
Last active December 30, 2019 15:31 — forked from riyadparvez/BFS.cs
public class Tree<K, V>
where K : class, IComparable<K>
where V : class
{
private Node<K, V> root;
public V BreadthFirstSearch(K key)
{
Queue<Node<K, V>> queue = new Queue<Node<K, V>>();
root.Visited = true;
(function($) {
$.extend($.fn, {
removeStyle: function() {
this.each(function() {
return $(this).removeAttr('style');
});
}
});
})(Mobify.$);
@scalvert
scalvert / gist:9510889
Created March 12, 2014 16:37
testRunner.js
require(['config'], function(){
require(['require',
'walk',
'chai',
'mocha'],
function(require, walk, chai, mocha){
var tests = [];
var walker = walk.walk('./', { followLinks: false });