Skip to content

Instantly share code, notes, and snippets.

View SuperMarioSF's full-sized avatar

SuperMario SuperFans SuperMarioSF

View GitHub Profile
@SuperMarioSF
SuperMarioSF / ModemManager.service
Last active February 28, 2024 01:27
ClockworkPi uConsole A06 Core LTE Module systemd service for automatic startup
[Unit]
Description=Modem Manager
After=polkit.service
Requires=polkit.service
ConditionVirtualization=!container
BindsTo=uConsoleLTE.service
[Service]
Type=dbus
BusName=org.freedesktop.ModemManager1
@SuperMarioSF
SuperMarioSF / sshout_install_reference.sh
Last active December 28, 2022 04:25
Installing SSHOUT instance on Debian
# Get the source code
git clone https://git.code.sf.net/p/sshout/daemon-code sshout
cd sshout
# Essential package for building
sudo apt update
sudo apt install build-essential gettext libmhash-dev libreadline-dev
# Optional package for runtime features
sudo apt install xclip elinks

Keybase proof

I hereby claim:

  • I am SuperMarioSF on github.
  • I am supermariosf (https://keybase.io/supermariosf) on keybase.
  • I have a public key whose fingerprint is 61EF 26E6 80DF 7878 01DF A87E C8DC 4EB0 D22A 583C

To claim this, I am signing this object:

@SuperMarioSF
SuperMarioSF / GPG + Git SSH Authentication and Signing on Windows 10.md
Last active January 22, 2023 13:53 — forked from matusnovak/README.md
GPG + Git SSH Authentication and Signing on Windows 10

GPG + Git SSH Authentication and Signing on Windows 10

Edit (2021-10-31, SuperMarioSF):

  • fixed: missing --force for wsl-ssh-pagent, which caused not to able to launch wsl-ssh-pagent when there already file created.
  • fixed: missing guide for WinSSH ssh-add enviornment variable SSH_AUTH_SOCK. (Thanks @landfillbaby for information in original gist comment)

Introduction

This simple Gist will explain how to settup your GPG key to work for SSH authentication (with Git) and Git commit signing on Windows 10. This may seem straightforward on Linux, but there are certain tweaks needed on Windows.

@SuperMarioSF
SuperMarioSF / HttpStatusCodes.py
Created December 22, 2020 08:09
HTTP Status Code constants (Inspired by https://t.co/aATbyHNQaJ , unofficial codes included)
class HoldOn(object):
Continue = 100
SwitchingProtocol = 101
Processing = 102
EarlyHints = 103
Checkpoint = 103 # Unofficial: Common usage
class HereYouGo(object):
OK = 200