- ./buildlog.txt:
paru -S fcitx5-git fcitx5-cskk-git cskk-git
- ./envrionments.txt : About then environment information of the system.
- ./fcitx5-log1.txt : The log of fcitx5 when it is running. Adding Cskk as active input method, then switching to Cskk input method. Then, shutdown the fcitx5 daemon.
- ./fcitx5-log2.txt : The log of fcitx5 when it is running. Open fcitx5-config-qt, go to Addons tab, then Click 'Configure' button of
Cskk iput method for Fcitx5
, then click 'OK' button to close the dialog. Then, shutdown the fcitx5 daemon.
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
# Create port mapping files for each service/port combination | |
docker compose ps --format=json | jq -r ' | |
.Service as $service | | |
.Publishers[]? | | |
select(.PublishedPort > 0) | | |
"/tmp/compose_\($service)_\(.TargetPort)_\(.Protocol) \(.PublishedPort)" | |
' | while read -r filepath port; do | |
echo "$port" | docker compose exec -T <target> tee "$filepath" >/dev/null | |
done |
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 {pagesPath} from './lib/$path.ts' | |
type Rule = { | |
pattern: string | |
fix: string | |
id: string | |
} | |
const rulesForLevel = (paths: any, parent: string[] = []) => { | |
let rules: Rule[] = [] |
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/env bash | |
exec -a "magic" magick convert "$@" |
original idea: https://efcl.info/2023/01/31/remove-secret-from-local/
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
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
) | |
func main() { |
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
const http = require('http') | |
const express = require('express') | |
const app = express() | |
app.get('/', (req, res) => { | |
res.setHeader('Content-Type', 'text/html') | |
res.setHeader('Transfer-Encoding', 'chunked'); | |
res.send(`<html><body><h1>Hello World</h1> | |
<ul id="list"></ul> | |
<script> |
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 | |
ROOT_DIR=$(git rev-parse --show-toplevel) | |
if [ -z "$ROOT_DIR" ]; then | |
echo "Not a git repository" | |
exit 1 | |
fi | |
if [[ "$PWD" == "$ROOT_DIR" ]]; then | |
exit 0 |
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
[ 2405.845251] usb 3-9.2: new full-speed USB device number 11 using xhci_hcd | |
[ 2405.949108] usb 3-9.2: New USB device found, idVendor=046d, idProduct=0ab1, bcdDevice= 4.0a | |
[ 2405.949130] usb 3-9.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | |
[ 2405.949139] usb 3-9.2: Product: Yeti Nano | |
[ 2405.949145] usb 3-9.2: Manufacturer: Blue Microphones | |
[ 2405.949150] usb 3-9.2: SerialNumber: XXXXXXXXXXXXXX | |
[ 2406.047668] input: Blue Microphones Yeti Nano Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.2/3-9.2:1.3/0003:046D:0AB1.000F/input/input45 | |
[ 2406.099300] input: Blue Microphones Yeti Nano as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.2/3-9.2:1.3/0003:046D:0AB1.000F/input/input46 | |
[ 2406.099531] hid-generic 0003:046D:0AB1.000F: input,hiddev99,hidraw7: USB HID v1.11 Device [Blue Microphones Yeti Nano] on usb-0000:00:14.0-9.2/input3 | |
[ 2406.180739] usb 3-9.2: Not enough bandwidth for new device state. |
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
Dec 02 10:04:32 monicle systemd-coredump[29377]: [🡕] Process 29372 (uim-xim) of user 1000 dumped core. | |
Stack trace of thread 29372: | |
#0 0x00007fbf105948b4 XwcTextExtents (libX11.so.6 + 0x5d8b4) | |
#1 0x000055d9974167fe n/a (uim-xim + 0xb7fe) | |
#2 0x000055d997416a0c n/a (uim-xim + 0xba0c) | |
#3 0x000055d997416acb n/a (uim-xim + 0xbacb) | |
#4 0x000055d997416bbd n/a (uim-xim + 0xbbbd) | |
#5 0x00007fbf10685bea n/a (libuim.so.8 + 0xbbea) | |
#6 0x00007fbf106a2674 n/a (libuim-scm.so.0 + 0xd674) |
NewerOlder