I hereby claim:
- I am hjdarnel on github.
- I am hjdarnel (https://keybase.io/hjdarnel) on keybase.
- I have a public key ASCYMlPnVSP8IxOVW6Sk3Eo16WnrhirNxiHEod94xep5iQo
To claim this, I am signing this object:
// ==UserScript== | |
// @name AWS SSO Focus Confirm and Continue button | |
// @version 1.0.1 | |
// @description Focus authorize allow button when confirming AWS CLI SSO code | |
// @downloadURL https://gist.github.com/hjdarnel/d014de4c9f9361ac656a441525f6b503/raw/focus-aws-sso-code-confirm-allow.user.js | |
// @updateURL https://gist.github.com/hjdarnel/d014de4c9f9361ac656a441525f6b503/raw/focus-aws-sso-code-confirm-allow.user.js | |
// @author Henry Darnell @hjdarnel | |
// @match https://device.sso.us-east-1.amazonaws.com/* | |
// @icon https://www.google.com/s2/favicons?domain=awsapps.com | |
// @grant none |
// ==UserScript== | |
// @name AWS SSO Start Page | |
// @version 1.2.0 | |
// @description Expand all account options | |
// @author Gregory Seidman @gregory-seidman | |
// @downloadURL https://gist.github.com/hjdarnel/c09cc38f9348f4d5bf8985ff8d42f463/raw/expand-sso-aws-login-options.user.js | |
// @updateURL https://gist.github.com/hjdarnel/c09cc38f9348f4d5bf8985ff8d42f463/raw/expand-sso-aws-login-options.user.js | |
// @match https://*.awsapps.com/start* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=awsapps.com | |
// @grant none |
// ==UserScript== | |
// @name AWS Close SSO success | |
// @version 1.0.7 | |
// @description Close the tab after successfully logging in via SSO | |
// @downloadURL https://gist.github.com/hjdarnel/6163bafb3595d3fd7a0b6e42e4db0248/raw/aws_close_sso_success.user.js | |
// @updateURL https://gist.github.com/hjdarnel/6163bafb3595d3fd7a0b6e42e4db0248/raw/aws_close_sso_success.user.js | |
// @author Gregory Seidman @gregory-seidman | |
// @match https://*.awsapps.com/start/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=awsapps.com | |
// @grant window.close |
# Send a Slack message to any channel with your commits from the previous 24 hours | |
# add this to crontab -e | |
# requires legacy token https://api.slack.com/custom-integrations/legacy-tokens | |
# requires channel id replacement | |
# requires git standup to be installed https://github.com/kamranahmedse/git-standup | |
#!/bin/sh | |
cd /Users/henry | |
standup=$(git standup -m 3 -s -D local | sed -e 's/<Henry Darnell>//g' -e 's/\/Users\/henry\///g') | |
curl -X POST -H 'Authorization: Bearer ---REDACTED LEGACY TOKEN---' \ |
do shell script "pmset -g batt | grep InternalBattery | column -t" | |
set x to the result | |
set percentage to word 6 of x | |
set state to word 7 of x | |
set t1 to word 8 of x | |
set t2 to word 9 of x | |
set remaining to the word 10 of x | |
if remaining contains "remaining" then | |
if state is "discharging" then | |
return percentage & "%" |
[ | |
["f", "Show next/latest diffs", "setProposedDiffBounds()"], | |
["n", "Next unreviewed file", "nextUnreviewedFile()"], | |
["p", "Previous unreviewed file", "prevUnreviewedFile()"], | |
[null, "Next personally unreviewed file", "nextPersonallyUnreviewedFile()"], | |
[null, "Previous personally unreviewed file", "prevPersonallyUnreviewedFile()"], | |
["shift+n", "Next changed file", "nextChangedFile()"], | |
["shift+p", "Previous changed file", "prevChangedFile()"], | |
[null, "Next visible file", "nextVisibleFile()"], |
I hereby claim:
To claim this, I am signing this object: