A library and then an executable that uses that library.
Create a folder called foo
:
type contact = { | |
id: int64, | |
email: string, | |
}; | |
module Contacts = Map.Make(Int64); | |
type email = { | |
from_addr: string, | |
to_addr: string, | |
title: string, | |
body: string, |
{ | |
"title": "DREVO Calibur 71-key Keyboard", | |
"rules": [ | |
{ | |
"description": "Set ESC to grave_accent_and_tilde", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", |
#!/bin/zsh | |
bold="\e[0;91m" | |
blue="\e[0;94m" | |
expand_bg="\e[K" | |
bold="\e[0;104m${expand_bg}" | |
bold_bg="\e[0;101m${expand_bg}" | |
green_bg="\e[0;102m${expand_bg}" | |
green="\e[0;92m" | |
white="\e[0;97m" |
#!/bin/sh | |
# deleting converted files | |
Delete(){ | |
RE() { | |
filenames=$(find "$(pwd)" -name "*.re") | |
len=${#filenames[@]} | |
echo "$len" | |
echo "$filenames" | |
for filename in $filenames; do rm "$filename"; done; |
/** Compatible with OCaml standard library */ | |
/** https://discord.com/channels/235176658175262720/235199119747055616/705145905971462275 */ | |
module type Iter = { | |
type t('a); | |
let iter: ('a => unit, t('a)) => unit; | |
}; | |
module JsIterable = { | |
type t('a); | |
type iterator('a); |
aria2c \
-x 16 \
-s 16 \
--load-cookies=cookies.txt \
https://download.developer.apple.com/Developer_Tools/Xcode_10.3/Xcode_10.3.xip
cd $HOME/Library/Application Support/Postgres/var-13 | |
rm postmaster.id | |
# or | |
rm $HOME/Library/Application Support/Postgres/var-13/postmaster.id | |
cat "$HOME/Library/Application Support/Postgres/var-13/postmaster.pid" | |
582 | |
/Users/user/Library/Application Support/Postgres/var-13 |
# https://stackoverflow.com/questions/13716658/how-to-delete-all-commit-history-in-github#26000395 | |
# echo Checkout | |
git checkout --orphan latest_branch | |
# echo Add all the files | |
git add -A |