Skip to content

Instantly share code, notes, and snippets.

View DragoonAethis's full-sized avatar

Ryszard Knop DragoonAethis

View GitHub Profile
@DragoonAethis
DragoonAethis / dmidecode.txt
Last active September 28, 2024 17:21
TerraMaster F8 SSD Plus info dump
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.5.0 present.
Table at 0x73BBA000.
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: American Megatrends International, LLC.
Version: MADN0301.V01
Release Date: 05/23/2024
@DragoonAethis
DragoonAethis / gfx-ci-firmware-new.sh
Last active September 26, 2024 09:06
Intel GFX CI firmware prep scripts
#!/bin/bash
# Script configuration
# You can override any of these via env vars set outside of this script.
# Optional proxy env var script:
: ${PROXY_SCRIPT="/etc/profile.d/proxy.sh"}
# Repo to download the firmware files from:
: ${DRM_FW_REPO:="https://gitlab.com/kernel-firmware/drm-firmware.git/"}
@DragoonAethis
DragoonAethis / timeline.py
Last active February 17, 2024 22:53
Remcon 2024 - Timeline to XLSX
import re
import json
from datetime import datetime, timedelta
import requests
import xlsxwriter
DEBUG_DUMP_JSON = False
@DragoonAethis
DragoonAethis / PKGBUILD
Created May 2, 2023 13:06
nautilus-typeahead 44.1-1
# $Id: PKGBUILD 278826 2016-10-15 00:15:40Z heftig $
# Contributor (original patch code): Jan de Groot <jgc@archlinux.org>
# Contributor (original package maintainer): Ian Hernández <badwolfie@archlinux.info>
# Contributor (current main repo package maintainer): Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor (current patch code): Xavier Claessens <xavier.claessens@collabora.com>
# Contributor (fix for backspace going to parent folder): Jeremy Bicha <jbicha@debian.org>
# Contributor (updated patch for 43.2): Bryan Lai <bryanlais@gmail.com>
# Maintainer: Albert Vaca Cintora <albertvaka@gmail.com>
pkgbase=nautilus-typeahead
@DragoonAethis
DragoonAethis / wordlist_merged_en_pl.txt
Last active February 16, 2025 10:27
Merged PL/EN common password wordlist
# Merged Polish/English common password wordlist, sources:
# - https://gist.github.com/roycewilliams/226886fd01572964e1431ac8afc999ce
# - https://cert.pl/hasla/
# ~8k EN, ~4k PL passwords.
# Sorted alphabetically, converted to lowercase.
# Removed all <8 chars, numeric-only and uncracked passwords.
# Useful for common password checks in combination with other basic checks.
# Thanks to @baatochan for prodding me with the PL list.
!qaz1qaz
!qaz2wsx
@DragoonAethis
DragoonAethis / bookmarklet.js
Created June 26, 2022 16:06
On YouTube, open the transcription panel and run this bookmarklet to copy the transcription to your clipboard without timestamps.
javascript: (() => {
const fragments = [];
const elems = document.getElementsByClassName("ytd-transcript-segment-renderer");
if (elems.length === 0) {
alert("No transcript elements found - are you sure the transcription panel is open?");
return;
}
for (const elem of elems) {
/* Want timestamps? Remove .slice(1) here: */
@DragoonAethis
DragoonAethis / millextract.py
Last active April 26, 2025 18:49
Skrypt do eksportu historii zwykłego (nie-biznesowego) konta Millennium do CSV
"""
Skrypt do eksportu historii zwykłego konta Millennium do CSV
Ostatnio sprawdzony: 2025-04-26 (Python 3.13, Pandas 2.2.3)
Wymaga Pythona 3 i Pandas (pip install pandas)
Jak używać:
1. Na stronie Millennium otwórz historię konta
2. Kliknij Wyszukiwanie zaawansowane
@DragoonAethis
DragoonAethis / eNauczanieLite.css
Last active October 2, 2020 11:28
eNauczanie Lite - Użyj Stylisha aby zaimportować (Manage -> Write New Style -> Mozilla Format -> Import)
@-moz-document domain("enauczanie.pg.edu.pl") {
#slideshow,
.top-header-branding,
.page-header-image > a:nth-child(1) > img:nth-child(1),
.course-info-container > div > .media > .media-left,
.block_recentlyaccessedcourses,
.block_recentlyaccessedcourses + span#sb-5 {
display: none;
}
@DragoonAethis
DragoonAethis / PKGBUILD
Last active May 21, 2020 15:17
mikintcpio-scboot: unlock a LUKS volume using a key stored on a smart card
pkgname=mkinitcpio-scboot
pkgver=1.0.0
pkgrel=1
pkgdesc="Boot from an encrypted partition using a key stored on a smart card."
author=('Dragoon Aethis <dragoon@dragonic.eu>')
license=('MIT')
arch=('any')
source=('scboot-hooks.sh' 'scboot-install')
sha256sums=('SKIP' 'SKIP')
depends=('opensc' 'libusb' 'libusb-compat' 'pcsclite' 'ccid' 'acsccid' 'mkinitcpio')
@DragoonAethis
DragoonAethis / FilteringTest.csproj
Created August 7, 2019 20:02
Serilog Property Filtering Test
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Serilog" Version="2.8.0" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
</ItemGroup>