DISTRO | GCC | GLIBC | KERNEL |
---|---|---|---|
Debian 10 | 8.3.0 | 2.28 | 4.19 |
Debian 11 | 10.2.1 | 2.31 | 5.10 |
Debian 12 | 12.2.0 | 2.36 | 6.1 |
Debian 13 | 14.2.0 | 2.40 | 6.12 |
Ubuntu 18.04 | 7.5.0 | 2.27 | 4.15 |
Ubuntu 20.04 | 9.3.0 | 2.31 | 5.4 |
Ubuntu 22.04 | 12.2.0 | 2.35 | 5.15 |
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 re | |
import sys | |
from cffi import FFI | |
ffi = FFI() | |
ffi.cdef(""" | |
typedef uint8_t bool8_t; |
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
RF 433MHz | |
========= | |
RCSwtich | |
pulse length 500us | |
On: 9867397 | |
Off: 9867393 | |
Min: 9867398 | |
Max: 9867395 |
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
#!/usr/bin/env python | |
import pickle | |
from CaChannel import ca, CaChannel | |
chan = CaChannel('MTEST:OBJECT') | |
chan.searchw() | |
a = chan.getw(ca.DBR_STRING) | |
pvdb = pickle.loads(a) |
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
from CaChannel import CaChannel | |
names = [] | |
for i in range(1, 17): | |
for s in ('F', 'B'): | |
for j in range(1, 4): | |
names.append('S%d%s:TEMP:TEMP%02d' % (i, s, j)) | |
names.append('S%d%s:RH' % (i, s)) | |
# create the PVs |
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
#include "cadef.h" | |
int main(int argc, char **argv) | |
{ | |
CA_SYNC_GID gid; | |
chanId chid; | |
double value; | |
int status; | |
// preemptive disabled, no hang up |
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
Skip to content | |
All gists | |
GitHub | |
0 | |
@xiaoqiangwang xiaoqiangwang/devDxp diff Secret | |
Created 13 seconds ago |
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
#include <stdlib.h> | |
#include <iostream> | |
#include <vector> | |
#include <list> | |
#include "wseswrappermain.h" | |
#include "werror.h" | |
int main(int argc, char **argv) | |
{ | |
if (argc != 3) { |