All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
racerxdl's Avatar

racerxdl / iommu.sh

0 likes
0 forks
1 files
Last active 1 month ago
List IOMMU groups
1 #!/bin/bash
2
3 for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`
4 do
5 echo "IOMMU Group ${g##*/}:"
6 for d in $g/devices/*
7 do
8 echo -e "\t$(lspci -nns ${d##*/})"
9 done
10 done
racerxdl's Avatar

racerxdl / SatHelperApp.cfg

0 likes
0 forks
1 files
Last active 1 month ago
RTLSDR R820T2 SatHelperApp config
1 Title = "SatHelperApp"
2
3 [Base]
4 SymbolRate = 927000
5 RRCAlpha = 0.3
6 Mode = "hrit"
7 Decimation = 1
8 AGCEnabled = true
9 DeviceType = "rtlsdr"
10 SendConstellation = true
racerxdl's Avatar

racerxdl / fifo.v

0 likes
0 forks
1 files
Last active 1 month ago
1 module FIFO
2 #(
3 parameter NUMSAMPLES = 16,
4 parameter NUMBITS = 16
5 ) (
6 input wire rclk,
7 input wire wclk,
8 input wire reset,
9 input wire [NUMBITS-1:0] wdata,
10 input wire readEnable,
racerxdl's Avatar

racerxdl / domain.xml

0 likes
0 forks
2 files
Last active 1 month ago
How to use Windows 10 OEM license in libvirt VM (<smbios mode='host' /> does not work as Windows seems to verify UUID; apparmor/security configuration changes may be needed)
1 #!/bin/bash
2
3 set -e
4
5 cat /sys/firmware/acpi/tables/SLIC > slic.bin
6 cat /sys/firmware/acpi/tables/MSDM > msdm.bin
7 dmidecode -t 0 -u | grep $'^\t\t[^"]' | xargs -n1 | perl -lne 'printf "%c", hex($_)' > smbios_type_0.bin
8 dmidecode -t 1 -u | grep $'^\t\t[^"]' | xargs -n1 | perl -lne 'printf "%c", hex($_)' > smbios_type_1.bin
racerxdl's Avatar

racerxdl / end-gcode.gcode

0 likes
0 forks
2 files
Last active 1 month ago
Cura GCode start / end for BLTouch + Ender 3 Pro
1 ; Script based on an original created by tjjfvi (https://github.com/tjjfvi)
2 ; An up-to-date version of the tjjfvi's original script can be found
3 ; here: https://csi.t6.fyi/
4 ; Note - This script will only work in Cura V4.2 and above!
5 ; --- Global Settings
6 ; layer_height = {layer_height}
7 ; smooth_spiralized_contours = {smooth_spiralized_contours}
8 ; magic_mesh_surface_mode = {magic_mesh_surface_mode}
9 ; machine_extruder_count = {machine_extruder_count}
10 ; --- Single Extruder Settings
racerxdl's Avatar

racerxdl / SatHelperApp.cfg

0 likes
0 forks
1 files
Last active 1 month ago
RTLSDR E4000 config for SatHelperApp
1 Title = "SatHelperApp"
2
3 [Base]
4 SymbolRate = 927000
5 RRCAlpha = 0.3
6 Mode = "hrit"
7 Decimation = 1
8 AGCEnabled = true
9 DeviceType = "rtlsdr"
10 SendConstellation = true
racerxdl's Avatar

racerxdl / bands.json

0 likes
0 forks
3 files
Last active 1 month ago
OpenWebRX at https://websdr.lucasteske.dev/
1 # -*- coding: utf-8 -*-
2
3 """
4 config_webrx: configuration options for OpenWebRX
5
6 This file is part of OpenWebRX,
7 an open-source SDR receiver software with a web UI.
8 Copyright (c) 2013-2015 by Andras Retzler <[email protected]>
9 Copyright (c) 2019-2020 by Jakob Ketterl <[email protected]>
racerxdl's Avatar

racerxdl / Configuration.h

0 likes
0 forks
3 files
Last active 1 month ago
Ender 3 Pro - SKR v1.4 Pro with BLTouch - Marlin 2.0.0
1 /**
2 * Marlin 3D Printer Firmware
3 * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4 *
5 * Based on Sprinter and grbl.
6 * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
racerxdl's Avatar

racerxdl / vcd2latex.py

0 likes
0 forks
1 files
Last active 1 month ago
Very bad converter from ValueChangeDump (VCD) to Tikz Timing on Latex.
1 #!/usr/bin/env python3
2
3 import vcdvcd, math
4 from vcdvcd import VCDVCD
5
6 vcdfile = "digital_port_tb.vcd"
7
8 vcd = VCDVCD(vcdfile, only_sigs=True)
9
10 all_signals = vcd.signals
racerxdl's Avatar

racerxdl / create-hotspot.md

0 likes
0 forks
1 files
Last active 1 month ago
Create Wi-Fi Hotspot on Linux using nmcli

Create a Wi-Fi hotspot on Linux using nmcli

Original post : https://unix.stackexchange.com/a/310699

nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
Newer Older

Powered by Opengist ⋅ Load: 183ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文