This file contains hidden or 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 -Eeuo pipefail | |
oci="$PWD" # TODO parameter/flag (and pass it around to other oci tools correctly!) | |
# ~validate $oci is an OCI layout | |
[ -s "$oci/oci-layout" ] | |
jq -se 'length == 1 and .[0].imageLayoutVersion == "1.0.0"' "$oci/oci-layout" > /dev/null | |
# TODO more/better validation? definitely better error handling |
This file contains hidden or 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
# | |
# This script was taken from debootstrap version 0.2.45-0.2, adapted with several changes to match the corresponding changes to "potato" since it was removed, and then hacked to avoid invoking "init u" in postinst scripts (which tries to send SIGHUP to PID 1). | |
# | |
mirror_style main | |
download_style apt var-state | |
default_mirror http://archive.debian.org/debian | |
force_md5 | |
work_out_debs () { |
This file contains hidden or 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
deb http://example.com/jessie jessie main | |
deb http://example.com/jessie-security jessie main | |
deb http://example.com/jessie jessie-updates main |
This file contains hidden or 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 -Eeuo pipefail | |
# for real pushes, this would be "library" | |
targetOrg='trollin' | |
# https://github.com/tianon/dockerhub-public-proxy | |
publicProxy="$DOCKERHUB_PUBLIC_PROXY" | |
_curl() { |
This file contains hidden or 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
# see https://lists.gt.net/mythtv/users/334412#334412 | |
Section "Monitor" | |
Identifier "VizioGV42L" | |
VendorName "VIZIO" | |
ModelName "GV42L" | |
HorizSync 31.0 - 70.0 | |
VertRefresh 50.0 - 85.0 | |
Option "DPMS" |
This file contains hidden or 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
# inspired by https://twitter.com/jessfraz/status/782333853117448192 | |
# https://gist.github.com/jessfraz/421918a367a71dbaf72fdc772d809f61 | |
# https://gist.github.com/tianon/c5ae888200d6426b167d4961d088dee2 | |
server { | |
listen 80; | |
listen 443 ssl http2; | |
server_name go.tianon.xyz; |
I hereby claim:
- I am tianon on github.
- I am tianon (https://keybase.io/tianon) on keybase.
- I have a public key whose fingerprint is B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
To claim this, I am signing this object:
This file contains hidden or 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
diff --git a/jessie-1.tar.tv b/jessie-2.tar.tv | |
index a0a88dc..a3b3f44 100644 | |
--- a/jessie-1.tar.tv | |
+++ b/jessie-2.tar.tv | |
@@ -1,35 +1,35 @@ | |
-drwxr-xr-x root/root 0 2016-07-08 14:04 ./ | |
-drwxr-xr-x root/root 0 2016-07-08 14:03 ./dev/ | |
-crw-rw-rw- root/root 1,5 2016-07-08 14:03 ./dev/zero | |
-lrwxrwxrwx root/root 0 2016-07-08 14:03 ./dev/stderr -> /proc/self/fd/2 | |
-lrwxrwxrwx root/root 0 2016-07-08 14:03 ./dev/stdin -> /proc/self/fd/0 |
This file contains hidden or 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 | |
set -e | |
# https://gist.github.com/tianon/b7fce03f0d52f8103242421878fc6b5e | |
# | |
# usage: | |
# | |
# $ apt-mark-minimum-manual.sh | |
# inetutils-ping |
NewerOlder