Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
sysctl -w fs.file-max=11000000 | |
sysctl -w fs.nr_open=11000000 | |
ulimit -n 11000000 | |
sysctl -w net.ipv4.ip_local_port_range="1025 65535" | |
sysctl -w net.ipv4.tcp_mem="100000000 100000000 100000000" |
sysctl -w fs.file-max=11000000 | |
sysctl -w fs.nr_open=11000000 | |
ulimit -n 11000000 | |
sysctl -w net.ipv4.tcp_mem="100000000 100000000 100000000" | |
sysctl -w net.core.somaxconn=10000 | |
sysctl -w net.ipv4.tcp_max_syn_backlog=10000 | |
# --- alternative --- | |
# sysctl -w fs.file-max=14000000 | |
# sysctl -w fs.nr_open=14000000 | |
# ulimit -n 14000000 |
# Create user token | |
kubectl create serviceaccount cluster-admin-dashboard-sa | |
# Bind ClusterAdmin role to the service account | |
kubectl create clusterrolebinding cluster-admin-dashboard-sa \ | |
--clusterrole=cluster-admin \ | |
--serviceaccount=default:cluster-admin-dashboard-sa | |
# Parse the token |
Spring STOMP chat |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
// Console out | |
// [{"op":"replace","path":"/b/name","value":"name2"},{"op":"replace","path":"/b/price","value":2.0}] | |
// Change B | |
// name string | |
// Change name to name2 | |
// price float | |
// Change price to 2.0 | |
// {"b":{"name":"name2","price":2.0},"id":0} | |
This is an unofficial, uncomplete and (pretty sure) wrong documentation of the RESTful service which powers the League of Legends spectator mode.
This documentation is desgined to be community driven and should be extended by everyone. If you find things missing, add them please!
Riot's spectator mode works by requesting replay data via HTTP form a service. The data is split in chunks which usually contain about 30 seconds of gameplay. Additionally there are key frames which seem to contain more information then a single chunk. They seem to be used to support
sudo apt-get update | |
sudo apt-get install python-virtualenv | |
sudo apt-get install python-dev | |
sudo apt-get install postgresql | |
sudo apt-get install postgresql-server-dev-9.3 | |
sudo apt-get install redis-server | |
sudo -u postgres createuser -s sentry | |
sudo -u postgres psql -c "alter user sentry with password 'sentry';" |
# Licensed to the Apache Software Foundation (ASF) under one or more | |
# contributor license agreements. The ASF licenses this file to You | |
# under the Apache License, Version 2.0 (the "License"); you may not | |
# use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
##VGG16 model for Keras
This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.
It has been obtained by directly converting the Caffe model provived by the authors.
Details about the network architecture can be found in the following arXiv paper:
Very Deep Convolutional Networks for Large-Scale Image Recognition
K. Simonyan, A. Zisserman