Skip to content

Instantly share code, notes, and snippets.

all of a sudden the wifi icon in the menubar went to "off"; half a minute later it went back on.
macbook air mid 2013, el capitan
i didn't do anything, i swear!
Jun 25 18:46:56 venice2 kernel[0]: ARPT: 184526.658871: wlc_dump_aggfifo:
Jun 25 18:46:56 venice2 kernel[0]: ARPT: 184526.658897: framerdy 0x0 bmccmd 1 framecnt 1024
Jun 25 18:46:56 venice2 kernel[0]: ARPT: 184526.658930: AQM agg params 0xfef maxlen hi/lo 0x0 0x66fc minlen 0x14 adjlen 0x8
Jun 25 18:46:56 venice2 kernel[0]: ARPT: 184526.658979: AQM agg results 0x8082 len hi/lo: 0x0 0x103 BAbitmap(0-3) 0 0 0 0
@mengwong
mengwong / numberHeaders
Last active December 31, 2023 15:52
number headers in Google Docs
// PROBLEM: in Google Documents, sometimes you want numbered headings, but the UI makes you a new list each time.
// INSIGHT: it's possible, but you have to script it.
// SOLUTION: this script adds OL+LI to Hs, all using the same listID
// DOWNLOAD: get the latest version of this gist from https://gist.github.com/mengwong/f597d064366f555b5f4e
// INSTALL: Go to Tools / Editor. Paste this in. Hit save. You can run it by pressing the "play" button, or from the Add-Ons menu.
//
// USAGE:
// REQUIRED: Define all your headings as actual headings and not just big bold Normal. Come on, people, learn to use paragraph styles already.
// OPTIONAL: Manually make the first H1 in the document a numbered list. We'll use that as a reference heading for all the others.
// OPTIONAL: Manually set the list style to "Decimal Outline" (the style that has 1.1.2 type numbering) ... I like this best.

Keybase proof

I hereby claim:

  • I am mengwong on github.
  • I am mengwong (https://keybase.io/mengwong) on keybase.
  • I have a public key whose fingerprint is 579A F9D9 5A71 A8BD 5540 2223 66E6 2E50 5A83 DCB4

To claim this, I am signing this object: