I hereby claim:
- I am jamsinclair on github.
- I am jamsinclair (https://keybase.io/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:
const MODULE_WORKER_REGEX = | |
/new\s+Worker\s*\(\s*new\s+URL\s*\(\s*["'](.*?)["']\s*,\s*import\.meta\.url\s*\)\s*,\s*\{\s*type\s*:\s*["']module["']\s*\}\s*\)/g; | |
const TEMPORARY_DYNAMIC_IMPORT_REGEX = | |
/\/\*__TEMP_WORKER__\*\/__vitePreload\(\(\) => import\((['"])(.+?)\1\),.*?\)/g; | |
const hasNoPathPrefix = (path) => !/^[\./]|^file:|^https?:/.test(path); | |
export default function moduleWorkerChunkPlugin() { | |
return { | |
name: "module-worker-chunk-plugin", |
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 |
# Place this file in the user's dir "~/." | |
# Add ZSH Plugins here (See: https://getantidote.github.io/usage) | |
ohmyzsh/ohmyzsh path:plugins/git | |
zsh-users/zsh-syntax-highlighting |
I hereby claim:
To claim this, I am signing this object:
# http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
#!/bin/sh | |
runMinecraftCommand="java -Xms256M -Xmx768M -jar minecraft_server.jar nogui" | |
startScript="start.sh" | |
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?" |
¯\_(ツ)_/¯