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 -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 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 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; |
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 | |
set -e | |
# https://gist.github.com/tianon/b7fce03f0d52f8103242421878fc6b5e | |
# | |
# usage: | |
# | |
# $ apt-mark-minimum-manual.sh | |
# inetutils-ping |
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
package main | |
import ( | |
"fmt" | |
"github.com/docker/machine/libmachine/drivers" | |
"github.com/docker/machine/libmachine/engine" | |
"github.com/docker/machine/libmachine/mcnflag" | |
"github.com/docker/machine/libmachine/state" | |
) |
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
diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt | |
index bbab35f..f4ca476 100644 | |
--- a/Documentation/git-diff.txt | |
+++ b/Documentation/git-diff.txt | |
@@ -99,10 +99,17 @@ include::diff-options.txt[] | |
<path>...:: | |
The <paths> parameters, when given, are used to limit | |
the diff to the named paths (you can give directory | |
names and get diff for all files under them). |
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 | |
set -eu | |
# https://gist.github.com/tianon/a0080cbca558e4b907fe | |
suite="${1:-}" | |
shift || { echo >&2 "usage: $0 suite [arch]"; exit 1; } | |
targetSuite="$suite" | |
case "$targetSuite" in |
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 com.cloudbees.hudson.plugins.folder.Folder | |
import hudson.FilePath | |
import jenkins.model.Jenkins | |
def boolean isFolder(String name) { | |
def item = Jenkins.instance.getItemByFullName(name) | |
return item instanceof Folder | |
} | |
def deleteUnusedWorkspace(FilePath root, String path) { |
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 | |
set -e | |
# https://gist.github.com/tianon/92ebbd1793864b9586bc | |
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" | |
hackVendor="$(< hack/vendor.sh)" | |
if [ "$1" ]; then | |
hackVendor="$(git show "$1":hack/vendor.sh)" |
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
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
NewerOlder