Skip to content

Instantly share code, notes, and snippets.

View 0xFelix's full-sized avatar

Felix Matouschek 0xFelix

View GitHub Profile
@0xFelix
0xFelix / rhel-subscribed-templates.yaml
Last active March 20, 2023 10:53
rhel-subscribed-templates.yaml
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: rhel-subscribed-templates
spec:
params:
- name: activationKey
description: Activation key that is injected into the VM template's cloud-init configuration
type: string
- name: organization
@0xFelix
0xFelix / getisourl.py
Created June 22, 2022 13:27
Get Windows 10 English ISO download url
#!/usr/bin/python
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select
options = Options()
options.headless = True
@0xFelix
0xFelix / codes.txt
Last active July 15, 2019 10:47
Sonoff RF Bridge 433 / ESPurna and Brennenstuhl RCS 1000 N
Sonoff RF Bridge 433 / ESPurna and Brennenstuhl RCS 1000 N
Taken from
http://tinkerman.cat/decoding-433mhz-rf-data-from-wireless-switches-the-data
and
https://www.itead.cc/wiki/images/5/5e/RF_Universal_Transeceive_Module_Serial_Protocol_v1.0.pdf
and
https://github.com/pimatic/rfcontroljs/blob/master/src/protocols/switch2.coffee
Protocol 'switch2' (Elro)
@0xFelix
0xFelix / huawei_dhcp.sh
Last active December 28, 2017 18:29 — forked from halms/huawei_dhcp.sh
Huawei Modem in LEDE using NCM, copy file to /lib/netifd/proto and make it executable (chmod +x huawei_dhcp.sh), kmod-usb-net-huawei-cdc-ncm and usb-modeswitch need to be installed
#!/bin/sh
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_huawei_dhcp_init_config() {
available=1
proto_config_add_string "device:device"
proto_config_add_string pin
@0xFelix
0xFelix / makepkg-arm
Created July 15, 2016 17:44
Put both files in the same directory and make makepkg-arm executable, then use makepkg-arm instead of makepkg, cli parameters are passed through if given
#!/bin/bash
# makepkg-arm script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
makepkg --config "$DIR/makepkg-arm.conf" "$@"