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 Remove Proofpoint | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-01-19 | |
// @description Replace Proofpoint links with the target directly | |
// @author Warren Seine | |
// @match https://outlook.office.com/mail/* | |
// @icon https://res.public.onecdn.static.microsoft/owamail/20241011003.19/resources/images/favicons/mail-seen.ico | |
// @downloadURL https://gist.github.com/warrenseine/31129f9206f5fd82861944d5ff1a6189/raw/remove-proofpoint.user.js | |
// @updateURL https://gist.github.com/warrenseine/31129f9206f5fd82861944d5ff1a6189/raw/remove-proofpoint.user.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
// ==UserScript== | |
// @name Outlook Unread count | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-10-25 | |
// @description Show unread count in Outlook favicon | |
// @author Warren Seine | |
// @match https://outlook.office.com/mail/* | |
// @icon https://res.public.onecdn.static.microsoft/owamail/20241011003.19/resources/images/favicons/mail-seen.ico | |
// @grant none | |
// ==/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== | |
// ==UserScript== | |
// @name Duplicate tab | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-03-21 | |
// @description Duplicate current tab with Cmd + D | |
// @author Warren Seine | |
// @match *://*/* | |
// @grant none | |
// ==/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 Keycloak Auto-Login | |
// @namespace http://tampermonkey.net/ | |
// @include /^https:\/\/.*\/auth\/realms\/.*\/(saml|auth)\?/ | |
// @version 1.0 | |
// @author Warren Seine | |
// @description Auto-login on Keycloak | |
// @icon https://upload.wikimedia.org/wikipedia/commons/2/29/Keycloak_Logo.png | |
// ==/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
# Example to use Docker instead of containerd & nerdctl | |
# $ limactl start ./docker.yaml | |
# $ limactl shell docker docker run -it -v $HOME:$HOME --rm alpine | |
# To run `docker` on the host (assumes docker-cli is installed): | |
# $ export DOCKER_HOST=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock') | |
# $ docker ... | |
# Example to run ubuntu using vmType: vz instead of qemu (Default) | |
# This example requires Lima v0.14.0 or later and macOS 13. |
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 OneLogin Auto-Login | |
// @namespace http://tampermonkey.net/ | |
// @match https://*.onelogin.com/login2/* | |
// @version 1.0 | |
// @author Warren Seine | |
// @description Auto-login on OneLogin if password is auto-filled | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=onelogin.com | |
// ==/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 AWS VPN Auto-Close | |
// @namespace http://tampermonkey.net/ | |
// @match http://127.0.0.1/ | |
// @grant window.close | |
// @version 1.0 | |
// @author Warren Seine | |
// @description Close the tab when successful AWS VPN is on | |
// @icon https://a0.awsstatic.com/libra-css/images/site/fav/favicon.ico | |
// ==/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
all: hello-fprintf.html hello-iostream.html hello-write.html | |
hello-fprintf.html: hello-fprintf.cpp | |
em++ -std=c++11 -O2 hello-fprintf.cpp -o hello-fprintf.bc | |
emcc -O2 hello-fprintf.bc -o hello-fprintf.html | |
hello-iostream.html: hello-iostream.cpp | |
em++ -std=c++11 -O2 hello-iostream.cpp -o hello-iostream.bc | |
emcc -O2 hello-iostream.bc -o hello-iostream.html |
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
main.html: main.cpp | |
em++ -std=c++11 -O2 main.cpp -o main.bc | |
emcc -O2 main.bc -o main.html | |
clean: | |
rm -f main.bc main.js main.html main.html.map main.html.mem |
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 -x | |
set -e | |
BFG_URL="http://repo1.maven.org/maven2/com/madgag/bfg/1.11.7/bfg-1.11.7.jar" | |
BFG_BIN=`basename ${BFG_URL}` | |
BFG="/tmp/${BFG_BIN}" | |
[[ -n "$1" ]] || { |
NewerOlder