Skip to content

Instantly share code, notes, and snippets.

View fleeting's full-sized avatar
🐢
As productive as this turtle.

James Fleeting fleeting

🐢
As productive as this turtle.
View GitHub Profile
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
@fleeting
fleeting / gruntfile.js
Created March 25, 2014 15:49
Grunt config using shell to do jekyll build and compress site.
(function() {
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
notify: {
watch: {
options: {
title: 'Who watches the watchmen?',
#!/bin/bash
black=$(tput setaf 0)
red=$(tput setaf 1)
green=$(tput setaf 2)
yellow=$(tput setaf 3)
blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
/* This */
nav {
margin-top: 45px;
}
@media (max-width: 600px) {
nav {
margin-top: 25px;
}
}
(function() {
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
notify: {
watch: {
options: {
title: 'Who watches the watchmen?',
@fleeting
fleeting / todo.md
Last active January 1, 2016 23:59
TODO

NOW

  • Aspire RFP Timeline Graphic %
  • Kaizen CMS v1 Milestones/Issues
  • monkeeCreate v3
  • Move simpleWeather to new API

NEXT

  • IWASH Redesign
  • Move IWASH to Ghost
@fleeting
fleeting / gist:6382146
Created August 29, 2013 19:08
Share to Facebook
http://www.facebook.com/sharer/sharer.php?s=100&p[url]=http://iwasasuperhero.com&p[images][0]=http://farm9.staticflickr.com/8327/8115989124_eacd0a827f_o.jpg&p[title]=iwasasuperhero.com&p[summary]=The%20best%20fucking%20site%20in%20the%20entire%20world%20right%20here!
{$menu = "testimonials"}
{include file="inc_header.tpl" page_title=$aTestimonial.title}
<h2>{$aTestimonial.title}</h2>
<article>
{if $aTestimonial.image == 1}
<figure>
<img class="testimonial-img" src="/image/testimonials/{$aTestimonial.id}/?width=156" alt="{$aTestimonial.name}">
</figure>
if($_GET["filter"] == "directory") {
$aTables = $this->dbQuery("SELECT * FROM `{dbPrefix}search` WHERE `table` = ".$this->dbQuote("directory", "text"), "all");
} else {
$aTables = $this->dbQuery("SELECT * FROM `{dbPrefix}search`", "all");
}
/*
* simpleWeather
* http://simpleweatherjs.com
*
* A simple jQuery plugin to display the current weather
* information for any location using Yahoo! Weather.
*
* Developed by James Fleeting <@twofivethreetwo> <http://iwasasuperhero.com>
* Another project from monkeeCreate <http://monkeecreate.com>
*