#MindNode URL Schemes
###Launch MindNode mindnode://
####Examples mindnode://
###Open Document
#!/bin/bash | |
# Requires: | |
# iTem2 3c | |
# pup | |
# imgcat | |
curl -s "http:$(curl -s xkcd.com | pup 'div[id="comic"] img attr{src}')" | imgcat; curl -s xkcd.com | pup 'div[id="comic"] img attr{title}' |
gnome-cups-manager | |
------------------ | |
Once upon a time there was a printer who lived in the woods. He was a | |
lonely printer, because nobody knew how to configure him. He hoped | |
and hoped for someone to play with. | |
One day, the wind passed by the printer's cottage. "Whoosh," said the | |
wind. The printer became excited. Maybe the wind would be his | |
friend! |
061997d DELEGATE ALL THE THINGS | |
092aa231f wait, wrong place | |
09e7fd3 RERECORD ALL THE THINGS!!! | |
0c27fb3 yeah, fix things will ya | |
0f4549133 New ascii art task (\!important stuff) , and a few DAO tweaks (mino... | |
12aa7ef34 LE NONNNNNN LE MADNESS | |
13233e7 Less PHP | |
154c535 Once more, now with feeling and a proper master head | |
184e754 Dear Past-Friday David :Remember the textarea that seemed totally random and misterioys? It was $.ajax... obviously | |
19a8700 MAKE IT BIGGER |
These are my rough notes when preparing for a Haskell livestream that I
thought would be worth sharing. Some things are general comments on
contributing to the open source ecosystem whereas other notes are specific
to the stream (e.g. Haskell and the streamly
package)
How things look from a maintainer's point of view (for highly active projects):
As projects become more active the maintainer's "inbox" gets pretty large. A
* Importance of category theory | |
* Answers the question: "What is a *timeless* API?" | |
* What does "timeless" mean? | |
* Likely to still be relevant years from now | |
* Likely to be low maintenance (since unlikely to change) | |
* Less likely to be subject to controversy or discussion ("obvious") | |
* Examples: | |
* Everything Haskell's typeclassopedia (except maybe `Foldable`) | |
* Categories / Monoids | |
* `(.)` / `id` |
from fastcore.utils import * | |
host = 8888,'localhost' | |
sock = start_server(*host) | |
print(f'Serving on {host}...') | |
while True: | |
conn,addr = sock.accept() | |
with conn: | |
data = conn.recv(1024) | |
print(data.decode()) |
# Usage: | |
# [sudo] gem install mechanize | |
# ruby tumblr-photo-ripper.rb | |
require 'rubygems' | |
require 'mechanize' | |
# Your Tumblr subdomain, e.g. "jamiew" for "jamiew.tumblr.com" | |
site = "doctorwho" |
#!/bin/env bash | |
set -o pipefail | |
read -r -d '' HELP <<-'HELPDOC' | |
ts-ip-by-hostname — returns the Tailscale IP address of a connected | |
device by the hostname. | |
Usage: |