Skip to content

Instantly share code, notes, and snippets.

@physacco
physacco / README.md
Last active December 27, 2023 09:05
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

@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
@ruanbekker
ruanbekker / tree_style_tab_firefox.md
Created November 28, 2019 06:18
Hide Native Tabs with Tree Style Tabs for Firefox