Skip to content

Instantly share code, notes, and snippets.

View arkq's full-sized avatar
Mister snowman look and see...

Arkadiusz Bokowy arkq

Mister snowman look and see...
View GitHub Profile
@arkq
arkq / pop-os-persistent.sh
Created March 21, 2023 09:38
Download and patch Pop!_OS ISO images to enable persistent storage
#!/bin/bash
# Download and patch Pop!_OS ISO images to enable persistent storage
set -e
IMAGES=(
"Pop!_OS 20.04 LTS"
"https://iso.pop-os.org/20.04/amd64/intel/10/pop-os_20.04_amd64_intel_10.iso"
"username=pop-os noprompt ---"
@arkq
arkq / latm-decoder
Last active February 15, 2022 10:28
ISO/IEC 14496-3
#!/usr/bin/env python
# LATM decoder - ISO/IEC 14496-3
#
# E.g.:
# latm-decoder 47 FC 00 00 B0 ...
# latm-decoder 47FC0000B09080 ...
import base64
import io
import sys
@arkq
arkq / kbcheck.c
Created December 2, 2014 17:25
Check for given key event on the hardware level
/*
* kbcheck.c - Check for given key event on the hardware level
* Copyright (c) 2014 Arkadiusz Bokowy
*
* This projected is licensed under the terms of the MIT license.
*
* Compilation:
* gcc -Wall -Wextra -o kbcheck kbcheck.c
*
* Exemplary usage:
@arkq
arkq / counter.c
Created December 1, 2014 21:05
Simple console countdown utility
/*
* counter.c - Simple console countdown utility
* Copyright (c) 2014 Arkadiusz Bokowy
*
* This projected is licensed under the terms of the MIT license.
*
* Compilation:
* gcc -Wall -Wextra -o counter counter.c
*
*/
@arkq
arkq / rundom.c
Last active August 29, 2015 14:10
Run given command at random time intervals
/*
* rundom.c - Run given command at random time intervals
* Copyright (c) 2014 Arkadiusz Bokowy
*
* This projected is licensed under the terms of the MIT license.
*
* Compilation:
* gcc -Wall -Wextra -o rundom rundom.c
*
*/