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
%!PS-Adobe-3.0 | |
%%Creator: (Wojciech Pawlik) | |
%%BoundingBox: 0 0 600 600 | |
%%EndComments | |
%%BeginProlog | |
<< /PageSize [600 600] >> setpagedevice | |
/Helvetica-Bold findfont 20 scalefont setfont | |
300 300 translate | |
1 1 1 setrgbcolor |
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/bash -eu | |
export PATH="$PWD/node_modules/.bin:$PATH" | |
name="$1" | |
shift | |
args="${*@Q}" | |
if cmd="$(jq --raw-output --exit-status --arg name "pre$name" '.scripts[$name]' package.json)"; then | |
echo "> $cmd" |
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
#include <cassert> | |
#include <cctype> | |
#include <bitset> | |
#include <iomanip> | |
#include <iostream> | |
#include <vector> | |
using Incidence = std::bitset<2>; | |
template <typename T> |
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
import type { Client, Opts, Ret } from "./deps.ts"; | |
export type Api = { | |
[M in keyof Opts]: ( | |
payload: Opts[M], | |
signal?: AbortSignal, | |
) => Promise<Ret[M]>; | |
}; | |
export const createApi = (client: Client) => |
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
# http://editorconfig.org/ | |
root = true | |
[*] | |
indent_style = tab | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
[*.md] |
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/bash | |
for i in "$@"; do | |
echo $i | |
done >> .gitignore |