Skip to content

Instantly share code, notes, and snippets.

View hyjk2000's full-sized avatar

James Shih hyjk2000

View GitHub Profile
@hyjk2000
hyjk2000 / aws.config
Last active March 25, 2022 03:16
Use AWS Vault with AWS CLI Profiles
[default]
[profile jonsmith]
credential_process=aws-vault exec jonsmith --json --prompt=osascript
[profile dev]
source_profile=jonsmith
region=ap-southeast-2
role_arn=arn:aws:iam::123456789:role/DevRole
@hyjk2000
hyjk2000 / glassdoor-no-hardsell.js
Created July 6, 2022 22:01
Glassdoor No Hardsell
(function () {
const overlay = document.querySelector("#ContentWallHardsell");
overlay.parentNode.removeChild(overlay);
document.body.style.overflow = "visible";
(function (elem, eventType) {
for (const { listener, useCapture } of getEventListeners(elem)[eventType] ||
[]) {
elem.removeEventListener(eventType, listener, { useCapture });