This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
:backends: | |
- yaml | |
- gpg | |
:gpg: | |
:datadir: '/etc/puppet/hiera' | |
:yaml: | |
:datadir: '/etc/puppet/hiera' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'cgi' | |
require 'digest/md5' | |
require 'net/https' | |
require 'uri' | |
module Jekyll | |
class GistTag < Liquid::Tag | |
def initialize(tag_name, text, token) | |
super | |
@text = text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
class UltravioletTag < Liquid::Block | |
require "Uv" | |
# This defines an uvhighlight tag for code highlighting using Ultraviolet (must [sudo] gem install ultraviolet and dependancies) | |
# Syntax for tag is {% uvhighlight code [theme] ["linenumb|linenos"]%} which is similar to the pygments call | |
# code is required, theme and linenumb optional and in any order | |
def initialize(tag_name, arg, tokens) | |
super | |
copy_files? # copy css files if not in css directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns player | |
(:use clj-audio.core | |
clj-audio.sampled) | |
(:import javax.sound.sampled.SourceDataLine | |
java.io.File)) | |
;;;; playlist | |
(def music-file-extensions ["mp3"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// "Cheat" special event using this pattern: | |
// http://benalman.com/news/2010/03/jquery-special-events/#pattern | |
// | |
// Also see: | |
// http://benalman.com/news/2010/03/jquery-special-events/#add-and-remove-tripleclick-per-handler | |
(function($){ | |
$.event.special.cheat = { | |
setup: function() { |
NewerOlder