I hereby claim:
- I am justinschuldt on github.
- I am justinschuldt (https://keybase.io/justinschuldt) on keybase.
- I have a public key ASC0NerBVM9JwJUyR0lqzXFwvXIUrWJw-gJyu97lf0qHxQo
To claim this, I am signing this object:
# open grafana to the network | |
sudo docker run -d --name=grafana -h 0.0.0.0 -p 4001:3000 grafana/grafana:latest | |
docker run -d --name=prometheus -p 9090:9090 -v /home/justin/code/wormhole/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus |
I hereby claim:
To claim this, I am signing this object:
# defaults plus: | |
plugins=(aliases command-not-found common-aliases git gh gcloud kubectl minikube npm zsh-autosuggestions) | |
# search from the command line with: | |
# goog "string to search for" | |
function goog() { | |
emulate -L zsh | |
google="https://www.google.com/search?q=" |
# add the repository to get ddcutil | |
sudo add-apt-repository ppa:rockowitz/ddcutil | |
# update | |
sudo apt-get update | |
# install ddcutil | |
sudo apt install ddcutil | |
# change brightness of the primary montior to 80 | |
sudo ddcutil setvcp 10 80 |
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
type QueryResult struct { | |
key string |
system: | |
actions: | |
- action: light_on | |
command: gpio mode 0 out && gpio write 0 0 | |
name: Light ON | |
- action: light_off | |
command: gpio mode 0 out && gpio write 0 1 | |
name: Light OFF | |
- action: divider | |
- action: rpi_usb_on |
package main | |
import ( | |
"encoding/json" | |
"log" | |
"os" | |
"sync" | |
) | |
type Exclude struct { |
package main | |
import ( | |
"os" | |
"time" | |
) | |
func main() { | |
logFileName := fmt.Sprintf("logs_%v.log", time.Now().String()) |
package main | |
import ( | |
"fmt" | |
"time" | |
"sync" | |
) | |
type QueryResult struct { | |
key string |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
type QueryResult struct { | |
key string | |
result string |