Skip to content

Instantly share code, notes, and snippets.

@parkerlreed
parkerlreed / wifi_microscope_dump.py
Created November 6, 2023 20:02 — forked from sspathak/wifi_microscope_dump.py
Modified version of czietz's code for capturing images from wifi microscope. Added compatibility with iwobac microscope
# Proof-of-concept code for reading data from a Wifi microscope.
# See https://www.chzsoft.de/site/hardware/reverse-engineering-a-wifi-microscope/.
# Copyright (c) 2020, Christian Zietz <czietz@gmx.net>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
@parkerlreed
parkerlreed / PKGBUILD
Created October 7, 2019 20:57
qemu-user-static-bin package fix
# Maintainer: David Herrmann <dh.herrmann@gmail.com>
_pkgname=qemu-user-static
pkgdesc='A generic and open source machine emulator, statically linked'
pkgver=4.1
pkgrel=1
pkgname=$_pkgname-bin
arch=('x86_64' 'i686' 'aarch64')
url="http://wiki.qemu.org"
@parkerlreed
parkerlreed / switch-modules.sh
Last active September 5, 2015 17:58 — forked from davispuh/switch-modules.sh
Switch NVIDIA/nouveau modules
#!/bin/sh
unbind_vtconsoles()
{
for ((i = 0; i < 16; i++))
do
if [ -d "/sys/class/vtconsole/vtcon$i" ]; then
if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` -eq 1 ]; then
while [ `cat /sys/class/vtconsole/vtcon$i/bind` -ne 0 ]; do
# I updated the script for kernel 3.8 running on Acer C7 Chrubuntu 13.04
#!/bin/bash
set -x
#
# Grab verified boot utilities from ChromeOS.
#
mkdir -p /usr/share/vboot
#!/bin/bash
set -x
#
# Grab verified boot utilities from ChromeOS.
#
mkdir -p /usr/share/vboot
mount -o ro /dev/sda3 /mnt
cp /mnt/usr/bin/vbutil_* /usr/bin