Georgi Hristozov
Blog
Music
About
Blog
TIL: Use = as a shortcut for which in zsh
Lessons learned after 4 years working on a BigProduct at a BigCorp
Book review: Effective Software Testing
Book review: Software Mistakes and Tradeoffs
Book review: CSS in Depth
Book review: Own Your Tech Career
TIL: Backing up a running Raspberry Pi remotely
Some things I (still) don't know
Book review: The Joy of JavaScript
TIL: Custom prefixes for GNU automake configure scripts using config.site
TIL: Angular: providedIn makes singleton services tree-shakeable
The power of hermetic builds
TIL: Show the AS number in traceroute
TIL: Leave only a specific directory in git history
TIL: Keep the Bazel server alive between Jenkins builds
TIL: Compare Bazel execlogs to find non-deterministic parts of the build
TIL: The Bazel ZIP tooling uses fixed timestamps for build reproducibility
TIL: Use $LINENO to get the current line number in a bash script
TIL: Angular calls ngOnInit only on components which have it build-time
TIL: Use the Omit helper type to drop properties from a type
TIL: Construct script-relative paths in bash
Achieving 100% MC/DC coverage
TIL: View the effective tsconfig of the TypeScript compiler
TIL: There is an "unknown" type in TypeScript
TIL: ssh-keygen can remove entries from known_hosts
TIL: There is a lookup type in TypeScript
TIL: Always import lodash with lodash/<fn name>
When semantic versioning is bad
TIL: See brew dependencies in a tree
TIL: document.body is not accessible from scripts in the head element
TIL: Use VisibleForTesting to mark methods used only by tests
TIL: There is a SourceMap HTTP header
TIL: Nest wildcards when matching file names
TIL: Automatically highlight all search matches in Firefox
TIL: Use the Clear-Site-Data HTTP header to clear browsing data
TIL: Match all files except specific ones in zsh
TIL: Match elements with no siblings using a CSS selector
TIL: Find the ratio between physical and device-independent pixels
TIL: Call a function during a browser's idle periods
TIL: Numeric Java streams provide summary statistics
TIL: See what depends on a formula in Homebrew
TIL: Ruby blocks can be curried
TIL: nginx has a macro-only queue implementation
TIL: nginx uses bitwise operations for HTTP method parsing
TIL: Programmatically get boot time on macOS
TIL: See the commands to be run by make
TIL: Allow only one version of a package in yarn
TIL: Speed up OS install USB creation by using unbuffered I/O on macOS
TIL: Show only major/minor/patch versions in bundle outdated
TIL: Find slowest RSpec tests
TIL: Find CRLF line endings with a regex
TIL: Object#try accepts blocks
TIL: Change ownership when copying files in Docker
TIL: View network interface stats on FreeBSD
TIL: Mirror a git repository
TIL: Some browsers replace the error pages if their length is below a certain threshold
TIL: Logout another macOS user from the console
TIL: Use an alternative separator for sed
TIL: Define focused specs in Jasmine
TIL: Navigate in the zsh directory stack
TIL: Create a .ruby-version file with RVM
TIL: Set operations in Haskell
TIL: Touching files without touch
TIL: Find or replace a substring with String#[]/String#[]=
TIL: Sort "human-readable" sizes in bash
TIL: Cancel requestAnimationFrame()
TIL: Get directory of current script in Python
TIL: Kill a process group in node
TIL: Mock require in Node
TIL: Destructing assignment in JavaScript
TIL: Locally ignore a file from git index
TIL: Find duplicate code with jscpd
TIL: Use a mock clock in Jasmine
TIL: Generate an UUID in bash
TIL: Catching signals in bash
TIL: Set time limit for a MongoDB query
TIL: Send terminal notifications on OS X
Increasing the number of shared port workers in HTCondor
Playing with Trello using jq
Today I learned: Do not create MongoDB replica sets with even number of nodes