Skip to content

Instantly share code, notes, and snippets.

View heapwolf's full-sized avatar
🕷️
Vault of the Black Spiders

heapwolf heapwolf

🕷️
Vault of the Black Spiders
View GitHub Profile
src/unix/stream.c:743: uv__write_req_update: Assertion `n <= stream->write_queue_size' failed.
#
# clean up any existing artifacts
#
rm -rf build/dist
mkdir -p build/dist >/dev/null 2>&1
#
# compile a module
#
clang++ -std=c++2a \
# Fuck off with all the dock animations
defaults write com.apple.dock autohide-time-modifier -int 0
defaults write com.apple.dock autohide-delay -float 0
killall Dock
@heapwolf
heapwolf / iterify.md
Created February 1, 2021 08:06
iterify

Convert aws api calls that require continuation tokens into simple iterators.

const iterify = ({ client, method, params, hint, token }) => {
  let finished = false
  const values = []

  return {
    [Symbol.asyncIterator] () {
      return this

DEBUG OUTPUT FROM U1

  • Started app
  • Created identity
  • Created request
2020-05-24T14:36:34.598Z peerlinks:protocol [1c051a9d] generating encryption key...
2020-05-24T14:36:35.102Z peerlinks:protocol [1c051a9d] created
2020-05-24T14:36:35.102Z peerlinks:protocol [1c051a9d] generated encryption key
2020-05-24T14:36:54.316Z peerlinks:cache [3efb842f] hasMessage() miss
CLI 1
Start the app
Create an identity, create a channel
```
/id u1
/create ch1
```
This file has been truncated, but you can view the full file.
SSDT @ 0x0000000000000000
0000: 53 53 44 54 EF 66 00 00 02 AE 49 4E 54 45 4C 20 SSDT.f....INTEL
0010: 54 63 73 73 53 73 64 74 00 10 00 00 49 4E 54 4C TcssSsdt....INTL
0020: 03 10 18 20 A0 43 1B 00 15 5C 2E 5F 53 42 5F 50 ... .C...\._SB_P
0030: 43 49 30 06 00 15 5C 2E 5F 53 42 5F 50 43 49 31 CI0...\._SB_PCI1
0040: 06 00 15 5C 47 50 52 57 08 02 15 5C 45 43 52 31 ...\GPRW...\ECR1
0050: 00 00 15 5C 43 50 45 58 00 00 15 5C 41 44 42 47 ...\CPEX...\ADBG
0060: 08 01 15 5C 2F 03 5F 53 42 5F 50 43 49 30 47 4D ...\/._SB_PCI0GM
0070: 48 42 08 00 15 5C 50 43 49 43 08 01 15 5C 50 43 HB...\PCIC...\PC
0080: 49 44 08 04 15 5C 58 44 41 54 08 00 15 5C 54 43 ID...\XDAT...\TC
[ 3.619553] Bluetooth: Core ver 2.22
[ 3.619565] Bluetooth: HCI device and connection manager initialized
[ 3.619567] Bluetooth: HCI socket layer initialized
[ 3.619569] Bluetooth: L2CAP socket layer initialized
[ 3.619572] Bluetooth: SCO socket layer initialized
[ 3.735441] Bluetooth: HCI UART driver ver 2.3
[ 3.735443] Bluetooth: HCI UART protocol H4 registered
[ 3.735443] Bluetooth: HCI UART protocol BCSP registered
[ 3.735453] Bluetooth: HCI UART protocol LL registered
[ 3.736308] Bluetooth: HCI UART protocol ATH3K registered
Jun 06 22:22:40 ghost blueman.desktop[1029]: ERROR:dbus.proxies:Introspect error on org.blueman.Mechanism:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.blueman.Mechanism was not provided by any .service files
Jun 06 22:22:40 ghost blueman.desktop[1029]: AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'
Jun 06 22:22:40 ghost blueman.desktop[1029]: self.root_window_id = "0x%x" % Gdk.Screen.get_default().get_root_window().get_xid()
Jun 06 22:22:40 ghost blueman.desktop[1029]: File "/usr/lib/python3.7/site-packages/blueman/plugins/applet/GameControllerWakelock.py", line 23, in on_load
Jun 06 22:22:40 ghost blueman.desktop[1029]: self.on_load(parent)
Jun 06 22:22:40 ghost blueman.desktop[1029]: File "/usr/lib/python3.7/site-packages/blueman/plugins/BasePlugin.py", line 54, in _load
Jun 06 22:22:40 ghost blueman.desktop[1029]: Traceback (most recent call last):
sudo modprobe -r brcmfmac
sudo modprobe brcmfmac
rfkill unblock all