Skip to content

Instantly share code, notes, and snippets.

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 0.000000] Linux version 6.16.5-mnt-reform-arm64 ([email protected]) (aarch64-linux-gnu-gcc-14 (Debian 14.3.0-7) 14.3.0, GNU ld (GNU Binutils for Debian) 2.45) #1 SMP PREEMPT Debian 6.16.5-1+reform20250910T145641Z (2025-09-1
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: MNT Pocket Reform with RCORE RK3588 Module
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x000000000010f000..0x000000000010f0ff (0 KiB) nomap non-reusable shmem@10f000
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000007ffffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x7fbfc0440-0x7fbfc3bbf]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x00000000ffffffff]
jordi@ThinkSpoon:~/Downloads$ ./sigrok-cli-NIGHTLY-x86_64.AppImage -d korad-kaxxxxp:conn=/dev/ttyACM0 --scan -l 5
sr: [00:00.000001] log: libsigrok loglevel set to 5.
sr: [00:00.001406] backend: libsigrok 0.6.0-git-3f48ab0/4:0:0.
sr: [00:00.001497] backend: Libs: glib 2.48.2 (rt: 2.62.4/6204:4), libzip 1.0.1, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.23.11397 API 0x01000104, hidapi 0.8.0-rc1, bluez 5.37, libftdi 1.2.
sr: [00:00.001505] backend: Host: x86_64-pc-linux-gnu, little-endian.
sr: [00:00.001509] backend: SCPI backends: TCP, RPC, serial, USBTMC.
sr: [00:00.001511] backend: Firmware search paths:
sr: [00:00.001524] backend: - /root/.local/share/sigrok-firmware
sr: [00:00.001526] backend: - /home/jenkins_slave/sr/share/sigrok-firmware
sr: [00:00.001528] backend: - /tmp/.mount_sigrok5z2EPG/usr/share/sigrok-firmware
@kxtells
kxtells / gettargetdrug_example
Created November 29, 2012 21:32
KEGG get target from drug
#!/usr/bin/python
import urllib2
from HTMLParser import HTMLParser
def getPage(drugId):
url = "http://www.genome.jp/dbget-bin/get_linkdb?-t+8+dr:"+drugId
req = urllib2.Request(url)
response = urllib2.urlopen(req)
return response.read()
@kxtells
kxtells / cSpinner.py
Created July 20, 2012 20:35
Rotating Stick Class for Python
import sys
import threading
import time
class cSpinner(threading.Thread):
"""
Print things to one line dynamically
"""
chars = ["\\","|","/","-"]
index = 0