You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,23 @@ If you hate the npm progress bar like, add this to your `zshrc`:
131
131
export NPM_CONFIG_PROGRESS=false
132
132
```
133
133
134
+
## Speed up node.js
135
+
136
+
node.js has by default 4 thread pools [via libuv](http://docs.libuv.org/en/v1.x/threadpool.html) regardless of how many CPUs you have. If you have more CPUs and depending on what you're running locally, you may find a performance benefit in increasing this number.
137
+
138
+
```zsh
139
+
export UV_THREADPOOL_SIZE=8
140
+
```
141
+
142
+
## vim
143
+
144
+
Homebrew's default version of vim doesn't allowing copying and supports the mouse, which IMO defeats the purpose of vim. Here's a basic `~/.vimrc` to fix that:
145
+
146
+
```vimrc
147
+
set mouse=
148
+
syntax on
149
+
```
150
+
134
151
## thefuck?
135
152
136
153
[thefuck](https://github.com/nvbn/thefuck) is a nifty tool that allows you to fix your previous CLI typos by just typing `fuck`.
0 commit comments