All of the following information is based on go version go1.17.1 darwin/amd64.
| GOOS | Out of the Box |
|---|---|
aix |
✅ |
android |
✅ |
| brew install jansson libnice openssl libusrsctp libmicrohttpd libwebsockets cmake rabbitmq-c sofia-sip opus libogg glib pkg-config gengetopt | |
| wget https://github.com/cisco/libsrtp/archive/v1.5.4.tar.gz | |
| tar xvf v1.5.4.tar.gz | |
| cd libsrtp-1.5.4 | |
| ./configure --prefix=/usr/local/libsrtp | |
| make | |
| sudo make install | |
| git clone [email protected]:meetecho/janus-gateway.git |
| package main | |
| import ( | |
| "crypto/rand" | |
| "encoding/base64" | |
| "fmt" | |
| "io" | |
| "math/big" | |
| ) |
| <?php | |
| /** | |
| * Coin Dashboard by Christian Haschek | |
| * https://blog.haschek.at | |
| * | |
| * Donations always welcome | |
| * BTC: 1ChrisHMgr4DvEVXzAv1vamkviZNLPS7yx | |
| * ETH: 0x1337C2F18e54d72d696005d030B8eF168a4C0d95 | |
| * | |
| * Read more at |
| import javax.validation.Constraint; | |
| import javax.validation.Payload; | |
| import javax.validation.constraints.Pattern; | |
| import java.lang.annotation.Documented; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.Target; | |
| import static java.lang.annotation.ElementType.ANNOTATION_TYPE; | |
| import static java.lang.annotation.ElementType.FIELD; | |
| import static java.lang.annotation.ElementType.METHOD; |
I often find myself ssh'ing into my servers and checking my systemd service logs with $ journalctl -f -u {name}.service. One day I got tired of this and wanted all of my important logs in once place (Amazon AWS Cloudwatch). To my dismay, there weren't any real good tutorials on how to do so. So, voilà.
Overall, it's a fairly simple process consisting of the following few steps.
Open the service file with $ sudo vi /lib/systemd/system/{name}.service
Modify the [Service] section:
Thanks to awesome @alexellis for this contribution:
export INLETS_TOKEN=abcd1234