Skip to content

Instantly share code, notes, and snippets.

View hexsprite's full-sized avatar

Jordan Brant Baker hexsprite

View GitHub Profile
@hexsprite
hexsprite / windows_and_office_kms_setup.adoc
Created February 3, 2024 20:58 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@hexsprite
hexsprite / Output.png
Created October 5, 2023 18:22 — forked from sughodke/Output.png
Read Mail.app Database
Output.png
@hexsprite
hexsprite / range.js
Created June 8, 2017 19:50 — forked from runfalk/range.js
Old interval implementation for JavaScript
function InvalidSetException(message) {
this.message = message
}
function DateRange(lower, upper) {
this.empty = false;
this.lower = lower;
this.upper = upper;
if (this.lower) {
this.lower = this.lower.clone();
@hexsprite
hexsprite / deploy_aws.sh
Created October 20, 2016 22:12 — forked from wearhere/deploy_aws.sh
CI script to convert a Meteor application into a Node.js application then deploy it to AWS Elastic Beanstalk.
#!/bin/bash
#
# This script will convert a Meteor application into a Node.js application
# then deploy it to AWS Elastic Beanstalk.
#
# Run like `deploy_aws.sh my_eb_app my_eb_app-production`.
#
# That will deploy the Meteor application containing this script
# to the `my_eb_app-production` environment of the `my_eb_app` EB application.
@hexsprite
hexsprite / gist:5789517
Last active December 18, 2015 13:19 — forked from rob-b/gist:3906313
Django Logsna example
from .settings import *
LOGGING['formatters']['logsna'] = {'()': 'logsna.Formatter'}
db_handler = {'level': 'INFO',
'class': 'logging.handlers.RotatingFileHandler',
'filename': here('logs', 'db.log'),
'maxBytes': 4194304,
'formatter': 'logsna',