til
Small pieces of wisdom I acquire every day
View the effective tsconfig of the TypeScript compiler (5 Jan 2019)
There is an "unknown" type in TypeScript (5 Jan 2019)
ssh-keygen can remove entries from known_hosts (4 Jan 2019)
There is a lookup type in TypeScript (3 Jan 2019)
Always import lodash with lodash/<fn name> (2 Jan 2019)
See brew dependencies in a tree (10 Sep 2018)
document.body is not accessible from scripts in the head element (10 Sep 2018)
Use VisibleForTesting to mark methods used only by tests (7 Sep 2018)
There is a SourceMap HTTP header (7 Sep 2018)
Nest wildcards when matching file names (7 Sep 2018)
Automatically highlight all search matches in Firefox (7 Sep 2018)
Use the Clear-Site-Data HTTP header to clear browsing data (2 Sep 2018)
Match all files except specific ones in zsh (31 Aug 2018)
Match elements with no siblings using a CSS selector (30 Aug 2018)
Find the ratio between physical and device-independent pixels (30 Aug 2018)
Call a function during a browser's idle periods (30 Aug 2018)
Numeric Java streams provide summary statistics (29 Aug 2018)
See what depends on a formula in Homebrew (23 Mar 2018)
Ruby blocks can be curried (20 Mar 2018)
nginx has a macro-only queue implementation (20 Mar 2018)
nginx uses bitwise operations for HTTP method parsing (19 Mar 2018)
Programmatically get boot time on macOS (17 Mar 2018)
See the commands to be run by make (16 Mar 2018)
Allow only one version of a package in yarn (16 Mar 2018)
Speed up OS install USB creation by using unbuffered I/O on macOS (15 Mar 2018)
Show only major/minor/patch versions in bundle outdated (15 Mar 2018)
Find slowest RSpec tests (14 Mar 2018)
Find CRLF line endings with a regex (14 Mar 2018)
Object#try accepts blocks (13 Mar 2018)
Change ownership when copying files in Docker (3 Oct 2017)
View network interface stats on FreeBSD (22 Sep 2017)
Mirror a git repository (15 Sep 2017)
Some browsers replace the error pages if their length is below a certain threshold (24 Aug 2017)
Logout another macOS user from the console (19 Aug 2017)
Use an alternative separator for sed (18 Aug 2017)
Define focused specs in Jasmine (18 Aug 2017)
Navigate in the zsh directory stack (6 Feb 2017)
Create a .ruby-version file with RVM (24 Jan 2017)
Set operations in Haskell (11 Jan 2017)
Touching files without touch (9 Jan 2017)
Find or replace a substring with String#[]/String#[]= (17 Aug 2016)
Sort "human-readable" sizes in bash (16 Aug 2016)
Cancel requestAnimationFrame() (15 Aug 2016)
Get directory of current script in Python (11 Jun 2016)
Kill a process group in node (22 Feb 2016)
Mock require in Node (19 Feb 2016)
Destructing assignment in JavaScript (18 Feb 2016)
Locally ignore a file from git index (17 Feb 2016)
Find duplicate code with jscpd (16 Feb 2016)
Use a mock clock in Jasmine (15 Feb 2016)
Generate an UUID in bash (12 Feb 2016)
Catching signals in bash (12 Feb 2016)
Set time limit for a MongoDB query (10 Feb 2016)
Send terminal notifications on OS X (9 Feb 2016)