Skip to content

Instantly share code, notes, and snippets.

/*
* jQuery Table of Content Generator for Markdown v1.0
*
* https://github.com/dafi/tocmd-generator
* Examples and documentation at: https://github.com/dafi/tocmd-generator
*
* Requires: jQuery v1.7+
*
* Copyright (c) 2013 Davide Ficano
*
$('#main_content').toc();
alert('well this works!');
/*!
* Copyright 2013 Twitter, Inc.
*
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
/*
* Bootstrap Documentation
@evolve2k
evolve2k / ninefold chat enhancement request
Last active August 29, 2015 13:56
Ninefold chat enhancement request
Enhancement request for Ninefold Chat Support
Spoke to Eden H Support Operator at Ninefold
Ahh just one feedback if you can pass it on to the team
When I open this help chat screen I have to do the following:
1. Unminimise the chat screen
2. Press 'Chat'
3. Get told to wait cause Im X in the queue
4. What this means for me is that it's a blocking IO on what I want to talk about as I can't just type in whats on my mind right now. I have to wait around until I get to the front of the queue and the nice person says 'hi' before I can say what I came to say.
@evolve2k
evolve2k / Telstra Data Packs.md
Last active August 29, 2015 13:57
Telstra Data Pack Prices March 2014
Monthly Data Pack $5 - 250mb
Monthly Data Pack $15 - 1GB
Monthly Data Pack $30 - 3GB
Monthly Data Pack $60 - 6 GB
Monthly Data Pack $100 - 10 GB
Monthly Data Pack $150 - 15 GB
Monthly Data Pack $250 - 25 GB
@evolve2k
evolve2k / plus_two
Created May 28, 2014 03:02
plus_two ruby mentoring
def plus_two num
return num + 2
end
# Most rubyists would tune that further and remove the 'return' knowing that
# ruby always does an automatic return on the last item in a method.
def plus_two num
num + 2 # no returns nahnahnah
end
@evolve2k
evolve2k / importer.rb
Last active August 29, 2015 14:02
Import without errors - when you ask for nested things.
# Actually Id also move all the rubbish out of the middle and make variables so it hurts your brain less.
# call the variables what you like, but see how it's like, sigh of releif.
# Make your brain pass the least amount of crap as possible.
# Encapsulation lets you hide ugly things inside nice little packages :)
require 'rubygems'
require 'nokogiri'
require 'open-uri'
domain_url = "http://prod3.agileticketing.net/websales/pages/"
@evolve2k
evolve2k / git_prompt.txt
Created October 21, 2014 06:40
Git color prompt
autoload colors && colors
# cheers, @ehrenmurdick
# http://github.com/ehrenmurdick/config/blob/master/zsh/prompt.zsh
if (( $+commands[git] ))
then
git="$commands[git]"
else
git="/usr/bin/git"
fi
@evolve2k
evolve2k / layout.yml
Created July 30, 2015 01:46
Squib example
Title:
extends: title # from hand.yml
font: FiraSans Regular 58 # Im currently doing this
color: '#F3EFE3'
align: center
spacing: -15
Art:
extends: art

YMCA Adelaide Hills • Sportspower • Hemp Hemp Hooray • Wu Tao • Bounce Inc • Sunflower Clinic • Jakem Farm • Pauls Farm • Strength From Within • The Aligned Body • Mt Barker-Hahndorf Golf Club • As Sweet as Honey • Red Cacao Chocolatier • Grounds for Coffee • Spirit Spa Body & Beauty • Wakefield Grange • Neutrog • Head Heart and Hands • Go Vita Health Store • The Seasonal Garden Café • Yvonne Ctercteko – Bowen Therapy • Ink Pot Arts Inc • All Seasons Organic Wholefoods • The Barker Hotel • Sun Protection Oz • Dale Gray • It’s It Solutions in Time • Jurlique • Remedy Bliss • Listening Hands Therapy • Adelaide Football Club • Farrago • Adelaide Hills Farmers Market • Miss Perez • Thermomix Magic Cooking Pot • Howards Vineyard • Unfold Yoga • Anita Seiler • Strength From Within • The Aligned Body • Camping World • River Pisces • Parous Wines • Mariana Mezic • IKON • Godfreys • Banner Mitre 10 • Weleda • Ngeringa Winery • Body Talk • Mt Barker Fodder Store • Indu Yoga • The Good Box Organics • Flight Centre • YM