Skip to content

Instantly share code, notes, and snippets.

View jdoss's full-sized avatar
😎
My hovercraft is full of eels

Joe Doss jdoss

😎
My hovercraft is full of eels
View GitHub Profile
@m1keil
m1keil / Corefile
Last active April 21, 2024 16:05
DNS based service discovery for Nomad (Using CoreDNS). Workaround for https://github.com/hashicorp/nomad/issues/12588
.: {
log
loadbalance
# auto: automatically pick up file changes
auto service.nomad {
directory local/zones
reload 1s
}
}
name HQ City website Year Founded Total Investment Amount Company Description
Tegus Chicago tegus.co 2016 $91,500,000.00 The Buy Side's Leading Primary Research Platform
Hologram Chicago hologram.io 2014 $82,353,000.00 Hologram is a cellular platform designed for the Internet of Things. Thousands of connectivity teams rely on Hologram to keep their fleets connected around the world — from Burbank to Brisbane. Hologram was founded in 2014 by Benjamin Forgan and Patrick Wilbur. Inspired by the connectivity challenges affecting food delivery startups in Singapore, Hologram's co-founders focused their efforts on removing the red tape preventing fast-growing IoT teams from launching cellular equipped fleets around the world. What started as a Kickstarter, under Hologram's old name, Konekt, has blossomed into the de facto networks IoT teams use to launch their products. In the years since Hologram was founded, the company has been a partner to leading technology pioneers around the world. Hologram made it possibl
@AlexMikhalev
AlexMikhalev / get-obsidian-posts.py
Created January 19, 2021 13:46
Sync notion to obsidian world md
from notion.client import NotionClient
import datetime
import os
from slugify import slugify
import re
import requests
import time
import hashlib
import shutil
import sys
@NWMichl
NWMichl / grafana_ping_panel.json
Created January 10, 2021 22:43
Grafana panel idea to visualize Telegraf inputs.ping metrics, a nice alternative to Smokeping.
{
"aliasColors": {},
"dashLength": 10,
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
# Marker to tell the VCL compiler that this VCL has been written with the
# 4.0 or 4.1 syntax.
vcl 4.1;
import std;
# Default backend definition. Set this to point to your content server.
backend default {
.host = "127.0.0.1";
.port = "8080";
@egernst
egernst / ipmi-sol.md
Created March 4, 2020 17:51 — forked from krsna1729/ipmi-sol.md
ipmi serial over lan sol

Pre-requisites

Install IPMItools using your package manager on laptop and target machine. Load the drivers on the target.

modprobe ipmi_devintf
modprobe ipmi_si

If you see the following, drivers are not loaded.

@itsuki-hayashi
itsuki-hayashi / wireguard-centos-8.sh
Last active October 13, 2021 07:05
WireGuard VPN Server on CentOS 8
# /etc/sysctl.conf
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.ip_forward = 1
net.ipv4.tcp_syncookies = 1
  1. Make sure you have the kernel and live pxe initrd (different from normal initrd). Put them at $WORKDIR/{kernel,initrd}
  2. Put your ignition config in $WORKDIR/config.ign
  3. Put this script at $WORKDIR/boot.ipxe:
#!ipxe
kernel tftp://10.0.2.2/kernel console=ttyS0 \
  ignition.firstboot ip=dhcp rd.neednet=1 ignition.platform.id=metal \
  ignition.config.url=tftp://10.0.2.2/config.ign
initrd tftp://10.0.2.2/initrd
boot
@MaxXor
MaxXor / btrfs-guide.md
Last active April 24, 2025 05:27
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@HQJaTu
HQJaTu / ipmi-updater.py
Last active January 5, 2025 03:10
Supermicro IPMI certificate updater
#!/usr/bin/env python3
# vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=python
# This file is part of Supermicro IPMI certificate updater.
# Supermicro IPMI certificate updater is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT