Skip to content

Instantly share code, notes, and snippets.

View hawkesn's full-sized avatar

Nicholas Hawkes hawkesn

  • Mighty Networks
  • Toronto
View GitHub Profile
@hawkesn
hawkesn / aws_vpn_close.js
Last active September 21, 2021 06:43
aws_vpn_close.js
// ==UserScript==
// @name AWS VPN - Close Window
// @namespace Violentmonkey Scripts
// @match http://127.0.0.1:35001/
// @grant window.close
// @version 1.0
// @author Nicholas Hawkes
// @description Close the tab when successful AWS VPN is on
// @homepage https://gist.github.com/hawkesnc/ddfdb6f35ad23e8f4a00439bcaddaaa6
// ==/UserScript==
@hawkesn
hawkesn / aws_sso_cli_close_window.js
Last active May 21, 2021 21:05
Auto AWS SSO CLI - Close Window
// ==UserScript==
// @name Auto AWS SSO CLI - Close Window
// @namespace Violentmonkey Scripts
// @match https://*.awsapps.com/start/user-consent/login-success.html
// @grant window.close
// @version 1.0
// @author Nicholas Hawkes
// @description Close the tab when successful AWS SSO CLI login
// @homepage https://gist.github.com/hawkesnc/b710c3b7713b08d3a39959d4e06056f3
// ==/UserScript==
@hawkesn
hawkesn / aws_sso_cli_page_login.js
Last active October 13, 2022 12:13
Auto AWS SSO CLI - Login
// ==UserScript==
// @name Auto AWS SSO CLI - Login
// @namespace Violentmonkey Scripts
// @match https://*.awsapps.com/start/user-consent/authorize.html?clientId=*
// @grant none
// @version 1.0
// @author Nicholas Hawkes
// @description Automatically presses the "Sign in to AWS CLI" button
// @homepage https://gist.github.com/hawkesnc/ae9fc22fc5d17ac250f6376b0591161c
// ==/UserScript==