Skip to content

Instantly share code, notes, and snippets.

They say good code starts from the feet

Jamie jamsinclair

They say good code starts from the feet
View GitHub Profile
jamsinclair / trace-next-11
Created Nov 24, 2021
Next 11 vs Next 12 Build Traces
View trace-next-11
This file has been truncated, but you can view the full file.
jamsinclair / .zshrc
Created Feb 16, 2021
Lazy Load NVM (node npm, npx, yarn)
View .zshrc
load-nvmrc() {
local node_version="$(nvm version)"
local nvmrc_path="$(nvm_find_nvmrc)"
if [ -n "$nvmrc_path" ]; then
local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")")
if [ "$nvmrc_node_version" = "N/A" ]; then
nvm install
elif [ "$nvmrc_node_version" != "$node_version" ]; then
View .zsh_plugins.txt
# Place this file in the user's dir "~/."
# Add ZSH Plugins here (See:
ohmyzsh/ohmyzsh path:plugins/git

Keybase proof

I hereby claim:

  • I am jamsinclair on github.
  • I am jamsinclair ( on keybase.
  • I have a public key whose fingerprint is 9090 FEFF 4AB2 26CC 8842 A2EF 1661 6B04 F587 C018

To claim this, I am signing this object:

View .editorconfig
root = true
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
jamsinclair /
Last active May 24, 2022
A bash script to setup a simple Minecraft Server on an AWS Micro EC2 Instance. Installs server, configures cron to run server on reboot, adds some aliases for easy stop/start of minecraft server.
runMinecraftCommand="java -Xms256M -Xmx768M -jar minecraft_server.jar nogui"
echo "Great let's get minecraft setup!"
# Sanity check, do we have java installed?
if ! hash java 2>/dev/null; then
echo "You don't have java installed. You're gonna have a tough time."
echo "Are you sure you selected the default Amazon Linux HVM ami?"
jamsinclair /
Last active Jul 19, 2022
Markdown Escaped Shrug