RCON commands and server configuration help
- sv_servername
"Name of server in quotes"
- wm_timeScale 3
How Fast time moves
- wm_forceTime -1
Force a current time
- g_pinglimit 0
Ping required to join
A quadtree is a tree data structure in which each internal node has exactly four children. Quadtrees are most often used to | |
partition a two-dimensional space by recursively subdividing it into four quadrants or regions. The regions may be square or | |
rectangular, or may have arbitrary shapes. | |
More on | |
https://en.wikipedia.org/wiki/Quadtree | |
Thanks to Jim for such an excellent visual representation on http://jimkang.com/quadtreevis/ | |
function computeHttpSignature(config, headerHash) { | |
var template = 'keyId="${keyId}",algorithm="${algorithm}",headers="${headers}",signature="${signature}"', | |
sig = template; | |
// compute sig here | |
var signingBase = ''; | |
config.headers.forEach(function(h){ | |
if (signingBase !== '') { signingBase += '\n'; } | |
signingBase += h.toLowerCase() + ": " + headerHash[h]; | |
}); |
FROM adoptopenjdk/openjdk8-openj9:x86_64-alpine-jdk8u192-b12_openj9-0.11.0r0-slim | |
RUN apk update && apk upgrade && mkdir -p /opt/shareclasses /opt/app | |
COPY run.sh /opt/app | |
EXPOSE 8080 | |
ENTRYPOINT ["/opt/app/run.sh"] |
Run this in order to backup all you k8s cluster data. It will be saved in a folder bkp. To restore the cluster, you can run kubectl apply -f bkp
.
Please note: this recovers all resources correctly, including dynamically generated PV's. However, it will not recover ELB endpoints. You will need to update any DNS entries manually, and manually remove the old ELB's.
Please note: This has not been tested with all resource types. Supported resource types include:
## rpc.gd | |
# An experiment in using HTTPClient | |
# for blocking RPCs | |
# @author bibby<bibby@bbby.org> | |
# | |
# get( url ) | |
# post( url, body ) | |
# put( url, body ) | |
# delete( url ) |
void InitializeStars() { | |
for(int i = 0; i < LengthOf(starPositions); i++) { | |
// Choose a distance from the center of the galaxy. | |
float distance = RandFloat(); | |
// Choose an angle between 0 and 2 * PI. | |
float angle = RandFloat() * 2 * PI; | |
// Translate from polar to cartesian coords. | |
starPositions[i].x = cos(angle) * distance; |
# Modified from http://codetuto.com/2015/05/using-httpclient-in-godot/ | |
# Added POST and Optional Header Perimeter | |
extends Node | |
var reqlist = [] | |
class request: | |
var t | |
var params | |
var finished = false |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get update -y | |
sudo apt-get install oracle-java8-installer -y | |
sudo java -version | |
sudo apt-get install zookeeperd -y | |
netstat -ant | grep :2181 |
public class Objective | |
{ | |
public ObjectiveType Type {get;set;} | |
public int ObjectiveInt {get;set;} | |
public float ObjectiveFloat {get;set;} | |
public Vector3 ObjectiveVector {get;set;} | |
// could possibly use Dictionary instead | |
} |