Skip to content

Instantly share code, notes, and snippets.

Corey Haines coreyhaines

Block or report user

Report or block coreyhaines

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bishboria
bishboria / springer-free-maths-books.md
Last active Mar 27, 2020
Springer made a bunch of books available for free, these were the direct links
@rbxbx
rbxbx / lady_author_fantasy.txt
Last active Dec 14, 2015
Fantasy Novels for people sensitive to humans being terrible
View lady_author_fantasy.txt
[Original Thread](https://twitter.com/rbxbx/status/604492988065169408)
Specific Novels / Series
========================
Closer to Home, The Fairy Godmother - Mercedes Lackey
The Earthsea Trilogy, The Dispossessed (SF) - Ursula K. Le Guin
Ship of Magic - Robin Hobb
The Killing Moon – N. K. Jemisin
The Goblin Emperor - Katherine Addison
Karen Memory – Elizabeth Bear
View bad_kitty.rb
# coding: utf-8
# Can ruby have method names have newlines/be crazy?
class BadKitty
FACE = "
|\\_/|
/ @ @ \\
( > º < )
`>>x<<´
@jamesarosen
jamesarosen / optional_dependencies.md
Last active Dec 11, 2015
Some questions about optional dependencies in Ruby gems.
View optional_dependencies.md

Some questions about optional dependencies

1. A small ruby library

I'm writing a small Ruby library:

class FizzBuzzEndpoint

  def call(env)
@coreyhaines
coreyhaines / MakeHNPalatableBookmarklet
Last active Dec 10, 2015
Make Hacker News Palatable
View MakeHNPalatableBookmarklet
// put this in your address bar, or, better yet, make a bookmark. It removes all traces of comments.
javascript:var subtexts = document.getElementsByClassName("subtext"); Array.prototype.forEach.call(subtexts, function(subtext) { subtext.style.display = 'none'; });
@coreyhaines
coreyhaines / .rspec
Last active Sep 4, 2019
Active Record Spec Helper - Loading just active record
View .rspec
--colour
-I app
@jamis
jamis / Basic Baechu Kimchi
Last active Aug 8, 2018
Basic Baechu Kimchi
View Basic Baechu Kimchi
BASIC BAECHU KIMCHI
--------------------------------------------------------------------------
Baechu (Napa cabbage) kimchi is one of the staple foods in Korea. Spicy
and tangy, it is typically served as a side dish, with rice, but is also
found in various Korean soups and stews.
This basic version has just the fundamentals; once you're comfortable
with this version, you might try adding shredded carrots, Daikon radish,
pickled baby shrimp, or any number of other things. Search around online
View capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
You can’t perform that action at this time.