Skip to content

Instantly share code, notes, and snippets.

View liske's full-sized avatar

Thomas Liske liske

View GitHub Profile
@liske
liske / test-amd-ucode.pl
Last active July 14, 2022 16:59
PoC - Check for matching AMD microcode updates.
#!/usr/bin/env perl
# Copyright Holder:
# 2019 (C) Thomas Liske [http://fiasko-nw.net/~thomas/]
#
# License:
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
lynx --dump http://www.tonatom.net/content/releases.html | \
egrep '[[:digit:]]+\. http://www\.tonatom\.net/releases' | \
perl -ne 'chomp; s/^\s*\d+\. //; next if(exists($f{$_})); $f{$_}++; print "$_/playlist.m3u\n";'