Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
jamieson99 / index.js
Created Jan 7, 2019
Express Hello World (quick start)
View index.js
/* index.js
* Express Hello World
* first:
* npm i express
* node index.js
const express = require('express');
const app = express();
jamieson99 / darkhn.css
Created Oct 8, 2018
HN dark stylesheet (use with stylus on chrome or ff)
View darkhn.css
/* 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;
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"
View aws_example.nim
# AWS Version 4 signing example
# EC2 API (DescribeRegions)
# See:
# 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 *************
jamieson99 / s3_endpoints.json
Created Jul 31, 2017
quick S3 region to endpoint mapping
View s3_endpoints.json
"us-east-2": "",
"us-east-1": "",
"us-west-2": "",
"ca-central-1": "",
"ap-south-1": "",
"ap-northeast-2": "",
"ap-southeast-1": "",
"ap-southeast-2": "",
"ap-northeast-1": "",

Keybase proof

I hereby claim:

  • I am jamiesonbecker on github.
  • I am 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:

jamieson99 / reclaimWindows10.ps1
Created Jan 8, 2017 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via (different defaults)
View reclaimWindows10.ps1
# Win10 Initial Setup Script
# Author: Disassembler <>
# Version: 1.7, 2016-08-15
# dasm's script:
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
jamieson99 /
Created Oct 23, 2016
TOTP Generator Example (howto)
#! /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
jamieson99 /
Last active Sep 5, 2016
Single tweet CLI in 8 LoC
#! /usr/bin/env python
# call with (newlines respected inside quotes)
# "my
# tweet"
# or
# echo "my tweet" |
import tweepy
import sys
jamieson99 /
Created Jul 31, 2016 — forked from leonardofed/
A curated list of AWS resources to prepare for the AWS Certifications

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.