Skip to content

Instantly share code, notes, and snippets.

View chips5k's full-sized avatar

Callem Pittard chips5k

View GitHub Profile
@chips5k
chips5k / index.html
Created March 11, 2016 11:18
Aurelia bootstrap index.html with cachebusting on dist files only
<!DOCTYPE html>
<html>
<head>
<title>Aurelia</title>
<link rel="stylesheet" href="jspm_packages/npm/[email protected]/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Lato:400,300italic,300,400italic,700,900,900italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="styles/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
//quick regex for tokenizing math expressions - not fully tested!
((?:[^0-9+\-]?\-)?[0-9]+(?:\.[0-9]+)?|[-+\/*\^\(\)\=]{1}|(?:sin|tan|cos)(?=\()|[a-z])
//So far correctly tokenizes the following:
//15.5+-12.545bc(15+5)-(6+12)/sin(1243-12.55)=12x55--34+(cos(45.2))
<!doctype html>
<html>
<head>
<script src="https://code.jquery.com/jquery-1.8.2.min.js" integrity="sha256-9VTS8JJyxvcUR+v+RTLTsd0ZWbzmafmlzMmeZO9RFyk=" crossorigin="anonymous"></script>
</head>
<style>
.dd-tree {
padding:5px;
#/usr/bin/env bash
run="1"
while [ "$run" == "1" ]
do
echo "trying"
res=$(aws s3 mb s3://bucket-name --region ap-southeast-2 >/dev/null 2>&1 && echo "success")
[ "$res" == "success" ] && exit 0

Ports used

Some of the exact port numbers seem to be different between installations. I'm not sure if any have to be as listed, but those were a working number I used at some point

Port Description Place Defined Open Port Unique
11000 Overworld server port Master/server.ini x x
11001 Cave server port Caves/server.ini x x
8768 Steam auth port for overworld Master/server.ini
8769 Steam auth port for cave Caves/server.ini
27018 Steam master server port for overworld Master/server.ini x