python3 setup.py build
Output: build/lib.macosx-10.11-x86_64-3.5/hello.cpython-35m-darwin.so
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <memory.h> | |
| #include <linux/types.h> | |
| #include <linux/netlink.h> | |
| #include <linux/rtnetlink.h> | |
| struct nl_req_s { |
| sudo apt-get install git g++ gcc automake autoconf libtool make gcc libc-dev libssl-dev pkg-config libtasn1-6-dev libjson-glib-dev expect gawk socat libseccomp-dev -y | |
| cd ~ | |
| git clone https://github.com/stefanberger/swtpm.git | |
| git clone https://github.com/stefanberger/libtpms.git | |
| cd libtpms | |
| ./autogen.sh --prefix=/usr --with-tpm2 --with-openssl | |
| make | |
| sudo make install | |
| cd ../swtpm | |
| ./autogen.sh --prefix=/usr |
| #include "list.h" | |
| #include "stdlib.h" | |
| #include "stdio.h" | |
| #include "stddef.h" | |
| typedef struct component { | |
| int id; | |
| // This is used to link components together in their list | |
| struct list_head list_node; |
| // ==UserScript== | |
| // @name 百度文心一言去水印 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.8 | |
| // @description 去文心一言水印、去星火水印。去天工水印。去chatGLM水印。去通义千问水印、去超时弹窗、去AI画图水印。CSDN-C知道去水印,去提问限制。 | |
| // @author 夜雨 | |
| // @match *://yiyan.baidu.com/* | |
| // @match *://so.csdn.net/so/search* | |
| // @match *://xinghuo.xfyun.cn/* | |
| // @match *://neice.tiangong.cn/* |