Read this where it talks about setting up your own private RTMP server.
Docker image can be found here.
Alternatively: there's this.
| #!/usr/bin/env bash | |
| port=$1 | |
| ipv4=$2 | |
| if [ $# -eq 2 ] | |
| then | |
| echo "sh tunneling.sh <port> <ipv4 address>" | |
| fi |
| { | |
| "window.zoomLevel": 1, | |
| "files.autoSave": "off", | |
| "editor.tabSize": 2, | |
| "workbench.colorTheme": "Material Theme", | |
| "workbench.iconTheme": "material-icon-theme", | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.formatOnSave": true, | |
| "eslint.autoFixOnSave": true, | |
| "eslint.alwaysShowStatus": true |
| #!bin/bash | |
| sudo apt-get update && sudo apt-get upgrade | |
| sudo apt-get install curl nmap git | |
| // Disable the synatic pad (12 is where the pinpoint is, leave that on) | |
| xinput --disable 11 | |
| // Install NVM for node | |
| curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash |
| func init() { | |
| rand.Seed(time.Now().UnixNano()) | |
| } | |
| var letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") | |
| func RandStringRunes(n int) string { | |
| b := make([]rune, n) | |
| for i := range b { | |
| b[i] = letterRunes[rand.Intn(len(letterRunes))] |
| #!/bin/bash | |
| for i in */.git; do ( echo $i; cd $i/..; git pull; ); done |
| Root phone. | |
| Enable "Developer Options". If not, Go to "Settings" -> "About phone", scroll down to "Build number" and tap it quickly 7 times. This should cause a new menu item in the "Settings" menu titled, "Developer options" | |
| Open "Settings" -> "Developer options" and under "Debugging", enable "USB debugging". | |
| Connect phone to computer via USB. | |
| Open a command prompt on the computer and run adb devices to see if your phone is recognized. | |
| If so, run adb shell | |
| Next type: su -c 'setprop sys.usb.config diag,adb' | |
| You should have DIAG mode access to run QPST/QXDM/etc. until the next power cycle. |
| Running elasticsearch on windows - docker | |
| docker run -d -v "esdata":/usr/share/elasticsearch/data --name elasticsearch -p 9200:9200 -p 9300:9300 elasticsearch | |
| Running Kibana and linking it to elasticsearch (Windows) | |
| docker run --link elasticsearch:elasticsearch -p 5601:5601 -d kibana | |
| Removing Docker containers | |
| docker rm -f <container-name> |
| #!/bin/bash | |
| curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - | |
| yum -y install nodejs | |
| # For any native addons that requires building | |
| yum install gcc-c++ make |