Skip to content

Instantly share code, notes, and snippets.

View manpages's full-sized avatar

Jonn Mostovoy manpages

View GitHub Profile
@manpages
manpages / benchmarks.txt
Created September 4, 2012 18:58
Benchmarks for Cowboy, Saloon and Vibed
# 1000 concurrent, 100 000 request at all, no tweaks
# Cowboy
Server Software: Cowboy
Server Hostname: 127.0.0.1
Server Port: 55555
Document Path: /?value=5555
Document Length: 42 bytes
@manpages
manpages / SoFar.play.md
Created September 12, 2012 18:39
So Far

Hot, foul, and dark. How did indoor theater become so fashionable? Well enough in spring rain or winter, but not in the thick, dead afternoon of high summer. And though Rito and Imita looks very fine, shining with electric moonslight in the enclosed gloom, you're much more aware of being crammed in neck-by-neck with your sweaty fellow citizens.

Damn the crowd, in truth: your mood was hot, foul, and dark when you sat down. Aessa was supposed to meet you here. She's made excuses before, and you don't think about what it might mean. Try not to think, rather. Just watch the story. One of your favorites. But it's miserably hot, and you just aren't caught up in the play...

SO FAR An Interactive Catharsis Copyright 1996 by Andrew Plotkin. (First-time players should type "about".) Release 6 / Serial number 961218 / Inform v1502 Library 5/12 Standard interpreter 1.1

@manpages
manpages / fingerprints.txt
Created October 17, 2012 15:03
My Fingerprints
IRC/XMPP server fingerprint:
SHA1 Fingerprint=9A:5E:29:D8:1F:99:BA:64:E2:0F:79:7C:96:75:41:AD:94:AB:D1:07
Memorici.de SSH fingerprint:
RSA key fingerprint is 3c:22:92:61:c4:33:ff:bf:c9:12:80:ba:53:e5:f9:12.
electromancer RSA fingerprint:
Fingerprint: md5 41:51:a3:5b:cf:fd:e5:f4:84:71:b7:df:02:3a:dd:49
electromancer DSS fingerprint:
@manpages
manpages / day9playlist.txt
Created October 26, 2012 03:19
Day[9] Playlist Strikes Back.
#519
Title: Day[9] Daily #519 - Thorzain vs Kas - Positioning, consistency of opening, and the beauty of map control :D
0-1. ???
1-2. ???
2-3. Blue Sky Black Death - The Darkest Time [ http://www.youtube.com/watch?v=tr_diB2LC0E ]
@manpages
manpages / play.sh
Created October 28, 2012 04:40
Good script to watch temprorary files through and deciede whether you want to delete file or not.
#!/bin/bash
play() {
mplayer -fs $1
}
callback() {
local data=$1
rm -v "./$data"
}
@manpages
manpages / sketchbook.md
Created November 11, 2012 21:42
Sketchbook

##sketchbook

sketchboox

You examine the sketchbook carefully, a beautiful handmade thing, thick paper pressed from some creamy-tan wood, the spiral binding a thin coil of copper-colored metal. On the cover is a handwritten inscription.

You open the sketchbook and study the first page.

The first drawing shows a stunning portrait study of two girls, maybe ten or eleven. Long black hair frames unsmiling but beautiful faces, trapped between the carefree whimsy of childhood and some

@manpages
manpages / Story.ni
Created November 14, 2012 08:02
Memoricide.inform
"Memoricide" by Jonn Mostovoy
[
Version: 0.1.0
License: CC-BY
]
story genre is "Interactive Website".
story description is
"You have been surfing the waves of the Internet or possibly Hyperboria
@manpages
manpages / s.ex
Created November 25, 2012 01:54
sane output workaround
defmodule S, do: def ane(x), do: :io.format '~p', [x]
@manpages
manpages / fubbit.snippets.erl
Created December 8, 2012 19:06
debugging fubbit
PID = fubbit:proxy([{host, "127.0.0.1"}, {port, 56695}], [<<"no">>], self()).
fubbit_connection:mq_run(PID, [{action, <<"queue.declare">>}], [{queue, <<"it_works">>}]).
%% more snippets:
QDec = fbbbit_records:'#new-queue.declare'().
[ {X, fubbit_records:'#get-'(X, QDec)} || X <- fubbit_records:'#info-'('queue.declare', fields)].
%% publish something already!
% fubbit_connection:mq_run(PID, [{action, <<"basic.publish">>}, {payload, <<"amqp_msg">>}], [{routing_key, <<"it_works">>}], [{payload, <<"a special plan">>}]).
@manpages
manpages / ycombinator.ex
Last active December 11, 2015 08:48
Neat fixed point combinator implementation in Elixir
y = fn(f) ->
g = fn(g) -> f.((g.(g)).(&1)) end
g.(g)
end