Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# Shakshuka by Gilboa: | |
- Chopped onion | |
- Chopped red capcisum | |
- Chopped tomatoes | |
Fry for a few minutes till soft. Then add: | |
- Tomato paste in garlic or chilli flavour | |
- Crushed garlic | |
- a bit of salt, pepper and sweet paprika | |
Then add the eggs, with either chopped parsley or chopped coriander. |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# To Setup: | |
# 1) Save the .git-completion.bash file found here: | |
# https://github.com/git/git/blob/master/contrib/completion/git-completion.bash | |
# 2) Add the following lines to your .bash_profile, be sure to reload (for example: source ~/.bash_profile) for the changes to take effect: | |
# Git branch bash completion | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
# Add git completion to aliases |
namespace :database do | |
task fat_tables: :environment do | |
c = ActiveRecord::Base.connection | |
max_table_name_width = 0 | |
tables = c.tables.sort_by do |t| | |
max_table_name_width = t.length if t.length > max_table_name_width |
class AfterSignupController < ApplicationController | |
include Wicked::Wizard | |
steps :create_organization, :create_event, :create_tiers | |
def show | |
case step | |
when :create_organization | |
@form = Form::Organization.new(Organization.new) | |
when :create_event | |
@form = Form::Event.new(Event.new) |
Hi there,
My name is Leonard and I'm one of the organisers for the next Australian RailsCamp which will be held in Sydney. Here are the details:
June 12th-15th which is the 2nd weekend of June.
The camp will be held at Broken Bay Sport and Recreation Camp at the mouth of Hawkesbury River just north of Sydney.
FROM ruby:2.3-alpine | |
RUN apk add --update \ | |
build-base \ | |
git \ | |
libxml2-dev \ | |
libxslt-dev \ | |
tzdata \ | |
rm -rf /var/cache/apk/*; \ | |
gem update --system; |