CMD + CTRL + SPACEBAR
--- show emojiCTRL + ALT + SHIFT + V
--- paste without formattingCMD + ~
orCMD + SHIFT + ~
--- swap windows inside 1 app⌃ + ⌘ + ⇧ + 4
--- allows you to take a screenshot and save it to your clipboardCMD + SHIFT + /
--- open help section of any app that has a help menu-item- Terminal
CTRL + U
--- remove everything on this line
CTRL + R
--- reverse search for specific string
This file contains hidden or 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
# Set the logs retention policy for your default AWS account in region eu-west-1 to 5 days, execute the command: | |
# ./set-log-groups-retention.sh exampleFunction 5 | |
# Need to have Resource: "*" in IAM to get access to call all regions in SSM (Systems Manager) | |
# Reference: https://docs.aws.amazon.com/general/latest/gr/rande.html | |
# DO NOT FORGET TO SET `export AWS_PROFILE=your-aws-config-iam-profile` ;) | |
export LOGS_PREFIX=${1:exampleFunction} | |
RETENTION_DAYS=${2:-3} |
This file contains hidden or 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
// define libraries you would need | |
var oauth = require('oauth') | |
// define your OAuth-application credentials | |
var twitterConsumerKey = 'xxxxxxxxxxxxxxxxxxxx' | |
var twitterConsumerSecret = 'xxxxxxxxxxxxxxxxxxxx' | |
var api = new oauth.OAuth( | |
'https://twitter.com/oauth/request_token', | |
'https://twitter.com/oauth/access_token', |
This file contains hidden or 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
// define libraries you would need | |
var oauth = require('oauth') | |
var AWS = require('aws-sdk') | |
// define your OAuth-application credentials | |
var twitterConsumerKey = 'xxxxxxxxxxxxxxxxxxxx' | |
var twitterConsumerSecret = 'xxxxxxxxxxxxxxxxxxxx' | |
// ensure AWS is requesting the nearest region | |
AWS.config.update({ |
This file contains hidden or 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
// define libraries you would need | |
var oauth = require('oauth') | |
var AWS = require('aws-sdk') | |
var cuid = require('cuid') | |
// define your OAuth-application credentials | |
var twitterConsumerKey = 'xxxxxxxxxxxxxxxxxxxx' | |
var twitterConsumerSecret = 'xxxxxxxxxxxxxxxxxxxx' | |
// ensure AWS is requesting the nearest region |
I hereby claim:
- I am joeyvandijk on github.
- I am joeyvandijk (https://keybase.io/joeyvandijk) on keybase.
- I have a public key whose fingerprint is 7FA8 7ECE 473A 4822 1BB2 CF1C A239 F9AF 41CD 02D7
To claim this, I am signing this object: