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/sh | |
# Licensed under CC0 in jurisdictions where this is not directly in the Public Domain | |
# Authored by Santiago Saavedra (github.com/ssaavedra) | |
git scalafmt --test || exit 1 | |
# If there are whitespace errors, print the offending file names and fail. | |
exec git diff-index --check --cached $against -- |
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
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<name>win10</name> | |
<uuid>3716c67d-59b9-42f4-8ac4-f0ada39ef48a</uuid> | |
<memory unit='KiB'>16588800</memory> | |
<currentMemory unit='KiB'>4194304</currentMemory> | |
<memoryBacking> | |
<hugepages/> | |
</memoryBacking> | |
<vcpu placement='static'>8</vcpu> | |
<iothreads>2</iothreads> |
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
// ==UserScript== | |
// @name PrimeVideo/Netflix Speed Changer | |
// @namespace http://ssaavedra.eu/ | |
// @version 1.2.3 | |
// @description ALlows changing the playback speed on Primevideo and Netflix | |
// @author ssaavedra | |
// @homepageURL https://gitlab.com/ssaavedra.eu/userscripts | |
// @downloadURL https://gitlab.com/ssaavedra.eu/userscripts/-/raw/master/primevideospeedchanger.user.js | |
// @updateURL https://gitlab.com/ssaavedra.eu/userscripts/-/raw/master/primevideospeedchanger.user.js | |
// @match https://www.primevideo.com/* |
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
''' | |
DiffMatcher is a tool to check an input against a database of known variants. | |
For example, to determine (and resort to fuzzy-matching if required) whether | |
some unsanitized fields of user-input match a preset of known-good entries. | |
Author: Santiago Saavedra <info@ssaavedra.eu> | |
SPDX-License-Identifier: CC0-1.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
#!/bin/bash | |
# "Repair" VSCode WSLServer script to include genie invocation | |
# Author: Santiago Saavedra <info@ssaavedra.eu> | |
# License: Public Domain or CC0 | |
patch_file () { | |
patch -r- -F0 "$1" <(cat <<EOF | |
--- /dev/null 2022-02-15 00:14:03.180843900 +0100 | |
+++ $1 2022-03-06 13:07:22.380000000 +0100 |
OlderNewer