Skip to content

Instantly share code, notes, and snippets.

View kmpm's full-sized avatar

Peter Magnusson kmpm

View GitHub Profile

openSuSE Tryout

This document is my personal notes from getting back into SuSE again from years using debian and ubuntu.

Replacement for build-essential

SuSE/Zypper uses something called patterns to group packages together. The deb equivalent to patters would be meta-packages I guess. There is a pattern called devel_basis that sort of matches build-essential.

@kmpm
kmpm / README.md
Last active August 12, 2021 09:04
Difference between Caddy and dig DNS Lookup

Attached to this will be a pcap with 2 different request/response sequences. The first is the one that Caddy does and the second comes from dig.

@kmpm
kmpm / Gitea-Swedish.md
Last active March 15, 2021 07:51
Gitea Swedish

Gitea Swedish

Detta dokument beskriver hur olika termer har översatts till svenska i Gitea. Rubrikerna innehåller det engelska ordet sen kan det komma förklaringar, översättningar exempel med mera.

Termer

Body

  • repo:issues.reference_issue.body > Innehåll

Branch

@kmpm
kmpm / README.md
Last active November 5, 2025 00:37
openSUSE MicroOS, combustion, rancher and proxmox

openSUSE MicroOS, combustion, rancher and proxmox

This document is a work in progress to help me keep track of stuff while trying to get Rancher running on openSUSE MicroOS in a virtual machine on a Proxmox host.

Setup

proxmox host

# import a qcow2 as a disk to an existing vm
@kmpm
kmpm / .tmux.conf
Created June 16, 2020 16:35
Nice little config for tmux
# https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v
@kmpm
kmpm / README.md
Last active May 18, 2020 15:47
MotionEye and Motion on Raspbian Buster

MotionEye and Motion on Raspian Buster

This will use python2 even though it's deprecated since MotionEye still does not work with python3

sudo apt install motion ffmpeg v4l-utils python libcurl4-openssl-dev libssl-dev \
  python-pip \
  virtualenv \
 python-libtiff \
@kmpm
kmpm / Git-and-SCM-in-Swedish.md
Last active November 24, 2025 13:35
Git och kodhantering på svensk-engelska

Git och kodhantering på svensk-engelska

Det har funnints många försök att översätta terminologin som man använder i git och kodhantering, a´la github, gitlab och gitea, till svenska utan att man enligt mitt tycke träffat rätt. Nu kommer det här bli ytterligare ett inlägg i historien som inte heller träffar rätt men jag gör ett försök ändå.

Min huvudtanke är att behålla engelskan i ganska lång utsträckning vad det gäller själva programmet gitdå man annars kommer ifrån det som kommandon, hjälptexter och google-sökningar faktiskt använder som terminiologi och detta tycker jag är olyckligt.

@kmpm
kmpm / README.md
Last active October 18, 2019 11:02
Moxa ThingsPro notes and stuff
@kmpm
kmpm / .hyper.js
Created May 6, 2019 08:26
Current hyper config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@kmpm
kmpm / bionic-playbook.yml
Created April 9, 2019 11:24
Ansible playbook for ubuntu bionic
---
# ubuntu bionic development server playbook
- hosts: all
vars:
ansible_python_interpreter: "python3"
tasks:
- name: disable DNSSEC
become: yes
lineinfile: