Skip to content

Instantly share code, notes, and snippets.

View shawnhansen's full-sized avatar

Shawn Hansen shawnhansen

View GitHub Profile
require 'json'
require 'net/http'
# JSON parser tag, creating map for use in jekyll markdown
# Alex.Heneveld @ Cloudsoft Corp (remove spaces and add the .com)
# Released under APL 2.0
# usage: {% jsonball varname from TYPE PARAM %}
# where TYPE is one of {data,var,file,page}, described below
shawnhansen / .slate
Last active December 31, 2015 01:49
Slate config (.slate)
# Configs
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
config secondsBetweenRepeat 0.1
config checkDefaultsOnLoad true
config focusCheckWidthMax 3000
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
#config windowHintsDuration 5
// Block Grid
// Technique adapted from Foundation 5 for Bootstrap 3.
[class*="block-grid-"] {
display: block;
margin: -(@grid-gutter-width/2);
padding: 0;
shawnhansen / gulpfile.js
Created January 21, 2015 17:13
Gulpfile for Plone Diazo sites using bootstrap.
var gulp = require('gulp');
var uglify = require('gulp-uglifyjs');
var less = require('gulp-less');
// Default
gulp.task('default', ['styles', 'scripts', 'watch']);
// Scripts Task
gulp.task('scripts', function() {
shawnhansen / Preferences.sublime-settings
Last active August 29, 2015 14:17
Sublime Text 3 settings
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_indent": true,
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme",
"create_window_at_startup": true,
"detect_indentation": true,
"draw_white_space": "all",
### Keybase proof
I hereby claim:
* I am geekles on github.
* I am geekles ( on keybase.
* I have a public key ASA5VObJ-gxh4nnVVJApOO4gQp9Mtvo9VYLHqUq9YxmR5go
To claim this, I am signing this object: