Skip to content

Instantly share code, notes, and snippets.


Kris Kowal kriskowal

View GitHub Profile
View gist:181135
# generate crazy mixed version, and sort them dewey decimal
echo {11,1}.{11,1}.{11,1}.{11,1} | xargs -n 1 \
| awk 'BEGIN{FS="."}{print $4, $1, $2, $3}' \
| sort -ns \
| awk '{print $4, $1, $2, $3}' \
| sort -ns \
| awk '{print $4, $1, $2, $3}' \
| sort -ns \
| awk '{print $4, $1, $2, $3}' \
| sort -ns \
View pbcopy.cs
using System;
namespace Pastebin
class Pbcopy
static void Main(string[] args)
kriskowal / The
Created Nov 28, 2011
My notes from a close read of The Hobbit.
View The

Thorin’s company in order of appearance at the Unexpected Party. (p8-11)

  • Dwalin (p8)
    • blue beard
    • gold belt
    • dark green hood
    • bright eyes
    • had tea and three cakes
    • plays a viol as big as himself (p14)
anonymous / Horses Ponies Wagons and Carts
Created Jan 10, 2013
Horses, Ponies, Wagons and Carts by NWRinger2
View Horses Ponies Wagons and Carts
By Deb White, Seattle, [NWRinger]
Can horses swim the Brandywine?
The Fellowship of the Ring, 112 the question of whether or not horses can cross the Brandywine River comes up at Buckleberry Ferry. We know that at least 1 hobbit pony can ride the ferry, as Merry takes his across on it when he searches for Frodo who is late to arrive; but there doesn’t seem to be an ability for them, either ponies or horses, to swim it at this point, they must go up to the Bridge or down to Sarn Ford, as Merry’s response to Frodo is: “Can horses cross the river?”
“They can go twenty miles north to Brandywine Bridge - or they might swim,” answered Merry, “Though I never heard of any horse swimming the Brandywine.”
HORSES N PONIES BY NAME, or if no name given, listed by Rider’s name:
View async-composition-2020.js
function *count(n) {
for (let i = 0; i < n; i++) {
yield i;
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
const asyncForEach = async (values, callback) => {
You can’t perform that action at this time.