Skip to content

Instantly share code, notes, and snippets.

flame@equinox glucometerutils % sudo python3 ./glucometer.py --driver freestyle_optium --device /dev/ttyUSB0 info
Freestyle Optium glucometer
Serial number: XEMS300-P0D1E
Software version: 0.22
Time: 2016-02-07 11:22:09
Default unit: mmol/L
@Flameeyes
Flameeyes / actual-input-and-output
Last active February 12, 2016 22:17
Verio (2015) register communication
5 >> 00000000 04 01 00 |...|
5 << 00000000 03 06 01 |...|
3 >> 00000000 04 e6 02 00 |....|
3 << 00000000 04 06 58 00 42 00 47 00 53 00 52 00 4a 00 52 00 |..X.B.G.S.R.J.R.|
3 << 00000010 35 00 00 00 |5...|
3 >> 00000000 04 e6 02 01 |....|
[ 2592.824081] [drm] stuck on render ring
[ 2592.824756] [drm] GPU HANG: ecode 7:0:0x85fffff8, in kwin_x11 [7452], reason: Ring hung, action: reset
[ 2592.826356] drm/i915: Resetting chip after gpu hang
[ 2624.820515] [drm] stuck on render ring
[ 2624.821322] [drm] GPU HANG: ecode 7:0:0x85fffff8, in kwin_x11 [7452], reason: Ring hung, action: reset
[ 2624.821514] ------------[ cut here ]------------
[ 2624.821526] WARNING: CPU: 0 PID: 49 at drivers/gpu/drm/i915/intel_display.c:11384 intel_mmio_flip_work_func+0x44d/0x480
[ 2624.821529] WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, ((void *)0), &mmio_flip->i915->rps.mmioflips))
[ 2624.821532] Modules linked in:
[ 2624.821535] cmac ecb rtsx_usb_sdmmc mmc_core btusb btintel iwldvm bluetooth iwlwifi input_leds int3403_thermal int3400_thermal int3402_thermal asus_wireless int340x_thermal_zone acpi_thermal_rel efivarfs

Remote GPG Agent strangeness

Setup

In ssh_config:

Host myremotehost
RemoteForward /home/user/.gnupg/S.gpg-agent /home/user/.gnupg/S.gpg-agent
StreamLocalBindUnlink yes

ForwardX11 no

$(function(){"use strict";$("body").on('submit','form[data-asynctask]',function(e){e.preventDefault();if($(this).data('ajaxing')){return;}
$(this).data('ajaxing',true);waitingDialog.show(gettext('We are processing your request …'));$.ajax({'type':'POST','url':$(this).attr('action'),'data':$(this).serialize()+'&ajax=1','success':async_task_callback,'error':async_task_error,'context':this,'dataType':'json'});});});var cart={_deadline:null,_deadline_interval:null,draw_deadline:function(){var diff=Math.floor(cart._deadline.diff(moment())/1000/60);if(diff<0){$("#cart-deadline").text(django.gettext("The items in your cart are no longer reserved for you."));window.clearInterval(cart._deadline_interval);}else{$("#cart-deadline").text(django.ngettext("The items in your cart are reserved for you for one minute.","The items in your cart are reserved for you for {num} minutes.",diff).replace(/\{num\}/g,diff));}},init:function(){"use strict";cart._deadline=moment($("#cart-deadline").attr("data-expires"));cart._deadline_in
# CE Single SKU Max Power Table
# |CCK 1~11 | | OFDM 6 ~ 54 | | HT20 MCS 0 ~ 15 | | HT40 MCS 0 ~ 15 |
ch1 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch2 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch3 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch4 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch5 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch6 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
ch7 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 1
2332646 0x2397E6 Copyright string: "Copyright (c) 1994 - 2004 ZyXEL Communications Corp."
2332699 0x23981B Copyright string: "Copyright (c) 2001 - 2006 TrendChip Technologies Corp."
2332754 0x239852 Copyright string: "Copyright (c) 2001 - 2006 "
[15127.976978] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
[15128.073225] usb 4-2: New USB device found, idVendor=2109, idProduct=0813
[15128.073234] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[15128.073239] usb 4-2: Product: USB3.0 Hub
[15128.073243] usb 4-2: Manufacturer: VIA Labs, Inc.
[15128.076469] hub 4-2:1.0: USB hub found
[15128.076761] hub 4-2:1.0: 4 ports detected
[15128.757922] usb 3-2: new high-speed USB device number 3 using xhci_hcd
[15128.931385] usb 3-2: New USB device found, idVendor=2109, idProduct=2813
[15128.931394] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
@Flameeyes
Flameeyes / gist:1e70d3e0682f517806de296ef6427fde
Created March 28, 2017 23:51
Microsoft Transceiver Finnicky
[ 203.619003] usb 2-1.4: clear tt 1 (0070) error -71
[ 203.626154] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.630369] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.634619] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.638868] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.643159] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.643164] usb 2-1.4-port1: Cannot enable. Maybe the USB cable is bad?
[ 203.647385] usb 2-1.4-port1: cannot disable (err = -71)
[ 203.651617] usb 2-1.4-port1: cannot reset (err = -71)
[ 203.655904] usb 2-1.4-port1: cannot reset (err = -71)
@Flameeyes
Flameeyes / gist:f7de1de18766b1d8a81ff847e02c7344
Created August 16, 2017 18:28
NewsBlur request missing caching
--6190ee48-A--
[16/Aug/2017:18:26:34 +0000] WZSOWX8AAAEAAH2UpvMAAAAI 159.203.182.156 38296 10.2.20.155 443
--6190ee48-B--
GET /index.xml HTTP/1.1
Host: blog.flameeyes.eu
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: application/atom+xml, application/rss+xml, application/xml;q=0.8, text/xml;q=0.6, */*;q=0.2
User-Agent: NewsBlur Feed Fetcher - 59 subscribers - http://www.newsblur.com/site/195958/flameeyess-weblog (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36)
A-IM: feed