Skip to content

Instantly share code, notes, and snippets.

View itatabitovski's full-sized avatar
:octocat:

Ilin Tatabitovski itatabitovski

:octocat:
View GitHub Profile
@klingtnet
klingtnet / how-to-upgrade-nvmw-ssd-firmware-on-linux.md
Last active January 25, 2025 23:19
How to upgrade [Lenovo] NVMe SSD firmware on Linux

The instructions were tested on a Lenovo X1 Carbon 5th Gen (X1C5) on Arch Linux but should be applicable to other Lenovo models and Linux distributions.

BACKUP YOUR DATA! I created a bootable Ubuntu Image like this:

$ sudo sh -c 'curl --location --silent --fail "http://releases.ubuntu.com/18.04/ubuntu-18.04.1-desktop-amd64.iso" | pv > /dev/<your-usb-drive>'
# note that pv is only there to show progress, it is perfectly fine to redirect curl to the usb drive directly.

then I booted from this drive by pressing F12 on reboot and dumped my NVMe disk to an external hard drive like this:

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active May 19, 2025 00:01
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@dedeibel
dedeibel / lbb-extract-transactions-from-text.pl
Last active February 19, 2023 12:13
Kreditkarten Abrechnungen PDF von LBB Berlin Amazon Kreditkarte zu CSV konvertieren parse parsen BEST EFFORT
#!/usr/bin/perl -n
#
# Achtung: Das Skript ist ein fieser Hack, welcher vermutlich nicht in allen
# Faellen funktioniert. Fuer mich hat es fuer erste Experimente
# ausreichend gut funktioniert.
#
# Einzelne Ausgabe von "pdf2txt" einer einer einzelnen PDF Datei
# als Parameter oder via Pipe uebergeben.
#