Skip to content

Instantly share code, notes, and snippets.

View hawkrives's full-sized avatar
🦋
Butterflies

Hawken Rives hawkrives

🦋
Butterflies
View GitHub Profile
@hawkrives
hawkrives / userscript.js
Last active September 24, 2024 21:36
Automated AWS SSO CLI - Login
// ==UserScript==
// @name Automated AWS SSO CLI - Login
// @namespace http://glencoakley.org
// @match https://*.awsapps.com/start/user-consent/authorize.html?clientId=*
// @grant none
// @version 1.0
// @author Glen Coakley
// @description Automatically presses the "Sign in to AWS CLI" button. Inspired by Nicholas Hawkes' "Auto AWS SSO CLI - Login" at https://gist.github.com/hawkesnc/ae9fc22fc5d17ac250f6376b0591161c
// @homepage https://gist.github.com/GlenCoakley/d3a82a41b2e578b29875625ec6ffa11e
// ==/UserScript==

Keybase proof

I hereby claim:

  • I am hawkrives on github.
  • I am hawkrives (https://keybase.io/hawkrives) on keybase.
  • I have a public key ASBMG4AuVzDFIyWFAhj22tuGkTw1w1SShAmHqVcP7YJNSQo

To claim this, I am signing this object:

'use strict'
const Database = require('better-sqlite3');
const fs = require('fs');
const path = require('path');
function prepareDb(db) {
db.prepare(`
CREATE TABLE department (
id integer PRIMARY KEY AUTOINCREMENT,
@hawkrives
hawkrives / all-times.txt
Last active August 25, 2024 20:55
all course times
F 00-00
F 0100-0400PM
F 0100-0500PM
F 0200-0255PM
F 0200-0300PM
F 0200-0330PM
F 0200-0400PM
F 0200-0430PM
F 0200-0500PM
F 0200-0600PM
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
.square {
width: 250px;
height: 250px;
}
</style>
@hawkrives
hawkrives / # mrbayes - 2017-06-04_12-21-01.txt
Created June 4, 2017 17:22
mrbayes (homebrew/science/mrbayes) on macOS 10.12.5 - Homebrew build logs
Homebrew build logs for homebrew/science/mrbayes on macOS 10.12.5
Build date: 2017-06-04 12:21:01
File structure:
app.js
/modules/
/menus/
/streaming-media/
/sis/
index.js
state.js
/courses-list/

Painstakingly copied from https://www.ceros.com/blog/meta-narrative/

HOW J.J. ABRAMS CREATED A READING EXPERIENCE UNLIKE ANY OTHER

Written by Simon Martin, Design by Martin Flores

It’s a moment that can take you by surprise in the right setting. You're strolling through the park, and there, on a bench, is a lonely stray book. Your curiosity gets the better of you, so you wander over to see which book—of the many thousands in the world—has captured your attention in this moment. Why this book? Why today?

It's something most of us have experienced.

@hawkrives
hawkrives / index.html
Last active November 3, 2024 07:23
qRQoBp
<!DOCTYPE html>
<html lang="en-us">
<link rel="stylesheet" href="style.css">
<header>
<img id="logo" src="logo.png" />
<h1>Benchmark Monument</h1>
</header>
</html>