{ All snippets }

Tweetsnippet is a curated list of tips and tricks from Twitter.

Liam Hammett

Liam Hammett @LiamHammett

🔥 I often find myself keeping validation rules in a method on the model. This lets me reuse them wherever I may need - including in controllers or form requests. https://t.co/QDjYFEN2vM

Minko Gechev

Minko Gechev @mgechev

JavaScript tip: did you know you can listen for a *single occurrence* of an event using addEventListener? You can specify a configuration object as a third parameter. https://t.co/R0JwOMueVi

Jeffrey Way

Jeffrey Way @jeffrey_way

Just in case you didn't know this was a thing, if you're trying to scan for an old terminal command you ran a while back, type the first few characters and then press ctrl+r. https://t.co/UZ91f2pPE3

CLI