Skip to content

Instantly share code, notes, and snippets.

Nolan Lawson nolanlawson

Block or report user

Report or block nolanlawson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nolanlawson /
Last active Jun 19, 2019
Test chromedriver heap snapshot



  1. Download chromedriver, extract the binary as chromedriver to the current directory
  2. Run pip install -r requirements.txt
  3. Run python
  4. Try to load the snap.heapsnapshot file into Chrome Dev Tool's Memory tool (Memory -> Load)
nolanlawson /
Created Apr 13, 2019
Testing special characters in OG cards: "Pokémon" – nü mëtäl 'hello'

"Pokémon" – nü mëtäl 'hello'

nolanlawson / index.html
Created Mar 20, 2019
Repro Firefox scroll bug
View index.html
<html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta id="theThemeColor" name="theme-color" content="#4169e1">
<meta name="description" content="An alternative web client for Mastodon, focused on speed and simplicity.">
<base href="/">
<link id="theManifest" rel="manifest" href="/manifest.json">
<link id="theFavicon" rel="icon" type="image/png" href="/favicon.png">
nolanlawson / App.html
Last active Mar 3, 2019
test rollup with static HTML
View App.html
<div class="shortcut-help-info {inDialog ? 'in-dialog' : ''}">
<div class="hotkey-group">
<li><kbd>c</kbd> to compose a new toot</li>
<li><kbd>s</kbd> to search</li>
<li><kbd>1</kbd> - <kbd>6</kbd> to switch columns</li>
<li><kbd>g</kbd> + <kbd>h</kbd> to go home</li>
<li><kbd>g</kbd> + <kbd>n</kbd> to go to notifications</li>
nolanlawson / .gitignore
Created Mar 2, 2019
Test promise-worker with Webpack 4
nolanlawson /
Created Feb 14, 2019
create quick links for a blog post
nolanlawson / index.html
Last active Nov 28, 2018
Repro Firefox NVDA crash
View index.html
<!DOCTYPE html>
<html lang="en">
body {
margin: 0;
font-family: system-ui,-apple-system,PinaforeRegular,sans-serif;
font-size: 14px;
nolanlawson /
Created Nov 22, 2018
Getting Realtek rtl8822bu wifi driver working on Ubuntu 18.04

Getting Realtek rtl8822bu wifi driver working on Ubuntu 18.04

Using this PR and instructions for dkms here:

sudo apt install -y dkms
git clone --branch linux-4.15-fix
sudo cp -r rtl8822bu /usr/src/8822bu
sudo dkms add -m 8822bu -v 1.1
sudo dkms build -m 8822bu -v 1.1
nolanlawson / index.html
Created Nov 10, 2018
dot versus argument bracket versus bracket benchmark
View index.html
<title>dot versus bracket access</title>
<h1>dot versus bracket access</h1>
<pre id="display"></pre>
nolanlawson /
Last active Sep 2, 2018
Repro webpack-bundle-analyzer with workerize-loader


npx webpack
You can’t perform that action at this time.