- Another Day in the Colony - Chelsea Watego
- White Tears/Brown Scars - Ruby Hamad
- Becoming Abolitionists - Derecka Purnell
- New Dark Age - James Bridle
- No Country for Eight-Spot Butterflies - Julian Aguon
- Still Alive - Safdar Ahmed
- What White People Can Do Next - Emma Dabiri
- A Psalm for the Wild-Built - Becky Chambers
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
# Required gems: | |
# - asimov | |
# - fast_ignore | |
class RoboJunior | |
def get_to_work | |
puts(changes) | |
Changer.new.change_stuff(changes) | |
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
--- | |
include: | |
- ".solargraph_definitions.rb" | |
- "app/**/*.rb" | |
- "config/**/*.rb" | |
- "lib/**/*.rb" | |
exclude: | |
- test/**/* | |
- vendor/**/* | |
- ".bundle/**/*" |
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
# Cleans up branches like: | |
# if Shopify.rails_next? | |
# # Rails 5 login | |
# else | |
# # Rails 4 login | |
# end | |
module RuboCop | |
module Cop | |
module ShopifyRails | |
class RailsNextUnless < Cop |
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
class WizardsController < ApplicationController | |
before_action :load_user_wizard, except: %i(validate_step) | |
def validate_step | |
current_step = params[:current_step] | |
@user_wizard = wizard_user_for_step(current_step) | |
@user_wizard.user.attributes = user_wizard_params | |
session[:user_attributes] = @user_wizard.user.attributes |
Put in your Gemfile:
gem 'nav_link', '[email protected]:034011db54668d4966ca.git'
Include NavLink
in ApplicationHelper
:
module ApplicationHelper
include NavLink
end
UPDATE a fork of this gist has been used as a starting point for a community-maintained "awesome" list: machine-learning-with-ruby Please look here for the most up-to-date info!
- liblinear-ruby: Ruby interface to LIBLINEAR using SWIG
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/sh | |
# So you've installed XCode 6 Beta | |
# Now we could use Swift toolchain to build a minimal | |
# command line Hellow World | |
# let's set new Developer Toolchain bundled with Xcode6-Beta.app | |
# as default toolchain | |
# sudo xcode-select -s /Applications/Xcode6-Beta.app/Contents/Developer | |
# alias for Swift binary |
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
#!/usr/bin/env ruby | |
## | |
# Runs rubocop on just the modified and new files in a repoistory. Handy for | |
# checking your compliance before you commit. It only runs against files that | |
# end in .rb. Maybe it should do more than that? | |
# | |
# Easy to run. In a dirty working directory: | |
# | |
# breathalyzer |
NewerOlder