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 cns.me DE-BS BOT 3000 🤖🤪 | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-09-18 | |
// @description Remove BS from register articles | |
// @author Chris Nesbitt-Smith | |
// @match https://www.theregister.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=theregister.com | |
// @connect 127.0.0.1 | |
// ==/UserScript== |
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 | |
# for example to go to the previous input option: | |
./hisense.py -d $IP_ADDRESS KEY_RETURNS KEY_HOME KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN KEY_DOWN DELAY KEY_RIGHT KEY_OK | |
# note it gets stuck if it goes into anycast and no longer responds to UDP :( |
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 | |
do_work() { | |
local dir=$1 | |
local start_time=$2 | |
local duration_to_keep=$3 | |
cd $dir | |
rm -v trimmed_*.mp4 *.txt | |
for file in *.mp4; do | |
output_file="trimmed_$file" |
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
# site needs to be in the configurable list | |
# follow this guide: https://learn.microsoft.com/en-us/deployedge/edge-learnmore-configurable-sites-ie-mode | |
http { | |
server { | |
set $ieaction ''; | |
if ( $http_x_internetexplorermodeconfigurable = 1) { | |
set $ieaction "configurable+${ieaction}"; | |
} | |
if ($http_x_internetexplorermodeconfigurable != 1) { |
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 Big address bar | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description presents a big address bar with ctrl+L | |
// @author You | |
// @match http://localhost/* | |
// @grant none | |
// @require https://code.jquery.com/jquery-3.6.0.slim.min.js | |
// ==/UserScript== |
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 Jabra google meet mute button | |
// @namespace http://tampermonkey.net/ | |
// @version 0.6 | |
// @description google meet jabra mute button | |
// @author Chris Nesbitt-Smith | |
// @match https://meet.google.com/* | |
// @require https://code.jquery.com/jquery-3.6.0.slim.min.js | |
// @require https://cdn.jsdelivr.net/npm/@gnaudio/[email protected]/browser-umd/index.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js |
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
# ./k8s/cert-manager/issuers.yaml | |
--- | |
apiVersion: cert-manager.io/v1 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-prod | |
spec: | |
acme: | |
email: [email protected] | |
server: https://acme-v02.api.letsencrypt.org/directory |
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
*PPD-Adobe: "4.3" | |
*% Adobe Systems PostScript(R) Printer Description File | |
*% Copyright 1987-1996 Adobe Systems Incorporated. | |
*% All Rights Reserved. | |
*% Permission is granted for redistribution of this file as | |
*% long as this copyright notice is intact and the contents | |
*% of the file is not altered in any way from its original form. | |
*% End of Copyright statement | |
*FileVersion: "1.0" | |
*FormatVersion: "4.3" |
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
const http = require('http'); http.get("http://169.254.169.254/latest/meta-data/iam/security-credentials/", res => res.on("data", role => http.get(`http://169.254.169.254/latest/meta-data/iam/security-credentials/${role}`, res => res.on("data", (data, json=JSON.parse(data)) => console.log(`export AWS_ACCESS_KEY_ID=${json.AccessKeyId} AWS_SECRET_ACCESS_KEY=${json.SecretAccessKey} AWS_SESSION_TOKEN=${json.Token}`))))) |
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
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install -y atom | |
choco install -y bash --source cygwin | |
choco install -y curl | |
choco install -y docker | |
choco install -y docker-machine | |
choco install -y firefox | |
choco install -y git | |
choco install -y googlechrome |
NewerOlder