Skip to content

Instantly share code, notes, and snippets.

View tmillr's full-sized avatar
👋
Looking for work!

Tyler Miller tmillr

👋
Looking for work!
View GitHub Profile
@tmillr
tmillr / license-help.md
Last active July 28, 2022 19:02
License and Copyright Notice Help

After some modest preliminary research of my own, here are my opinions and what I have learned so far.

These are merely my own personal notes based upon what I've gathered thus far; I am not an expert on these matters so do take everything written here with a grain of salt.

Open Source/Free Software Licenses

First, anything published publicy should have a license (particularly and especially published software).

But why?

@tmillr
tmillr / deployfs
Last active July 21, 2022 14:56
Deploy a local filesystem to a remote host
#!/usr/bin/env sh
# Author: Tyler Miller (@tmillr) (tmillr@proton.me)
# Mount a local directory to a remote destination (give a remote host access
# to a local directory via sshfs via sftp). Requires mkfifo on local host.
# Requires sshfs to be installed in PATH on remote host. Might not work on
# Windows.
# Environment Variables
@tmillr
tmillr / computed-class-or-function-names.js
Last active March 10, 2021 03:07
Computed Class or Function Names in Javascript (Without "eval" or "Function" Constructor)
/**
* NOTE:
* Just now realized this is achievable via `Object.defineProperty` and then passing the function you want to
* rename (or change the 'name' property of)... can't believe I didn't realize there was such a simple solution!
*/
/*
* Introduction
*
* Creating a named function is easy enough: */ function fName() {} /*.