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 38 of 46
π₯ 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:
π₯ One of my most used plugins β ChangeQuotes for Sublime Text swaps and escapes between single and double quotes
The Real Pricing of LLMs