I hereby claim:
- I am jamesthomasonjr on github.
- I am jamesthomasonjr (https://keybase.io/jamesthomasonjr) on keybase.
- I have a public key ASCHnn41VuiBPA5Coy9Ask3oz6SHtKvNhweAnL-7HPIeGwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Converts a number of bytes to a human readable string | |
* | |
* Example: | |
* <code> | |
* $config->bytesToHuman(10); // 10 b | |
* $config->bytesToHuman(1000); // 1 kB | |
* $config->bytesToHuman(1024, 'iec'); // 1 KiB |
import { describe, it, Suite, suite, Test, run} from '@framework'; | |
import blc from 'broken-link-checker'; | |
import data from '@data/navigation.link.json'; | |
const feature: string = 'No links are broken'; | |
const cannotRunTests = () => { | |
describe(feature, () => { | |
it("Mocha is started with the delay flag so link checker tests can run", () => { | |
throw new Error("Mocha must be ran with the --delay flag for the link checker tests to work"); |
#! /usr/bin/env fish | |
function _awsup_check_signin --argument-names 'credentials_file' | |
set --erase --universal AWS_ACCESS_KEY_ID | |
set --erase --universal AWS_SECRET_ACCESS_KEY | |
set --export --universal AWS_SHARED_CREDENTIALS_FILE "$credentials_file" | |
set --local account_name (aws iam list-account-aliases --output text --query 'AccountAliases[0]' 2>/dev/null) | |
if test -z "$account_name" |
# ~/Library/Application Support/iTerm2/Scripts/AutoLaunch/spotify.py | |
# | |
# This script adds a new Status Bar component to iTerm2 that displays now playing information from Spotify | |
from subprocess import Popen, PIPE | |
import iterm2 | |
PREFIX = 'PREFIX' | |
TEMPLATE = 'TEMPLATE' |
{ | |
"basics": { | |
"name": "James Thomason, Jr", | |
"label": "Full Stack Software Engineer", | |
"picture": "https://avatars.githubusercontent.com/u/691492?s=400&u=0552378d317cc1603b7c39f9e3c652bdcdc09659&v=4", | |
"email": "james@jamesthomasonjr.com", | |
"phone": "(810) 214 0123", | |
"website": "https://jamesthomasonjr.com", | |
"summary": "I am a Full-Stack Software Engineer who is passionate about engineering, architecture, and tooling. I am looking to fill a T-Shaped position in a team that solves interesting and challenging problems with innovative technology.", | |
"location": { |
function element(type, newProps, ...children) { | |
const element = document.createElement(type); | |
if (newProps) { | |
Object.entries(newProps).forEach(([key, value]) => { | |
if (typeof value == 'function') { | |
element[key] = value; | |
} else { | |
element.setAttribute(key, value); | |
} |
<?php | |
namespace Something\Somewhere; | |
use Doctrine\ODM\MongoDB\Mapping\ClassMetadata as ODMClassMetadata; | |
use Doctrine\ORM\Mapping\ClassMetadata as ORMClassMetadata; | |
use Doctrine\Common\Persistence\Mapping\ClassMetadata; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Symfony\Component\Serializer\Normalizer\CacheableSupportsMethodInterface; | |
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; | |
use Symfony\Component\Serializer\Normalizer\NormalizerInterface; |
#!/usr/bin/env bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# Configuration | |
# Certifiate TTL | |
DAYS=3650 | |
# RSA Encryption Bits | |
BITS=2048 |
#!/usr/bin/env bash | |
# Utility functions for dealing with the environment | |
source "$(dirname ${BASH_SOURCE[0]})/sanity" | |
function environment::read { | |
# @TODO: Check for original allexport setting and return back instead of assuming it's off | |
set -o allexport |