Skip to content

Instantly share code, notes, and snippets.

@Ezku
Ezku / fizzbuzz.coffee
Created December 27, 2011 13:10
Programming with nothing
{ok, deepEqual} = require 'assert'
# Church numerals
ZERO = (p) -> (x) -> x
ONE = (p) -> (x) -> p x
# "Evaluate n, then add another application of p"
SUCC = (n) -> (p) -> (x) -> p(n(p)(x))
toInteger = (p) -> p((n) -> n + 1)(0)
ok (toInteger ZERO) is 0
@philsnow
philsnow / walkthrough.md
Last active June 27, 2024 19:18
Another way to manually add another site to Firefox Multi-Account Containers

Another way to manually add another site to Firefox Multi-Account Containers

Multi-Account Containers and Temporary Containers are great extensions for a great browser. I get really frustrated when I can't make them work together the way I want, though.

The most common problem I have is when some site redirects through a bunch of subdomains (usually during login). Because of Temporary Containers, each redirect opens in a new tab+container which doesn't bring cookies from the other container, and the login flow breaks.

If the resulting page leaves you on the subdomain that broke the flow, you can use the menu to add another "always open in container" rule, but if it didn't (because on error the site redirects you to the first subdomain or somewhere else), you can't use that menu. Some people have found workarounds that work for them (like [changing `networ