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.
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' |
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.
require 'rubygems' | |
require 'RMagick' | |
require 'csv' | |
include Magick | |
$imagepath = 'images/' | |
cardlist = '../wordlist.csv' | |
# Function to create all the cards | |
def create_card(caption) |