A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$
if your browser aliases it:
~ 108 byte version
Stands for REpresentational State Transfer Most APIs use restful architecture for retrieving data from them. They use HTTP requests, and so can have GET, POST, PUT, DELETE requests made to them. Are made when requesting a webpage, as well as in AJAX requests after page load to retrieve informatino from servers Provides structure and consistency when talking to lots of different servers.
Nil is an object class, while Empty is a property of an object that contains nothing within ruby. Empty can only be used to return a boolean, whereas things can be set as nil.
How would I execute some code each element in a collection? | |
Loop in JS | |
each loop in Ruby | |
Convention over configuration: | |
Also know as coding by convention | |
decrease the number of decisions a developer has to make | |
Common in Ruby on Rails | |
Example - if there is a table called “sales” the database is also called “sales” |
npx
installed using npm install -g npx
.