Articles tagged with “TIL” (17 articles)
How to open Firefox Developer Edition from the command line on Mac OS
Posted onFind out how you can open Firefox Developer Edition from your command line on Mac OS
How to catch errors as soon as they occur in bash scripts
Posted onA quick tip to let you fail fast a bash script as soon as errors occur.
Today I learned: How to assert the new active element after Tab keydown event in Jest
Posted onFind out how to make your Jest test, that uses Tab keydown to move the focus, to pass.
How to use git worktree and in a clean way
Posted onDiscover git worktree, this git feature you wish you would have discovered years before and how to use it in a clean way
How to disable a variable font's variation features with open source tools
Posted onStep-by-step guide to strip variation features off of a variable font
How do browsers process the @font-face src descriptor list
Posted onA reference note to know how browsers do process the comma-separated list specified in the @font-face src descriptor
Today I learned: How to encode/decode base64 string from the command line
Posted onLearn how you can encode and decode strings to or from base64 string, right from the command line.
Today I learned: How to "include" a link inside a form input label
Posted onLearn how to markup a form input label with a link in a accessible manner
Today I learned: How to match a portion of text that spans over multiple lines with a Javascript regular expression
Posted onDiscover a magic set of tokens that will help you match a multi-lined portion of text in Javascript
Today I learned: How to suspend Vim temporarily, run some commands, and go back
Posted onEver wanted to quickly get out of Vim to run some commands and jump back into it and resume where you left it? This post is for you.
Today I learned: How to log a Javascript object with indentation to the console
Posted onFind out how to console Javascript objects in a more readable form using JSON.stringify and its versatile space argument.
Today I learned: How to delete until the beginning of the line including the cursor in Vim
Posted onLearn about vim exclusive character motions and how to turn them into inclusive motions
Today I learned: How to show current buffer's path in Vim's normal mode
Posted onLearn the Vim shortcut to reveal the current buffer's path in the command line from normal mode.
Today I learned: How to style a <fieldset>'s <legend> element as display inline
Posted onLearn how to work around the dodginess of HTML <legend> tag to make it behave as it would be `display: inline` or `display: inline-block`.
How to repurpose a 2006 Macbook into a Linux laptop
Posted onLearn how to install Lubuntu 16.04 on a 2006 Macbook.
Today I learned: How to tailor my `npm init` experience
Posted onLearn how to customize your `npm init` experience by creating a .npm-init.js file.
Today I learned: HTML input checkbox can have an indeterminate state
Posted onSpotlight on little-known indeterminate state of HTML input checkbox.