Skip to content

Instantly share code, notes, and snippets.

View redaphid's full-sized avatar
💭
Adrift, in an ocean of stars.

Aaron Herres redaphid

💭
Adrift, in an ocean of stars.
  • Loqwai
  • Drifting
View GitHub Profile
@redaphid
redaphid / Dockerfile
Created September 27, 2019 22:10
Visual Studio Code Go Remote Docker Environment
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
FROM ubuntu:bionic
# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# This Dockerfile adds a non-root 'vscode' user with sudo access. However, for Linux,
@redaphid
redaphid / .hyper.js
Created October 22, 2019 08:14
hyper-settings
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// other configs...
overlay: {
alwaysOnTop: true,
animate: true,
@redaphid
redaphid / tsconfig.json
Last active September 16, 2022 03:42
Canonical tsconfig for Redaphid's amazing projects
{
"compilerOptions": {
"jsx": "react",
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"lib": ["es2020", "dom"],
"target": "es2020",
/* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"module": "es2020",
@redaphid
redaphid / .gitignore
Last active August 18, 2023 00:24
redaphid's mega .gitignore so he never forgets again
# Logs
logs
*.log
*.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
@redaphid
redaphid / miro.ahk
Last active March 7, 2022 23:11
Windows Pen eraser Autokey Miro
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SetTitleMatchMode 2
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#InstallKeybdHook
;Coding stuff
CapsLock::~
@redaphid
redaphid / drone.svg
Created September 24, 2021 01:47
Drone SVG from tutorial
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@redaphid
redaphid / resume.json
Created October 27, 2021 01:02
Aaron-resume-2021.json
{
"basics": {
"name": "Aaron Herres",
"label": "A full-stack, team-building software developer with an interest in software architecture and coding philosophy. ",
"picture": "",
"email": "[email protected]",
"phone": "",
"website": "",
"summary": "A software developer with over 15 years of experience building software. \n\nA generalist, Aaron has worked on a variety of projects ranging from startups to large corporations. \n\nAaron's passion for generalism and minimalist design has allowed him to work on platforms ranging from microcontrollers to large cloud computing clusters with 4+ million messages a minute.\n\nHe does both backend and frontend development, and has worked professionally with over 10 different programming languages.",
"location": {
@redaphid
redaphid / .eslintrc
Last active December 17, 2021 23:54
.eslintrc
{
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": [1,"never"],
@redaphid
redaphid / solution.test.ts
Last active January 18, 2022 08:19
atoi() leetcode problem Typescript tests!
import { myAtoi } from "./solution";
describe("myAtoi", () => {
test("Example 1", () => {
const input = "42";
const expected = 42;
const actual = myAtoi(input);
expect(actual).toEqual(expected);
});
test("Example 2", () => {
const input = " -42";