Skip to content

Instantly share code, notes, and snippets.

@prichey
prichey / bundleDiff.js
Last active April 11, 2024 19:32
Next bundle diff
// Copy / paste `next build` output below for the two builds you want to compare. Output:
//
// Route First load JS
// / 1.2 MB -> 1.21 MB (+10.24 kB)
// /_app 607 kB -> 302 kB (-305.00 kB)
// [...]
// /verticals/[specifier] 1.14 MB -> 1.15 MB (+10.24 kB)
const oldStats = `
λ / 2.81 kB 1.2 MB
@prichey
prichey / wordle-words.txt
Last active March 30, 2022 08:15
All allowed words (both answers and allowed non-answers), extracted from Wordle source. Derived from https://gist.github.com/cfreshman/dec102adb5e60a8299857cbf78f6cf57
aahed
aalii
aargh
aarti
abaca
abaci
aback
abacs
abaft
abaka
yarn run v1.7.0
$ react-native run-ios --simulator="iPhone 8"
Scanning folders for symlinks in /Users/prichey/pl/audubon/node_modules (17ms)
Found Xcode workspace audubon.xcworkspace
Building using "xcodebuild -workspace audubon.xcworkspace -configuration Debug -scheme audubon -destination id=705E1EEE-D57D-4298-8026-76967CFB83D6 -derivedDataPath build"
User defaults from command line:
IDEDerivedDataPathOverride = /Users/prichey/pl/audubon/ios/build
root@prichey:~# sudo su -
root@prichey:~# apt-get install dokku=0.10.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-63 linux-headers-4.4.0-63-generic linux-headers-4.4.0-66 linux-headers-4.4.0-66-generic linux-headers-4.4.0-70
linux-headers-4.4.0-70-generic linux-headers-4.4.0-71 linux-headers-4.4.0-71-generic linux-headers-4.4.0-72 linux-headers-4.4.0-72-generic

Downgrade

root@prichey:~# sudo apt-get install dokku=0.10.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
dokku is already the newest version (0.10.5).
root@prichey:~# dokku report
-----> uname: Linux prichey 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 2000 837 134 33 1028 821
Swap: 0 0 0
-----> docker version:
Client:
Version: 1.13.1
API version: 1.26
root@prichey:~# dokku report
-----> uname: Linux prichey 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 2000 830 101 33 1068 809
Swap: 0 0 0
-----> docker version:
Client:
Version: 1.13.1
API version: 1.26
@prichey
prichey / report.txt
Created January 17, 2018 05:37
dokku report
root@prichey:~# dokku report
-----> uname: Linux prichey 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 2000 817 121 12 1061 919
Swap: 0 0 0
-----> docker version:
Client:
Version: 1.13.1
API version: 1.26