Skip to content

Instantly share code, notes, and snippets.

View kimadactyl's full-sized avatar

Dr Kim Foale kimadactyl

View GitHub Profile
@kimadactyl
kimadactyl / Gemfile
Created September 24, 2015 18:48
Spree + Minitest + ControllerRequsts isn't happy
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
@kimadactyl
kimadactyl / Calendar from Trello.markdown
Last active August 29, 2015 14:24
Calendar from Trello

Trello-based calendar

For Political Pride 2015. Reads a Trello board and formats for reading as a list. Fairly hacky due to the way I've handled day headings.

Needs a Markdown processor adding.

A Pen by Dr Kim Foale on CodePen.

License.

@kimadactyl
kimadactyl / words-to-cards.rb
Last active January 15, 2019 17:47
Converting a csv list into a bunch of cards for the Art of Noises boardgame.
require 'rubygems'
require 'RMagick'
require 'csv'
include Magick
$imagepath = 'images/'
cardlist = '../wordlist.csv'
# Function to create all the cards
def create_card(caption)