Model: Kindle 5? (2012), Kindle 4 NoTouch Black (2012), Model D01100 (Serial 9023 xxxxx xxxx xxxx) A.K.A. K4, K4B firmware version 4.1.4 (3543630001) Equivalent to B023 Model number printed on lower back of device Firmware version bottom right of settings Serial top of page 2 of settings under Device Info https://wiki.mobileread.com/wiki/Kindle_Serial_Numbers Official firmware updates https://www.amazon.com/gp/help/customer/display.html?nodeId=GKMQC26VQQMM8XSW https://www.amazon.com/gp/help/customer/display.html?nodeId=GX3VVAQS4DYDE5KE#GUID-4C9EFFF2-2B4E-4DB8-997D-6DC9B3566220__SECTION_5EB1B42C0CCF40E5A0DD8E64F7AAEF8A Model's wiki page - K5 is equivalent to K4 for this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0. Getting list of packages to check | |
| Reading packages from packages.txt | |
| 0. Arch wiki lists 6005 packages | |
| 1. Getting orphaned packages from AUR rpc | |
| 1. Finished listing orphaned packages | |
| 2. Getting out of date packages from AUR rpc | |
| Out of date (2017-12-06T20:09:50): biojava | |
| Out of date (2020-09-25T13:39:29): beegfs-mgmtd | |
| Out of date (2018-01-30T04:41:45): pybliographer | |
| Out of date (2022-05-07T07:38:52): linux-beacon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # see /usr/share/pipewire/pipewire.conf, which this *extends*. | |
| # available args: | |
| # https://docs.pipewire.org/group__pw__keys.html | |
| # https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/src/pipewire/keys.h | |
| # Soundux takes nodes with application.process.binary | |
| # https://github.com/Soundux/Soundux/blob/master/src/helper/audio/linux/pipewire/pipewire.cpp#L447 PipeWire::getRecordingApps() | |
| # easyeffects takes nodes with media.class=Stream/Input/Audio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # https://stackoverflow.com/questions/32466048/imagemagick-convert-resize-then-crop | |
| # https://imagemagick.org/script/command-line-options.php#colorspace | |
| magick mogrify \ | |
| -path out/ \ | |
| -format png \ | |
| -colorspace Gray \ | |
| -resize 600x800^ \ | |
| -gravity Center \ | |
| -extent 600x800 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone https://git.savannah.gnu.org/git/grub.git | |
| grep -Pohr 'grub_dprintf ?\("\K[a-z]+' grub/ | uniq | paste -sd "," - | |
| # dl,scripting,lexer,regions,pmtimer,acpi,dl,cache,modules,init,hostdisk,dl,xen,linux,efi,sections,fs,partition,verify,devalias,elf,dl,disk,video,jpeg,tga,video,hostdisk,dns,net,tftp,net,crypt,nativedisk,play,smbios,drivemap,expand,keystatus,acpi,fixvideo,tpm,efi,syslinux,partition,gpt,partition,efiemu,linux,loader,bsd,xen,linux,xnu,bsd,chain,xen,multiboot,xen,linux,loader,multiboot,xnu,linux,chain,appleload,linux,fdt,multiboot,xnu,linux,loader,linux,loader,font,fdtbus,usb,ehci,ohci,ehci,ohci,usb,ehci,uhci,usb,affs,cbfs,archelp,reiserfs,btrfs,zfs,fat,exfat,xfs,relocator,datetime,disk,mmap,badram,mmap,ata,usbms,usb,pata,ata,pata,disk,ubootdisk,geli,luks,xen,efidisk,disk,scsi,memdisk,cryptodisk,diskfilter,arcdisk,ahci,luks,usb,atkeyb,serial,atkeyb,cros | |
| # omit "scripting" to hide malloc and free for a better logging experience |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # feel free to use | |
| palette_pico8 = { | |
| 0: '000000', | |
| 1: '1D2B53', | |
| 2: '7E2553', | |
| 3: '008751', | |
| 4: 'AB5236', | |
| 5: '5F574F', | |
| 6: 'C2C3C7', | |
| 7: 'FFF1E8', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import io | |
| from pathlib import Path | |
| READ_PATH = Path('AUDIO001.002') | |
| WRITE_PATH = Path('AUDIO001-shifted.002') | |
| # windows displays kibibytes | |
| KB = 1024 | |
| SHIFT = KB * -62 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -stream_loop -1 -i "11 - Cat Hacks.aac" -stream_loop -1 -i "MixedBlissfulKid.mp4" -c:v libx264 -c:a aac -b:v 800k -b:a 128k -f flv "rtmp://lhr03.contribute.live-video.net/app/%1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| "\\0", | |
| "\\*", | |
| "\\#", | |
| "\\-", | |
| "\\|", | |
| "\\+", | |
| "\\^", | |
| "\\a", | |
| "\\b", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import webbrowser | |
| import string | |
| from random import choices | |
| def f(n): | |
| return ''.join(choices(string.ascii_letters + string.digits, k=n)) | |
| def g(): |
NewerOlder