You can run an Archive Team container on your computer! It'll help crawl the web and putting stuff into archive.org, based on the current projects.
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
#!/usr/bin/env bash | |
# Using gnu tar, make a tarball using pax format and drop unneeded metadata | |
# Also sha256sum all files before creating the tarball and include a text file of checksums in the tarball. | |
# Ref: https://www.gnu.org/software/tar/manual/html_chapter/Formats.html#Reproducibility | |
# Note that we delete mtime instead of setting it as the docs suggest above | |
# Note that gzip you may want --no-names; zstd has the same option, but it is enabled by default. | |
# Note that BSD tar (including mac os flavor) does not accept some of these options. | |
# | |
# License: CC0 v1.0 universal: https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt |
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
#!/usr/bin/env sh | |
# Generate and screen 4096-bit moduli file for /etc/ssh/moduli | |
# | |
# Refs: | |
# `man ssh-keygen`, section MODULI GENERATION | |
# `man moduli` | |
# https://infosec.mozilla.org/guidelines/openssh | |
set -eux |
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
#!/usr/local/bin env python | |
import argparse | |
import sys | |
# Example input: | |
# TFF: 4083 BFF: 0 Progressive: 1 Undetermined: 917 | |
# TFF: 4984 BFF: 0 Progressive: 16 Undetermined: 1 | |
def get_records() -> list[list[str]]: |
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
#!/usr/bin/env bash | |
set -eux | |
# deinterlace with `-vf yadif_cuda=1` after the -i line | |
HWACCEL="nvdec"; # https://trac.ffmpeg.org/wiki/HWAccelIntro#CUDANVENCNVDEC | |
HWACCEL_DEVICE="/dev/dri/renderD129"; # on beppo 128=amd, 129=nvidia | |
CRF="23"; # Perceptually lossless (see: https://trac.ffmpeg.org/wiki/Encode/AV1#ConstantQuality ) | |
PRESET="3"; # 0 - 13 (higher is faster encode / worse qual) | |
TUNE="0"; |
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
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage{covington} | |
\usepackage{avm} | |
\begin{document} | |
%%begin novalidate | |
\begin{avm} | |
\avml | |
\[ |
In this problem, you will be asked to write lexical entries (including HEAD, SPR, and COMPS values). You may use NP, VP, etc. as abbreviations for the feature structures on COMPS lists.
As you do this problem, keep the following points in mind: (1) In this chapter we’ve changed COMPS to be a list-valued feature, and (2) heads select for their specifier and complements (if they have any); the elements on the SPR and COMPS lists do not simultaneously select for the head.
Show that the grammar in (23) can account for the ambiguity of each of the following sentences by providing at least two trees licensed for each one, and explain briefly which interpretation goes with which tree:
- (i) Bo saw the group with the telescope.
- (ii) Most dogs and cats with fleas live in this neighborhood.
- (iii) The pictures show Superman and Lois Lane and Wonder Woman.
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
key_bindings: | |
# MacOS keybinds ===== | |
# https://github.com/alacritty/alacritty/blob/master/alacritty.yml#L611-L626 | |
- { key: N, mods: Command, action: SpawnNewInstance } | |
- { key: Q, mods: Command, action: Quit } | |
- { key: Key0, mods: Command, action: ResetFontSize } | |
- { key: Equals, mods: Command, action: IncreaseFontSize } | |
- { key: Add, mods: Command, action: IncreaseFontSize } | |
- { key: Minus, mods: Command, action: DecreaseFontSize } |
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
# ============================================================================== | |
# PS1 setup | |
# Color Variables | |
BOLD=$(tput bold) | |
RED=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
YELLOW=$(tput setaf 3) | |
BLUE=$(tput setaf 4) | |
PURPLE=$(tput setaf 5) |
NewerOlder