I hereby claim:
- I am jamiesonbecker on github.
- I am jamiesonbecker (https://keybase.io/jamiesonbecker) on keybase.
- I have a public key whose fingerprint is 1AC9 729D F6F9 49E0 6C61 46CF 7828 2CEE 0BDE 9C19
To claim this, I am signing this object:
/* index.js | |
* Express Hello World | |
* first: | |
* npm i express | |
* node index.js | |
*/ | |
const express = require('express'); | |
const app = express(); | |
/* jamiesonbecker's HN styles | |
* this is a dark theme. | |
* license: public domain (do what you will) | |
*/ | |
.comment { | |
/* I like narrow comment lines */ | |
max-width: 20rem; | |
} | |
table#hnmain{ |
export ESC_CHAR="$(echo -e "\033")" | |
export BLACK_TEXT="${ESC_CHAR}[30m" | |
export RED_TEXT="${ESC_CHAR}[31m" | |
export GREEN_TEXT="${ESC_CHAR}[32m" | |
export YELLOW_TEXT="${ESC_CHAR}[33m" | |
export BLUE_TEXT="${ESC_CHAR}[34m" | |
export PURPLE_TEXT="${ESC_CHAR}[35m" | |
export CYAN_TEXT="${ESC_CHAR}[36m" | |
export WHITE_TEXT="${ESC_CHAR}[37m" | |
export BLACK_BACKGROUND="${ESC_CHAR}[40m" |
# AWS Version 4 signing example | |
# EC2 API (DescribeRegions) | |
# See: http://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html | |
# This version makes a GET request and passes the signature | |
# in the Authorization header. | |
import base64, httpclient, hmac, nimSHA2, os, times, strutils, httpcore | |
# ************* REQUEST VALUES ************* |
{ | |
"us-east-2": "s3.us-east-2.amazonaws.com", | |
"us-east-1": "s3.amazonaws.com", | |
"us-west-2": "s3-us-west-2.amazonaws.com", | |
"ca-central-1": "s3.ca-central-1.amazonaws.com", | |
"ap-south-1": "s3.ap-south-1.amazonaws.com", | |
"ap-northeast-2": "s3.ap-northeast-2.amazonaws.com", | |
"ap-southeast-1": "s3-ap-southeast-1.amazonaws.com", | |
"ap-southeast-2": "s3-ap-southeast-2.amazonaws.com", | |
"ap-northeast-1": "s3-ap-northeast-1.amazonaws.com", |
I hereby claim:
To claim this, I am signing this object:
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <[email protected]> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
#! /usr/bin/python | |
# sudo pip install otpauth first | |
import time | |
from otpauth import OtpAuth | |
__doc__ = """ | |
This can be useful as an example of how to | |
build your own CLI google auth app. | |
Use your QR code reader to extract the secret |
#! /usr/bin/env python | |
# call with (newlines respected inside quotes) | |
# tweet.py "my | |
# tweet" | |
# or | |
# echo "my tweet" | tweet.py | |
import tweepy | |
import sys |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
Index: