USBHID Notes for Rapoo VT0Pro Mouse
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
Jul 19 15:58:28 orac systemd[8114]: Starting GNOME Shell on Wayland... | |
Jul 19 15:58:28 orac gnome-shell[691728]: Running GNOME Shell (using mutter 42.2) as a Wayland display server | |
Jul 19 15:58:28 orac gnome-shell[691728]: Device '/dev/dri/card0' prefers shadow buffer | |
Jul 19 15:58:28 orac gnome-shell[691728]: Added device '/dev/dri/card0' (i915) using atomic mode setting. | |
Jul 19 15:58:28 orac gnome-shell[691728]: Enabling experimental feature 'scale-monitor-framebuffer' | |
Jul 19 15:58:28 orac gnome-shell[691728]: Created gbm renderer for '/dev/dri/card0' | |
Jul 19 15:58:28 orac gnome-shell[691728]: Boot VGA GPU /dev/dri/card0 selected as primary | |
Jul 19 15:58:28 orac gnome-shell[691728]: Using public X11 display :0, (using :1 for managed services) | |
Jul 19 15:58:28 orac gnome-shell[691728]: Using Wayland display name 'wayland-0' | |
Jul 19 15:58:28 orac gnome-shell[691728]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly. |
#!/usr/bin/env python3 | |
""" | |
ACEBase Python Client | |
usage: | |
pip3 install websocket-client | |
./acebase-demo-client.py | |
""" |
const { chromium, firefox } = require('playwright'); | |
async function demo() { | |
const type = chromium | |
const browser = await type.launch({ headless: false }) | |
const ctx = await browser.newContext() | |
const page = await ctx.newPage() | |
ctx.tracing.start({ screenshots: true, snapshots: true }) |
(cog:174220): GLib-GIO-DEBUG: 13:41:14.893: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs? | |
(cog:174220): Cog-DEBUG: 13:41:14.895: platform_setup: Platform name: fdo | |
(cog:174220): Cog-DEBUG: 13:41:14.895: platform_setup: Platform plugin: libcogplatform-fdo.so | |
(cog:174220): Cog-FDO-DEBUG: 13:41:14.896: Initializing Wayland... | |
[3466459.834] -> [email protected]_registry(new id wl_registry@2) | |
[3466459.871] -> [email protected](new id wl_callback@3) | |
[3466460.006] [email protected]_id(3) | |
[3466460.033] [email protected](1, "wl_shm", 1) | |
[3466460.054] -> [email protected](1, "wl_shm", 1, new id [unknown]@4) | |
(cog:174220): Cog-FDO-DEBUG: 13:41:14.897: Using 'wl_shm' interface obtained from the Wayland registry. |
name of display: :0 | |
display: :0 screen: 0 | |
direct rendering: Yes | |
server glx vendor string: SGI | |
server glx version string: 1.4 | |
server glx extensions: | |
GLX_ARB_context_flush_control, GLX_ARB_create_context, | |
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, | |
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, | |
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, |
random: Trying to read entropy from /dev/random | |
Configuration file: ./hostapd.conf | |
nl80211: Supported cipher 00-0f-ac:2 | |
nl80211: Supported cipher 00-0f-ac:4 | |
nl80211: Supported cipher 00-0f-ac:6 | |
nl80211: Supported cipher 00-0f-ac:13 | |
nl80211: Supported cipher 00-0f-ac:11 | |
nl80211: Supported cipher 00-0f-ac:12 | |
nl80211: Supported cipher 00-0f-ac:8 | |
nl80211: Supported cipher 00-0f-ac:9 |
/** | |
* gcc -o pty-demo pty-demo.c | |
* pty-demo bash | |
*/ | |
#define _XOPEN_SOURCE 600 /* Single UNIX Specification, Version 3 */ | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <stdio.h> /* for convenience */ |
[2469486,529] [email protected](7657) | |
[2469486,536] -> [email protected]_configure(7657) | |
[2469486,541] [email protected](76940376) | |
[2469486,616] [email protected]_id(11850) | |
...repeats 170 times... | |
[2469487,153] [email protected]_id(11680) | |
[2469489,057] [email protected]() | |
[2469489,078] [email protected](7458) |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
var Article = require('../../../models/article');
Those suck for maintenance and they're ugly.