Skip to content

Instantly share code, notes, and snippets.

View johnlettman's full-sized avatar
🚀
send it

John Lettman johnlettman

🚀
send it
View GitHub Profile
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-6.2.0-35-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     HGST Ultrastar He8
Device Model:     HGST HUH728080ALE600
Serial Number:    2EG78ZMP
LU WWN Device Id: 5 000cca 23bc35056
Firmware Version: A4GNT7J0

Keybase proof

I hereby claim:

  • I am johnlettman on github.
  • I am johnlettman (https://keybase.io/johnlettman) on keybase.
  • I have a public key ASCaftT4WRNSSWgy1aDtPYeIzlowmjw0jFz1lIDYoSq-QAo

To claim this, I am signing this object:

@johnlettman
johnlettman / README.md
Last active August 4, 2023 18:30
Juju: GameOver(lay) CVE-2023-2640 and CVE-2023-32629 patcher
@johnlettman
johnlettman / canonical-gh-projects.md
Last active July 21, 2023 04:39
Grab recent popular projects from a GitHub organization

GitHub packages in the canonical org

Repository Stargazers Watchers
microk8s ⭐ 7536 🔭 7536
multipass ⭐ 6446 🔭 6446
lxd ⭐ 3985 🔭 3985
dqlite ⭐ 3476 🔭 3476
[cloud-init](https:/
@johnlettman
johnlettman / check-upstream-ntp.sh
Created July 18, 2023 20:02
Check upstream NTP connectivity
#!/usr/bin/env bash
# shellcheck disable=SC2221,SC2222
timeout=2;
urls=(
"ntp.ubuntu.com"
"pool.ntp.org"
);
function is_ipv4() {
@johnlettman
johnlettman / WINSINN_HT-NTC100K.cfg
Created May 29, 2023 03:48
Klipper: WINSINN HT-NTC100K thermistor and chamber temperature sensor
[thermistor WINSINN HT-NTC100K]
temperature1: 25.0
resistance1: 103180.0
temperature2: 150.0
resistance2: 1366.2
temperature3: 250.0
resistance3: 168.6
[temperature_sensor Chamber]
sensor_type: WINSINN HT-NTC100K
@johnlettman
johnlettman / keybase.md
Created August 3, 2021 23:08
Keybase verification

Keybase proof

I hereby claim:

  • I am jlettman on github.
  • I am johnlettman (https://keybase.io/johnlettman) on keybase.
  • I have a public key ASCec1mR_Ug3T72gRjimx4n3y_nkU7GZtfS8oDDmfQrQHQo

To claim this, I am signing this object:

@johnlettman
johnlettman / onboarding-utils.sh
Last active July 29, 2021 21:03
Canonical Engineering Onboarding -- handy utilities
#!/usr/bin/env bash
confirm_prompt() {
while true
do
read -p "${*:-"Are you certain you would like to continue?"} [y/n] " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
@johnlettman
johnlettman / LICENSE
Last active September 25, 2017 19:34
mkvmdkdev - make VMDK device
MIT License
Copyright (c) 2017 John Lettman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@johnlettman
johnlettman / gist:9b660caad15407a766cee22c4b4f3dea
Created March 29, 2017 15:46
RedZone Robotics Slack Theme
#070909,#FF0D00,#FF0D00,#FFFFFF,#3F3D3D,#FFFFFF,#00ff00,#FF0D00