Skip to content

Instantly share code, notes, and snippets.

View doowb's full-sized avatar
:octocat:
Creating something awesome!

Brian Woodward doowb

:octocat:
Creating something awesome!
View GitHub Profile
@doowb
doowb / server.js
Created August 9, 2012 23:22
Simple node.js server
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');
@doowb
doowb / blog_beerandrobots_firstpost.md
Created September 4, 2012 03:19
Testing out using gists for blog posts.

First Gist Blog Post

I'm just testing out the using gists for posting blog entires.

@doowb
doowb / draft_doowb_bootstrap_popoverex.md
Created September 4, 2012 04:50
twitter bootstrap popover extension

Extending Twitter's Bootstrap Popover plugin

We had a goal of extending Twitter's Bootstrap popover plugin to allow us to easily add different css class to the popover to control the styling of the popover. The examples provided in this article show how to create the extension plugin and a way to use the extension to change the background color and add a border to the title.

First take a look at the css provided in popoverex.css.

@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');

.popover-info {
@doowb
doowb / data-markdown.js
Created September 5, 2012 01:26 — forked from paulirish/data-markdown.user.js
*[data-markdown] - use markdown, sometimes, in your HTML
(function boom(){
if (!window.Showdown){
var scr = document.createElement('script');
scr.onload = boom;
scr.src = 'https://raw.github.com/github/github-flavored-markdown/gh-pages/scripts/showdown.js';
document.body.appendChild(scr);
return;
}
@doowb
doowb / draft_beerandrobots_dogfish_head_theobroma.md
Created September 6, 2012 02:24
Beer and Robots - Dogfish Head - Theobroma

Dogfish Head - Theobroma

Description of this beer - Ale brewed with natural flavors (honey, cocoa nibs, cocoa powder, ancho chilies, & ground annatto).

This beer isn't the typical bitter beer known from Dogfish Head. Instead the honey comes across strong and lingers with a malty flavor.

The cocoa comes through a little, but isn't nearly as strong as I expected. I don't notice the ancho chilies at all, which disappoints me since that was the flavor that I was hoping for the most.

@doowb
doowb / draft_beerandrobots_white_house_beer_recipe.md
Created September 6, 2012 02:32
Beer and Robots - White House Beer Recipe

White House Beer Recipe

The white house released a couple of homebrew beer recipes along with a video description of why they're doing some homebrewing in The White House. The article, recipes and video can be found here.

I'm going to take the recipe for the White House Honey Porter and pick up the ingredients from my local homebrew supplier, Listermann's and attempt to brew it. Check back for updates with step-by-step documentation on my brewing experience and what I think of the results.

Trip to Listermann's

Brewing the Honey Porter

@doowb
doowb / gist:4064157
Created November 13, 2012 05:37
Client Side Javascript Developer

Looking for a client side javascript developer that can use knockout.js to help build the front end of our application. To show off your skills, we would like the html/css and javascript components of Twitter's Bootstrap library turned into templates that would be useful with knockout.js.

Example alert:

<div data-bind="attr: { class: type }">
  <button type="button" class="close" data-dismiss="alert">×</button>
  <!-- ko data-bind="text: message" -->
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
  <!-- /ko -->
</div>
@doowb
doowb / docs.js
Created November 17, 2012 20:54
some component stuff
//
// Build Bootstrap Docs
// ---------------------------------------------
// Credit: inspired by @ctalkington
module.exports = function(grunt) {
// Grunt utilities.
var task = grunt.task,
file = grunt.file,
@doowb
doowb / mustache.js
Created December 3, 2012 04:05
mustache grunt task for reading in mustache files and rendering them with data
/*
* build-bootstrap
* https://github.com/jonschlinkert/build-bootstrap
*
* Copyright (c) 2012 Jon Schlinkert
* Credit: inspired by @ctalkington
* Licensed under the MIT license.
*/
module.exports = function(grunt) {
@doowb
doowb / gist:5456988
Last active December 16, 2015 15:39 — forked from dmarr/gist:5456766
'use strict';
var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet;
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
module.exports = function (grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);