http://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html https://www.youtube.com/watch?v=_wiGpBQGCjU
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
// go to https://twitter.com/your-username, and enter the following into the developer console: | |
for(var i = 1; i < 500; i++){ // just do it a bunch | |
// Un retweet | |
document.getElementsByClassName("ProfileTweet-actionButtonUndo")[i].click(); | |
document.getElementsByClassName("js-close")[0].click(); | |
// Delete tweets | |
document.getElementsByClassName("js-actionDelete")[i].childNodes[1].click(); | |
document.getElementsByClassName("delete-action")[0].click() | |
} |
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
/* | |
* No package must be added here because some Online Judges don't support it | |
* please remove, if any. | |
* | |
*/ | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
/* |
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 | |
TYPE=$(gum choose "fix" "feat" "docs" "style" "refactor" "test" "chore" "revert") | |
SCOPE=$(gum input --placeholder "scope") | |
# Since the scope is optional, wrap it in parentheses if it has a value. | |
test -n "$SCOPE" && SCOPE="($SCOPE)" | |
# Pre-populate the input with the type(scope): so that the user may change it | |
SUMMARY=$(gum input --value "$TYPE$SCOPE: " --placeholder "Summary of this change") | |
DESCRIPTION=$(gum write --placeholder "Details of this change (CTRL+D to finish)") |