Skip to content

Instantly share code, notes, and snippets.

🤖

Jamie jamsinclair

🤖
Block or report user

Report or block jamsinclair

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

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:

View .editorconfig
# 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
@jamsinclair
jamsinclair / aws-minecraft-setup.sh
Last active Aug 23, 2019
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.
View aws-minecraft-setup.sh
#!/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?"
@jamsinclair
jamsinclair / shrug.md
Last active Sep 12, 2019
Markdown Escaped Shrug
View shrug.md

¯\_(ツ)_/¯

You can’t perform that action at this time.