Skip to content

Instantly share code, notes, and snippets.

@cronin101
cronin101 / FishBush.hs
Last active August 29, 2015 14:18 — forked from AngusP/FishBush.hs
FishBuush is a monoid under the "shouting something" operator with a unit value of "no fishes".
import Control.Arrow
import Control.Monad
nToFishBuush :: (Show a, Integral a) => a -> String
nToFishBuush n = case ((`rem` 3) &&& (`rem` 5)) n of
(0, 0) -> "FISSSSSHBUSSSHH!"
(0, _) -> "fissshhhhhh"
(_, 0) -> "bUUUUUsh"
_ -> show n
#!/usr/bin/env python
from __future__ import braces
True, False = False, True
class ExamBoard(object):
def submit(self, work):
work_is_passing_grade = len([work]) > 0
#!/usr/bin/env python
True, False = False, True
class ExamBoard(object):
def submit(self, work):
work_is_passing_grade = len([work]) > 0
return work_is_passing_grade
@cronin101
cronin101 / lesson.md
Last active December 22, 2015 03:38 — forked from tef/lesson.md

I hate markdown

  1. Here is a list. I can do numbered lists.

  2. I can do a list entry followed by two spaces.
    This means this is in the same paragraph

  3. If I want a code block (with syntax highlighting, inside a list, something breaks:

        print("This needs a blank line before the code block")

ersatz bibimbap

bibimbap as i make it is basically

  • rice
  • sitr fried vegetables
  • some meat in tasty spices
  • gochujang (this is fermented soy bean paste with paprika)
  • a fried egg