Hot tips are spicy lil' nuggets related to web development and tooling that I share on my twitter account. I've logged them here to make them easier to find.
Page 18 of 26
🔥Use the tree command to pretty print your directory listing. I use t with some nice defaults:
tree
t
🔥 With ES6, your JavaScript functions can have default parameter values
🔥 15 Slack tips in 5 minutes
🔥 Use the npm open package to open the your default browser to localhost when starting up an express server
open
🔥 ChangeQuotes now supports backticks as well
🔥Use mix-blend-mode:multiply; in your CSS to knock out white backgrounds from images
mix-blend-mode:multiply;
Pen:
🔥 ES6 Tip: Use Destructuring to create multiple variables from an array of data:
🔥 Use JSON.stringify()'s third param to pretty print an object to your page
🔥 Use git push origin head if you have hard to type or long branch names
git push origin head
🔥Terminal Tip: Use curly brackets to speed up the creation of multiple files with similar names: