Skip to content

Instantly share code, notes, and snippets.

View romancow's full-sized avatar

Sean Wilson romancow

View GitHub Profile
@romancow
romancow / resume.json
Last active August 19, 2022 16:25
Sean Wilson's JSON Resume (https://jsonresume.org/)
{
"basics": {
"name": "Sean Wilson",
"label": "Software Engineer",
"email": "contact@seanwilson.dev",
"phone": "(615) 812-6748",
"url": "https://seanwilson.dev",
"summary": "A versatile, practiced full-stack developer with excellent problem solving and writing skills. Experience working remotely with large user bases in team-driven, deadline-oriented environments. Amiable advocate of test-driven development, well-designed architecture, and intuitive user experience with a passion for learning new technologies and languages. Interested in opportunities to lead, collaborate, and innovate.",
"location": {
"city": "Nashville",
@romancow
romancow / getRandomDate.js
Last active September 26, 2018 16:29
Javascript function to get a random date in the past
function getRandomDate(hours) {
const msRange = ((hours == null) ? 72 : hours) * 60 * 60 * 1000
const msRandom = Math.floor(Math.random() * msRange) + (Date.now() - msRange)
const date = new Date(msRandom)
const segments = [
date.getFullYear(),
date.getMonth() + 1,
date.getDate(),
date.getHours(),
date.getMinutes()
@romancow
romancow / spectron.d.ts
Last active November 30, 2016 16:42
Type definitions for Spectron (requires definitions for NodeJS, Promise, Electron, and WebdriverIO)
declare namespace Spectron {
interface ConsoleLog {
readonly level: string
readonly message: string
readonly source: string
readonly timestamp: number
}
type AccessibilityAuditRule = 'AX_ARIA_01' | 'AX_ARIA_02' | 'AX_ARIA_03' | 'AX_ARIA_04' | 'AX_ARIA_05' | 'AX_ARIA_06' |