Skip to content

Instantly share code, notes, and snippets.

View jmkim's full-sized avatar

Jongmin Kim jmkim

View GitHub Profile
@jmkim
jmkim / rdep-lister.sh
Created April 17, 2025 04:42
Reverse-dependencies lister
#!/bin/bash
LIST_PATH="$1"
LIST="$(cat $LIST_PATH)"
for pkg in $LIST
do
echo ""
echo "------------------------------------------------------"
echo "$pkg"
sudo apt build-dep lazygit
iThe following package was automatically installed and is no longer required:
linux-image-6.12.17-amd64
Use 'sudo apt autoremove' to remove it.
Installing:
golang-github-adrg-xdg-dev golang-github-kardianos-osext-dev
golang-github-atotto-clipboard-dev golang-github-kyokomi-emoji-dev
golang-github-cloudfoundry-jibber-jabber-dev golang-github-lucasb-eyer-go-colorful-dev
golang-github-creack-pty-dev golang-github-mattn-go-runewidth-dev
['scale-monitor-framebuffer', 'xwayland-native-scaling']
From 423319693132e1b28ed8e81a72078f45cb00863d Mon Sep 17 00:00:00 2001
From: Jongmin Kim <[email protected]>
Date: Thu, 10 Apr 2025 20:28:34 +0900
Subject: [PATCH] pkg/exp32: fix ESP-IDF build conflicts
Signed-off-by: Jongmin Kim <[email protected]>
---
...x-undefined-reference-to-rtc_gpio_fo.patch | 29 +++++++++++++++++++
...newlib-guard-sys-uio.h-for-RIOT-only.patch | 27 +++++++++++++++++
2 files changed, 56 insertions(+)
Source: lazygit
Section: vcs
Priority: optional
Maintainer: Debian Go Packaging Team <[email protected]>
Uploaders: Jongmin Kim <[email protected]>
Build-Depends: debhelper-compat (= 13),
#
# DIRECT - Uploaded and ACCEPTED
dh-golang,
golang-any,
# sSMTP aliases
#
# Format: local_account:outgoing_address:mailhub
#
# Example: root:[email protected]:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.
@jmkim
jmkim / debian-git-versioning.md
Last active March 3, 2025 09:28
Upstream dirty tags versioning in Debian
sudo apt install ssmtp
sudo vi /etc/ssmtp/ssmtp.conf
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids &lt; 1000
@jmkim
jmkim / mm-quectel-rm520-fcc-unlock.md
Last active February 21, 2025 03:54
ModemManager Quectel RM520 FCC unlock references
## ModemManager
ModemManager serves [FCC unlock script](https://salsa.debian.org/DebianOnMobile-team/modemmanager/-/tree/debian/latest/data/dispatcher-fcc-unlock)
In Debian, its package [`modemmanager`](https://tracker.debian.org/pkg/modemmanager) installs them into `/usr/share/ModemManager/fcc-unlock.available.d/`.
By default, it is not enabled.
We should locally enable them with the command: