Skip to content

Instantly share code, notes, and snippets.

@dupuchba
dupuchba / parsehtml.clj
Created October 24, 2017 16:00 — forked from seltzer1717/parsehtml.clj
Converts Bootstrap HTML to ClojureScript Om Code
;; Converts Bootstrap HTML into ClojureScript Om code
;; Formats output as well
;; Useful when you want to mock a Bootstrap layout but then convert to ClojureScript Om code.
(ns com.seltzer1717.term.server.parsehtml
(:import
(java.io
FileReader
FileWriter
BufferedReader
BufferedWriter)
@dupuchba
dupuchba / gitlivelog.sh
Created October 17, 2012 06:49 — forked from xero/gitlivelog.sh
git graph live log
#!/bin/sh
while true;
do
clear
git log \
--graph \
--all \
--color \
--date=short \
-10 \
@dupuchba
dupuchba / README.markdown
Created May 24, 2012 20:05 — forked from Yavari/README.markdown
Bootstrap's Typeahead plugin extended (allowing for AJAX functionality) among other things

This is a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

For example, process typeahead list asynchronously and return objects

  # This example does an AJAX lookup and is in CoffeeScript
  $('.typeahead').typeahead(
    # source can be a function
    source: (typeahead, query) ->
 # this function receives the typeahead object and the query string
@dupuchba
dupuchba / Backbone-fw_agnostic.js
Created May 14, 2012 16:58 — forked from piotr-cz/Backbone-fw_agnostic.js
Backbone.js Framework agnostic
// Backbone.js 0.5.3
// (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://documentcloud.github.com/backbone
(function(){
// Initial Setup
// -------------