- x
- x
- x
- x
- x
- x
- x
usage() { | |
cat <<EOF | |
Usage: | |
copy-tail SOURCE_PATH REMOTE_HOST REMOTE_PATH | |
EOF | |
} | |
if [ "$#" -ne "3" ]; then | |
echo "Wrong number of arguments!" |
package main | |
import ( | |
"fmt" | |
"github.com/alecthomas/kingpin" | |
) | |
type cmd struct { | |
*kingpin.CmdClause |
package webutil | |
import ( | |
"bufio" | |
"bytes" | |
"net" | |
"net/http" | |
) | |
type BufferedResponseWriter struct { |
This is a flexible mount for Raspberry Pi camera module on aluminium 2020 v-slot extrusion.
the layout is probably a bit confusing
at 0,0,0 there's an assembled camera mount including a simplified model of the camera itself
at -50, 0, 0 there's an assembled hinge
at 50, 0, 0 and around it are different pieces that i printed in print layout
i used ! to select the parts to print (cunningly concealed in module to_print) to export .stl's
all parts in to_print are in the orientation to print them
#!/usr/bin/env bash | |
set -eu -o pipefail | |
# Set default values for unset variables | |
: ${OUT_DIR:="${HOME}/tmp/git-revert-time"} | |
: ${REMOTE:='origin'} | |
: ${BRANCH:='master'} | |
: ${SINCE:='2020-01-01'} | |
echo "Output and temp files will be written to ${OUT_DIR}" |
// ==UserScript== | |
// @name GitHub statuses increase height | |
// @version 1 | |
// @grant none | |
// @match https://github.com/* | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
var head, style; | |
head = document.getElementsByTagName('head')[0]; |
// ==UserScript== | |
// @name Argo Workflows improvements | |
// @namespace https://github.com/fluffysquirrels | |
// @version 4.8 | |
// @description Augments the Argo Workflows UI to improve navigating and viewing workflows. | |
// @run-at document-end | |
// @require https://unpkg.com/@popperjs/core@2 | |
// @require https://gist.githubusercontent.com/fluffysquirrels/4683dee3421cee8a1cc32a2880323575/raw/tippy.js_6.3.7_tippy-bundle.umd.js | |
// @grant unsafeWindow |