Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tom Raithel tomraithel

🏠
Working from home
View GitHub Profile
@tomraithel
tomraithel / code-review
Last active Aug 2, 2017 — forked from evant/code-review
A ruby script to automatically create crucible reviews
View code-review
#!/usr/bin/env ruby
# A script to create a review on crucible based on the current git branch
#
# To configure settings, create a file named .code-review in your home directory
# The format should be:
# ------------------------------------------------------------------------------
# crucible:
# url: <crucible url>
# username: <username>
# password: <password>
@tomraithel
tomraithel / coffeescript_converter.rb
Created Nov 13, 2012 — forked from phaer/coffeescript_converter.rb
JEKYLL: Coffeescript converter plugin
View coffeescript_converter.rb
# Put this file in '_plugins/' and write a YAML header to your .coffee files (i.e. "---\n---\n")
module Jekyll
require 'coffee-script'
class CoffeeScriptConverter < Converter
safe true
priority :normal
def matches(ext)
ext =~ /coffee/i
end
@tomraithel
tomraithel / sass_converter.rb
Created Nov 12, 2012 — forked from wolfeidau/sass_converter.rb
Sass plugin for Jekyll
View sass_converter.rb
module Jekyll
# Sass plugin to convert .scss to .css
#
# Note: This is configured to use the new css like syntax available in sass.
require 'sass'
class SassConverter < Converter
safe true
priority :low
def matches(ext)