Skip to content

Instantly share code, notes, and snippets.

View stv0g's full-sized avatar
🎅
working

Steffen Vogel stv0g

🎅
working
View GitHub Profile
{ pkgs, ... }:
let
mountPoint = "/media/psf/RosettaLinux";
socket = "/var/cache/rosettad/uds/prlrosettad.sock";
socketDest = "/var/run/prlrosettad.sock";
in
{
# https://developer.apple.com/documentation/virtualization/running_intel_binaries_in_linux_vms_with_rosetta
nix.settings = {

$argon2id$v=19$m=512,t=256,p=1$E7i7ug8HdLWn2lQ7K6G7RQ$VK+HEkUMAxyssnLy6lyYC10vSa4HYSNmWVw3XabjfN8

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Schema of cunicu configuration file",
"allOf": [
{
"$ref": "#/$defs/GlobalSettings"
},
{
"$ref": "#/$defs/InterfaceSettings"
},
################################################################################
# Kickstart file for VILLAS installation
################################################################################
# Configuration
lang en_US.UTF-8
keyboard us
timezone Europe/Berlin
selinux --disabled
firewall --disabled
@stv0g
stv0g / crawl-rims.py
Created February 8, 2022 22:20
SD.NET RIM Instances
import urllib.request
from urllib.error import HTTPError
import time
from bs4 import BeautifulSoup
BASE = 'https://sdnetrim.kdvz-frechen.de'
for id in range(4000, 5000):
try:
# Generated by cfac (https://github.com/stv0g/cfac) on 2021-10-06 07:18:42.717701803 +0200 CEST m=+0.182715541
#EXTM3U
#PLAYLIST: Autobahn Livestreams
#EXTALB:A1
#EXTART:NRW
#EXTINF:-1,A1 | ID005 AK Köln-Nord | Blickrichtung Dortmund | NRW
# {"extent":"6.861151,50.987423,6.861151,50.987423","identifier":"V0VCQ0FNX19OUldfU2lsYS1TaWduYWxiYXVfMTAxMDgxMDk4ODE2NDgyOTQ4NTQ=","routeRecommendation":[],"coordinate":{"lat":"50.987423","long":"6.861151"},"footer":["ID: WEBCAM__NRW_Sila-Signalbau_10108109881648294854"],"icon":"webcam","isBlocked":"false","description":[],"title":"A1 | ID005 AK Köln-Nord","operator":"NRW","point":"6.861151,50.987423","display_type":"WEBCAM","lorryParkingFeatureIcons":[],"future":false,"imageurl":"https://www.verkehr.nrw/webcams/10108109881648294854.jpg","subtitle":"Blickrichtung Dortmund","linkurl":"https://www.blitzvideoserver.de/player_strassennrw.html?serverip=62.113.210.7\u0026serverapp=strassennrw-rtplive\u0026streamname=10108109881648294854"}
http://62.113.210.7/strassennrw-rtplive
@stv0g
stv0g / docker-netns.sh
Created January 24, 2020 15:34
docker-netns.sh
#!/bin/bash
# Install jq!!!
#
#
command -v jq >/dev/null 2>&1 || echo >&2 'Please install "jq": apt-get install jq'
NETNS="blue"
# Create docker networks if they not exist yet
@stv0g
stv0g / README.md
Last active August 1, 2017 00:25
Check if a new backup should be triggered

This script can be added to your bash startup script in order to remind you to do weekly / daily backups.

@stv0g
stv0g / .block
Last active July 31, 2017 08:10 — forked from mbostock/.block
Force-Directed Graph
license: gpl-3.0
height: 600

Keybase proof

I hereby claim:

  • I am stv0g on github.
  • I am stv0g (https://keybase.io/stv0g) on keybase.
  • I have a public key ASB_Rx0hyS2Pj9_BFWN5TZHhQ3VvgUAUDKsVjfyfgDcplwo

To claim this, I am signing this object: