Skip to content

Instantly share code, notes, and snippets.

View hcabnettek's full-sized avatar
🏠
Working from home

ck hcabnettek

🏠
Working from home
View GitHub Profile
@hcabnettek
hcabnettek / config.rb
Last active December 20, 2015 01:29
Would like 'node-compass' to compile .scss files when changes to them are made. Per the docs, I would expect 'styles.css' to be output to the --stylesheets folder. Thanks fora ny help.
http_path = "/public"
css_dir = "stylesheets"
sass_dir = "stylesheets"
iages_dir = "img"
@craigmaslowski
craigmaslowski / bootstrap.modal.js
Last active October 13, 2015 15:38
Backbone Mixins
(function (Mixins) {
Mixins.BootStrapModal = {
show: function () {
var self = this;
if (self.preShow)
self.preShow();
// TODO - Review CSS to make it more generic
self.$el.modal().css({