Skip to content

Instantly share code, notes, and snippets.

View schiederme's full-sized avatar
🎯
Focusing

Maximilian Schieder schiederme

🎯
Focusing
View GitHub Profile
@schiederme
schiederme / README.md
Created May 8, 2021 13:43 — forked from smoser/README.md
qemu to linux mapping of smbios / dmi information

Mappings for DMI/SMBIOS to Linux and dmidecode

Information can be put into dmi tables via some qemu-system hosts (x86_64 and aarch64). That information is exposed in Linux under /sys/class/dmi/id and can be read with dmidecode. The names are very annoyingly inconsistent. The point of this doc is to map them.

Mappings

Example qemu cmdline:

qemu-system-x86_64 -smbios type=<type>,field=value[,...]

qemu-system-x86_64 -smbios type=0,vendor=superco,version=1.2.3
@schiederme
schiederme / devops_best_practices.md
Last active February 2, 2021 12:51 — forked from jpswade/devops_best_practices.md
Devops Best Practices Checklist

Find the original here article here: Devops Best Practices

DevOps started out as "Agile Systems Administration". In 2008, Andrew Shafer did a talk called "Agile Infrastucture" addressing issues around involving more of the company in the same disciplines as programmers.

In 2009, Patrick Debois created "DevOpsDays" conference to help to bring it to light. However, it wouldn't begin to trend until about 2010, when people would begin to describe it as a standalone discipline.

Today, DevOps goes beyond just developers, systems administration and infrastructure, its about [dev, ops, agile, cloud

@schiederme
schiederme / deploy-consul-agent.sh
Created August 30, 2020 15:39 — forked from shikendon/deploy-consul-agent.sh
Debian network optimization scripts. (Development)
#!/bin/bash
# Author: Shi-Ken Don <shiken.don@gmail.com>
# Source: https://git.io/deploy-consul-agent.sh.dev
# License: MIT
set -e
sudo -V > /dev/null || apt -y install sudo
sudo apt -y install consul
@schiederme
schiederme / send_email.py
Created August 13, 2020 02:04 — forked from lavr/send_email.py
std email vs emails
# see also: http://code.activestate.com/recipes/578150-sending-non-ascii-emails-from-python-3/
import os
import smtplib
from email.utils import formataddr
from email.utils import formatdate
from email.utils import COMMASPACE
from email.header import Header
@schiederme
schiederme / ForkMITLicensedProject.md
Created August 13, 2020 01:49 — forked from fbaierl/ForkMITLicensedProject.md
HOWTO fork a MIT licensed project

No, you are not allowed to change the copyright notice. Indeed, the license text states pretty clearly:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

But you are allowed to add a copyright notice.

If you want to keep the MIT license, which is what I would advise you to do, you only need to add a single line to the license file, before or after Copyright (c) 2012 Some Name with your own copyright notice. The final LICENSE file will look like this:

The MIT License (MIT)

@schiederme
schiederme / .block
Created August 13, 2020 00:02 — forked from wushaobo/.block
Flask server-side session with redis
license: gpl-3.0
border: no
### Keybase proof
I hereby claim:
* I am schiederme on github.
* I am schiederme (https://keybase.io/schiederme) on keybase.
* I have a public key ASAcqj47nnkQS9dqnXUo0t-RpJDj_mvzG7r9sue8f0i27wo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am maximilianschieder on github.
  • I am schieder (https://keybase.io/schieder) on keybase.
  • I have a public key whose fingerprint is E2CF A3F7 EDD1 D334 15A7 CD90 CA19 E42F 7905 12F9

To claim this, I am signing this object: