Skip to content

Instantly share code, notes, and snippets.

View Surfndez's full-sized avatar
🥳
I may be slow to respond.

Dez Surfndez

🥳
I may be slow to respond.
View GitHub Profile
@Surfndez
Surfndez / iommu.sh
Created March 3, 2026 21:32 — forked from r15ch13/iommu.sh
List IOMMU Groups and the connected USB Devices
#!/usr/bin/env bash
shopt -s nullglob
lastgroup=""
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do
for d in $g/devices/*; do
if [ "${g##*/}" != "$lastgroup" ]; then
echo -en "Group ${g##*/}:\t"
else
echo -en "\t\t"
@Surfndez
Surfndez / convertfrom-subghzraw.ps1
Created March 3, 2026 21:31 — forked from r15ch13/convertfrom-subghzraw.ps1
Convert Flipper SubGhz RAW Files to CSV
# Converts Flipper SubGhz RAW Files to PSCustomObject[]
function ConvertFrom-SubGhzRAW {
param(
[Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true)]
[String] $Path
)
process {
$data = Get-Content $Path
if(!$data.Contains("Filetype: Flipper SubGhz RAW File")) {
@Surfndez
Surfndez / lsiommu
Created March 3, 2026 21:31 — forked from flungo/lsiommu
List the devices and their IOMMU groups.
#!/bin/bash
for d in $(find /sys/kernel/iommu_groups/ -type l | sort -n -k5 -t/); do
n=${d#*/iommu_groups/*}; n=${n%%/*}
printf 'IOMMU Group %s ' "$n"
lspci -nns "${d##*/}"
done;
@Surfndez
Surfndez / New-GPUPDriverPackage.ps1
Created August 6, 2022 09:35 — forked from neggles/New-GPUPDriverPackage.ps1
Hyper-V GPU Virtualization
<#
.SYNOPSIS
Create a GPU-P Guest driver package.
.DESCRIPTION
Gathers the necessary files for a GPU-P enabled Windows guest to run.
.EXAMPLE
New-GPUPDriverPackage -DestinationPath '.'
.EXAMPLE
New-GPUPDriverPackage -Filter 'nvidia' -DestinationPath '.'
.INPUTS
@Surfndez
Surfndez / cvgpu.c
Created August 6, 2022 09:24
C version vgpu_unlock
#define _GNU_SOURCE
// Credit to community members for most of the work, especially
// DualCoder for the original work
// DualCoder, snowman, Felix, Elec for profile modification
#include <stdint.h>
#include <stdio.h>
#include <dlfcn.h>
@Surfndez
Surfndez / npm-upgrade-bleeding.sh
Created June 2, 2022 14:56 — forked from othiym23/npm-upgrade-bleeding.sh
a safe way to upgrade all of your globally-installed npm packages
#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3)
do
npm -g install "$package"
done

File: Download Infomark imw c910w firmwareimw-c910w hack imw-c910w unlock hack clear modem free internet imw-c910w manual imw-c910w firmware update imw-c910w default password infomark imw-c900w imw-c910w reset   FCC IDENTIFIER: YCO-IMW-C910W. Name of Grantee: Infomark Co., Ltd. Equipment Class: Licensed Non-Broadcast Station Transmitter. Notes: WiMAX & WiFi 12 Dec 2010 Firmware Version : 1.9.9.4 Hardware Version : R051.2 Device Name : IMW-C615W Device Manufacturer : INFOMARK (infomark.co.kr This is the Device Update screen from the Clear IMW-C910W router. Spot Current Device Software Version Check for Updates CHECK Update Firmware From WiMAX & WiFi Dual CPE user manual details for FCC ID YCO-IMW-C910W made by Infomark Co., Ltd.. Document Includes Users Manual 0

@Surfndez
Surfndez / hfsc-shape.sh
Created July 22, 2018 19:48 — forked from eqhmcow/hfsc-shape.sh
HFSC - linux traffic shaping's best kept secret
#!/bin/bash
# As the "bufferbloat" folks have recently re-discovered and/or more widely
# publicized, congestion avoidance algorithms (such as those found in TCP) do
# a great job of allowing network endpoints to negotiate transfer rates that
# maximize a link's bandwidth usage without unduly penalizing any particular
# stream. This allows bulk transfer streams to use the maximum available
# bandwidth without affecting the latency of non-bulk (e.g. interactive)
# streams.