Skip to content

Instantly share code, notes, and snippets.

@vinhjaxt
vinhjaxt / Gõ tiếng việt fcitx cho Viber.md
Last active February 22, 2025 01:51
Gõ tiếng việt fcitx cho Viber

Gõ tiếng việt fcitx cho Viber

# https://docs.appimage.org/packaging-guide/manual.html
sudo apt install -y patchelf chrpath

./viber.AppImage --appimage-extract
cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so ./squashfs-root/plugins/platforminputcontexts

patchelf --set-rpath '$ORIGIN/../../lib' ./squashfs-root/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
# chrpath -r '$ORIGIN/../../lib' ./squashfs-root/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
@ruanbekker
ruanbekker / tree_style_tab_firefox.md
Created November 28, 2019 06:18
Hide Native Tabs with Tree Style Tabs for Firefox
@tanpengsccd
tanpengsccd / speederClient.service
Last active April 16, 2023 09:32
udp2raw.service & speeder.service
[Unit]
Description=speeder service
After=syslog.target network.target auditd.service
[Service]
Type=notify
NotifyAccess=all
User=root
ExecStart=/usr/local/bin/speederv2_amd64 -c -l0.0.0.0:34000 -r47.74.239.218:34002 -f2:18 --timeout 0
ExecReload=/bin/kill -HUP
ExecStop=/bin/kill -s QUIT PrivateTmp=true
@physacco
physacco / README.md
Last active December 8, 2024 07:48
Python 3 extension example

Python 3 extension example

Build

python3 setup.py build

Output: build/lib.macosx-10.11-x86_64-3.5/hello.cpython-35m-darwin.so

Run