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/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
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
exports.handler = async (event) => { | |
const response = { | |
"statusCode": 401, | |
"statusDescription": "401 Unauthorized", | |
"headers": { | |
"WWW-Authenticate": "Basic" | |
}, | |
"body": "Unauthorized" | |
} | |
return response; |
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
def lambda_handler(event, context): | |
response = { | |
"statusCode": 401, | |
"statusDescription": "401 Unauthorized", | |
"headers": { | |
"WWW-Authenticate": "Basic" | |
}, | |
"body": "Unauthorized" | |
} | |
return response |
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
<!DOCTYPE html> | |
<html lang="en" class=""> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Dog</title> | |
</head> | |
<body> | |
<img src="https://s3-ap-southeast-2.amazonaws.com/static.caarels.com/dog.jpg" alt=""> |
I hereby claim:
- I am martyca on github.
- I am martincaarels (https://keybase.io/martincaarels) on keybase.
- I have a public key whose fingerprint is 8DE8 5E8A BBCE 0529 70E4 8C02 EF95 06FE B1D0 5092
To claim this, I am signing this object:
Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
[!WARNING]