til icon indicating copy to clipboard operation
til copied to clipboard

⌨️ Technical articles; needless words omitted

TIL (Today I Learned)

Technical articles; needless words omitted

This is a collection of short articles about things I've learned. They are too short for my blog.

I stole this idea from jbranchaud/til.

📈 151 posts and counting...


Browsers

  • Block a URL in Chrome DevTools
  • Change Timezone in Chrome DevTools
  • Chrome Flags
  • Chrome SameSite Updates
  • Date Input Tag
  • Filter Network Requests By Status Code in DevTools
  • Hide Bookmarks Bar in Chrome
  • Open Every Site in a Chrome Bookmarks Folder With One Click
  • Use Display None

GitHub

  • Ignore Whitespace in a GitHub Pull Request
  • Link to Headers in GitHub READMEs

CSS

  • Apply a Conditional Border Without Moving Element
  • Preserve Whitespace in CSS
  • Semicolon Breaks Everything

Functional Programming

  • Filtering By Identity

General

  • Jira Actions Menu
  • Turn off Autoformatter for New Features
  • Validate CircleCI Configuration
  • RDS Breaks My Radio Clock

Git

  • Apply a Patch in Reverse
  • Delete Remote Git Tags
  • Force with Lease
  • Git Log With Authors
  • Git Log since
  • Git Snapshot
  • Show How A File Is Ignored In Git
  • The Alpha Commit
  • Undo a Git Mistake

Go

  • Go iota
  • Seeding Golang's Rand

HTML

  • Reading a Button's Value on Submit
  • Autofocus a Form Field

JavaScript

  • Build URLs with Window Location
  • Build a Sentence from a JavaScript Array
  • Sorting Numbers with JavaScript's sort Function
  • Load a Dependency in the Node REPL

Less

  • Less Help

MacOs

  • Understanding Scrollbar Visibility
  • Zoom and Scroll in Figma

Mobile

  • App Store Delays
  • Clear iOS Mobile Dependencies
  • React Native Shake
  • Scroll on XCode Simulator
  • TestFlight downloads latest build
  • Xcode Run Hotkey

React

  • Clear React Router's Location State From the Console
  • Conditional Props
  • Join React Components With Comma
  • Link Externally With React Router's Link
  • Re-render Child Component By Changing Key

Ripgrep

  • Ignore Ripgrep Ignore

Ruby on Rails

  • Assert About Response Body in RSpec Controller Tests
  • Bypass Basic Auth
  • Change Column Null
  • Classify and Constantize
  • Find or Create By With Block
  • Generate a Rails Secret Key
  • Highlighted Routes Searching
  • How Rails Action Name Works
  • Inferred Controller Parameters
  • Modify Attribute on Set
  • Multipurpose Environmental Variables
  • Parameters Filtering
  • Rails destroy
  • Rails restore_attributes
  • Redirect a Path
  • Set Default URL Options
  • Set a Default Scope
  • Show Model and Grep with Pry-rails
  • Validate with Proc
  • fields_for exclude ID

Ruby

  • Accessor Performance Gap
  • Case Insensitive Matchers
  • Edit in Pry
  • Fetch Your Environmental Variables
  • Find Stale Gems
  • Hash Equality
  • Ignore Rubocop Block Length Lint in RSpec
  • Keyword Precedence
  • Minmax
  • Object ID
  • Puts Multiple Lines
  • Reset a Gem
  • Ruby Regex Literal
  • Ruby's Kernel::abort
  • Show Proc Source Location
  • Skid Keywords
  • Steps Within Steps
  • Succeed, Precede, and Surround in Haml
  • Truthy Strings
  • Upgrade Rubygems
  • Variable Hoisting in Ruby
  • group_by with default

SQL

  • Cleanup Postgres Databases
  • Default to Empty Array in Postgres
  • History of the PostgreSQL Name
  • Postgres Unlogged
  • Prepare / Execute
  • Psql Connect
  • Query the Size of Postgres Array

SVG

  • Install SVGO With Reasonable Defaults
  • Install SVGO With Reasonable Defaults, Part Two

Terminal

  • Append to a Write-Protected File
  • Autojump and Open
  • Command Line Subshell
  • Create a File With cat
  • Ctags dotfiles
  • Directional Commands
  • Finding Getters
  • Force ASDF Reshim
  • MD5 File Signatures
  • Override Autojump's Directory Rankings
  • Printing with lpr
  • Reverse a String
  • Run Previous Command
  • Save Size Change to iTerm Profile
  • Screen Flashing in OSX
  • Send Processes to the Background
  • Standard Output to Clipboard Buffer
  • Start Postgres.app from the Command Line
  • Watch That Program
  • Read Zsh Builtin Manual Pages

Testing

  • Expect a Case-Insensitive Match
  • ExtractRSpecLet
  • Testing Edit Forms

Tmux

  • Source Tmux Config
  • Tmux Copy Mode

TypeScript

  • Either/Or Props in TypeScript
  • TypeScript Union Type From Array

URLs

  • Encoding Plus Signs in URLS

Vim

  • Call a Vimscript Method in Vim
  • Change Inner Tag Block
  • Close a File
  • Count Links in a Markdown File
  • Current Value of a Setting
  • Delete Comments
  • Delete a Line From Another Line
  • Edit the Current File Always
  • Explore Buffers with BufExplorer
  • Find and Replace Across Files
  • Get help with Pathogen
  • Increment and Decrement Numbers
  • Jump to N Percent of a File
  • Jump to the First Non-Blank Character
  • Man pages in Vim
  • Override Vim's Filetype
  • Select First Spell Suggestion
  • Sort Alphabetically
  • Vim Regex Word Boundaries

License

This project is released under the MIT License.