I hereby claim:
- I am muokicaleb on github.
- I am muoki (https://keybase.io/muoki) on keybase.
- I have a public key ASBAFfmFTkP-0IcjaNZte1BzpVOhXbARpjSNrpOtHloD0Qo
To claim this, I am signing this object:
#!/bin/bash | |
# bash script to install broadcom drivers | |
if (( $EUID != 0 )); then | |
echo "You need to run script as root" | |
exit | |
fi | |
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar | |
add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" | |
apt-get -y update | |
apt-get -y install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms |
I hereby claim:
To claim this, I am signing this object:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=US | |
network={ | |
ssid="network" | |
psk="password" | |
key_mgmt=WPA-PSK | |
} |
# UDEV Rules for Micronucleus boards including the Digispark | |
# This file must be placed at: | |
# | |
# /etc/udev/rules.d/49-micronucleus.rules (preferred location) | |
# or | |
# /lib/udev/rules.d/49-micronucleus.rules (req'd on some broken systems) | |
# | |
# After this file is copied, physically unplug and reconnect the board. | |
# | |
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666" |
#include "DigiKeyboard.h" | |
#define KEY_TAB 0x2B | |
#define KEY_ESCAPE 0x29 | |
void setup() { | |
DigiKeyboard.delay(1000); // 1s delay | |
// open terminal | |
DigiKeyboard.sendKeyStroke(KEY_T, MOD_ALT_RIGHT | MOD_CONTROL_LEFT); | |
DigiKeyboard.delay(500); |
version: '3.7' | |
volumes: | |
grafana_data: {} | |
services: | |
grafana: | |
image: grafana/grafana | |
ports: |
global: | |
scrape_interval: 15s | |
scrape_configs: | |
- job_name: node | |
basic_auth: | |
username: prometheus | |
password: password | |
static_configs: | |
- targets: ['192.168.100.74:9100'] |
version: '3.7' | |
volumes: | |
prometheus_data: {} | |
services: | |
prometheus: | |
image: prom/prometheus | |
volumes: |
version: '3.7' | |
services: | |
node_exporter: | |
image: quay.io/prometheus/node-exporter:latest | |
command: | |
- '--path.rootfs=/host' | |
- '--web.config=/node_exporter_conf.yaml' | |
network_mode: host | |
pid: host |
version: '3.7' | |
services: | |
node_exporter: | |
image: quay.io/prometheus/node-exporter:latest | |
command: | |
- '--path.rootfs=/host' | |
network_mode: host | |
pid: host | |
restart: unless-stopped |