This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get requried mongodb version from upstream | |
wget https://repo.mongodb.org/yum/redhat/8Server/mongodb-org/4.4/x86_64/RPMS/mongodb-org-server-4.4.4-1.el8.x86_64.rpm | |
# install mongodb | |
sudo dnf install \ | |
./mongodb-org-server-4.4.4-1.el8.x86_64.rpm | |
# enable rpmfusion | |
sudo dnf install \ | |
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package evmsg | |
import ( | |
"bytes" | |
hijack "github.com/getlantern/httptest" | |
echo "github.com/labstack/echo/v4" | |
"golang.org/x/net/websocket" | |
"net/http" | |
"net/http/httptest" | |
"testing" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TOKEN="YOUR-HETZNER-DNS-TOKEN" | |
VERSION="v0.0.1-alpha" | |
# for windows you need to set OS="windows" and EXT=".exe" | |
# for darwin change OS="linux" to OS="darwin" | |
# for linux just use it :-) | |
OS="linux" | |
EXT="" |