python3 setup.py build
Output: build/lib.macosx-10.11-x86_64-3.5/hello.cpython-35m-darwin.so
[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 |
AddOn:
chrome/userChrome.css
in your profile directory: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