This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule I do | |
def cls, do: IO.puts("\ec") | |
def qt(m, f \\ :_) do | |
:recon_trace.calls( | |
{m, f, :return_trace}, | |
{100, 10000}, | |
pid: :all, | |
scope: :local, | |
stack: :return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule I do | |
def cls, do: IO.puts("\ec") | |
def qt(m, f) do | |
:recon_trace.calls( | |
{m, f, :return_trace}, | |
{100, 10000}, | |
pid: :all, | |
scope: :local, | |
stack: :return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# recover all files in parallel from the most recent archive | |
# MIT license | |
# https://git.io/vdrbG | |
# "works on my machine" | |
# lots of assumptions notably path length (strip-component) | |
# get the latest archive as our names can be sorted by time | |
ARCHIVE=`tarsnap --keyfile /tmp/tarsnap.key --list-archives | sort | tail -1` |
- fry a few onions
- add salt and grated beetroot
- add risotto rice and thyme
- cook a few minutes
- add red wine, stock, water slowly
- stir in parmesan cheese or feta
- serve with chopped walnuts or similar
- rock a sprinkle of green chives or rucola
A loose variant of https://www.thespruceeats.com/perfect-potstickers-694857 and https://www.thespruceeats.com/wor-tip-cantonese-potsticker-recipe-694861 and https://www.thespruceeats.com/jiaozi-chinese-dumplings-694504
- 1Kg minced pork (leave out if vegetarian, swap in finely chopped mushrooms)
- 0,5Kg grated cabbage
- 0,25Kg grated carrots
- 2 Tsp fresh grated ginger
http://www.syriancooking.com/2009/09/25/shorbit-adas-lentil-soup/ I tweak it a bit
- 3C well washed orange lentils
- 3C homemade stock, essential. Chicken is good if you have leftovers
- 2Tsp cumin
- 2 tsp fresh grated ginger
- 1 tsp turmeric powder
- 0,5tsp chilli powder
- 0,5tsp cayenne powder
- chopped bunch of parsley or coriander
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Transport do | |
def connect(params) do | |
hostname = params.hostname | |
port = params.port | |
path = params.path | |
timeout = params.connection_timeout | |
{:ok, conn} = :gun.open(hostname, port) | |
{:ok, :http} = :gun.await_up(conn) | |
:gun.ws_upgrade(conn, path) |
NewerOlder