-novid
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 'yaml' | |
require 'open3' | |
require 'socket' | |
task :default => [:install] | |
def command? name | |
`which #{name}` | |
$?.success? | |
end |
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
# Overrides the gist markup added by Jekyll's gist Liquid tag | |
# to support loading GitHub Gists asynchronously using gist-async from | |
# https://github.com/razor-x/gist-async | |
# Must load the jekyll-gist plugin: | |
# https://github.com/jekyll/jekyll-gist | |
require 'jekyll-gist' | |
module Jekyll | |
module Gist |
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
# | |
# Local Environment | |
# | |
home_dir = Dir.home | |
chef_dir = File.join(home_dir, '.chef') | |
secret_dir = File.join(chef_dir, 'private') | |
organization = ENV['chef_org'] || 'the_organization_name' | |
knife_override = File.join(chef_dir, 'knife_override.rb') | |
username = (ENV['USER'] || ENV['USERNAME']).downcase |
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
#!/bin/bash | |
set -e | |
set -u | |
if [ ! "${TRAVIS:-}" = 'true' ]; then | |
echo 'This is not running on Travis CI. Exiting!' | |
exit 1 | |
fi |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE language SYSTEM "language.dtd"> | |
<!-- | |
Kate SCSS syntax highlighting definition | |
Modified the Kate CSS syntax highlighting definition to support SCSS. | |
This file should be merged with any updates to the normal Kate CCS definition (see note on version numbering in changelog for 1.2.03.0). | |
The latest version of this file can be found at https://gist.github.com/958598 |
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
export * from '@meltwater/phi' | |
export { | |
noCase, | |
dotCase, | |
swapCase, | |
pathCase, | |
upperCase, | |
lowerCase, | |
camelCase, | |
snakeCase, |
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
// Created by timrourke. | |
// https://github.com/timrourke | |
// | |
// This silly little shortcode simplifies using Evan Sosenko's excellent | |
// script for async loading of github gists. | |
// https://github.com/razor-x/gist-async | |
// | |
// Plop this in your functions file or functionality plugin. | |
// Usage: [gist id="12345567" file="example.js"] | |
function async_gist_func($atts) { |
This is now a Bower package: [gist-async]. [gist-async]: https://github.com/razor-x/gist-async
Requires jQuery.
Jekyll plugin included that modifies the gist markup added by its gist Liquid tag.
Load GitHub Gists asynchronously and optionally specify which file to show.