Skip to content

Instantly share code, notes, and snippets.

@bishboria
bishboria / springer-free-maths-books.md
Last active March 22, 2024 11:19
Springer made a bunch of books available for free, these were the direct links
@rbxbx
rbxbx / lady_author_fantasy.txt
Last active December 14, 2015 12:46
Fantasy Novels for people sensitive to humans being terrible
[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
# coding: utf-8
# Can ruby have method names have newlines/be crazy?
class BadKitty
FACE = "
|\\_/|
/ @ @ \\
( > º < )
`>>x<<´
@jamesarosen
jamesarosen / optional_dependencies.md
Last active December 11, 2015 08:09
Some questions about optional dependencies in Ruby gems.

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 December 10, 2015 16:08
Make Hacker News Palatable
// 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 April 11, 2024 00:19
Active Record Spec Helper - Loading just active record
--colour
-I app
@jamis
jamis / Basic Baechu Kimchi
Last active May 23, 2020 21:18
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
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
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')