See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/bin/bash | |
# ##Requirements | |
# - twurl | |
# - Ruby | |
# - SQLite 3 | |
set -e | |
# cronとかで使えるようにsqliteとruby、ruby gemsのパスを通す。これはmacOSのHomebrewで入れた場合 |
// ==UserScript== | |
// @name feelcycle-diff-sheet.js | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description FEELCYCLE の予約ページで難易度を表示する userscript | |
// @author owatan | |
// @match https://m.feelcycle.com/reserve | |
// @icon https://m.feelcycle.com/favicon.png | |
// @grant none | |
// ==/UserScript== |
echo 'APT::Install-Recommends "false"; | |
APT::Install-Suggests "false";' | sudo tee /etc/apt/apt.conf.d/00install-recommends > /dev/null | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt-get update | |
sudo apt-get install -y docker-ce nftables | |
sudo update-alternatives --set iptables $(which iptables-nft) | |
sudo update-alternatives --set ip6tables $(which ip6tables-nft) | |
sudo usermod -aG docker $(whoami) |
// ==UserScript== | |
// @name Amazon Prime Video auto hide the next up card | |
// @namespace https://kpherox.dev/ | |
// @version 1.4.0 | |
// @author kPherox | |
// @match https://www.amazon.co.jp/gp/video/* | |
// @match https://www.amazon.co.jp/Amazon-Video/* | |
// @updateURL https://gist.github.com/kphrx/2d7c91067c42453ec88a65e2202c2144/raw/primevideo-autohide-nextupcard.user.js | |
// @downloadURL https://gist.github.com/kphrx/2d7c91067c42453ec88a65e2202c2144/raw/primevideo-autohide-nextupcard.user.js | |
// @grant none |
#!/usr/bin/env perl | |
my $current = `docker buildx version`; | |
use POSIX qw(uname); | |
my @uname = uname(); | |
my $os = lc($uname[0]); | |
my $arch = $uname[4]; | |
my %arch_map = ( | |
aarch64 => 'arm64', |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:55A28362FE5705D3FF270136C04751C2BFA2F62D]
#!/bin/sh | |
if [ -s plc.jsonl ]; then | |
LATEST=$(tail -n1 plc.jsonl | jq -r '.createdAt') | |
echo "From: $LATEST; $(jq -s 'unique_by(.did) | length' plc.jsonl)" | |
curl -s https://plc.directory/export\?after\=$LATEST >> plc.jsonl | |
else | |
curl -s https://plc.directory/export >> plc.jsonl | |
fi |
{"label":"TCK tests","message":"9 / 13","schemaVersion":1,"color":"hsl(83, 100%, 40%)"} |