Skip to content

Instantly share code, notes, and snippets.

View sboger's full-sized avatar

Steven Boger sboger

View GitHub Profile
@sboger
sboger / Dockerfile
Last active April 24, 2022 01:40
Dockerfile for devterm container builder
FROM ubuntu:hirsute
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install wget tzdata vim git build-essential
RUN wget https://gist.githubusercontent.com/sboger/31fe0ded17c540f73346a9d3f4544114/raw/d8e03949cda1c27a991afb4b17ac83d8f7122426/build.sh
RUN chmod +x build.sh
@sboger
sboger / build.sh
Last active April 24, 2022 01:40
Build file for devterm container
#!/bin/bash
git clone https://github.com/armbian/build.git
git clone https://github.com/clockworkpi/DevTerm.git
cd build
git reset --hard 43d179914ae9e1ebb5d72315d9f9f68f5fb3e330
git apply ../DevTerm/Code/patch/armbian_build_a06/patch/armbian.patch
git apply ../DevTerm/Code/patch/armbian_build_a06/patch/armbian_mirror.patch
mkdir -p userpatches/kernel/rockchip64-current/
mkdir -p userpatches/u-boot/u-boot-rockchip64-mainline/
cp -f ../DevTerm/Code/patch/armbian_build_a06/patch/kernel*.patch userpatches/kernel/rockchip64-current/
@sboger
sboger / python3-salt.changlog.txt
Last active April 3, 2022 23:39
rpm -q --changelog python3-salt
* Wed Mar 23 2022 pablo.suarezhernandez@suse.com
- (CVE-2020-22934) (CVE-2020-22935) (CVE-2020-22936) (CVE-2020-22941) (bsc#1197417)
- Added:
* patch_for_cve_bsc1197417.patch
* Thu Feb 03 2022 pablo.suarezhernandez@suse.com
- Fix inspector module export function (bsc#1097531)
- Add all ssh kwargs to sanitize_kwargs method
- Wipe NOTIFY_SOCKET from env in cmdmod (bsc#1193357)
- Don't check for cached pillar errors on state.apply (bsc#1190781)
@sboger
sboger / gist:86f49dfba00ee01fcfa8a13222220964
Last active January 5, 2022 10:18
automated computer generated kitty post to twitter
#!/usr/bin/python3
import requests
import hashlib
from hashlib import algorithms_available
import tweepy
# assign the values accordingly.
consumer_key = "SEKRET CONSUMER KEY"
consumer_secret = "SEKRET CONSUMER SECRET"
@sboger
sboger / mediacenter.compose
Last active January 25, 2022 15:29
Complete Media Center Docker compose file.
---
version: "2.1"
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: media-gluetun
cap_add:
- NET_ADMIN
network_mode: bridge