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
| #!/bin/bash | |
| # works with a file called VERSION in the current directory, | |
| # the contents of which should be a semantic version number | |
| # such as "1.2.3" | |
| # this script will display the current version, automatically | |
| # suggest a "minor" version update, and ask for input to use | |
| # the suggestion, or a newly entered value. |
| <?php | |
| // https://snipt.net/public/tag/php/?page=3 | |
| $countries = array( | |
| "AF" => array("country" => "Afghanistan", "continent" => "Asia"), | |
| "AX" => array("country" => "Åland Islands", "continent" => "Europe"), | |
| "AL" => array("country" => "Albania", "continent" => "Europe"), | |
| "DZ" => array("country" => "Algeria", "continent" => "Africa"), | |
| "AS" => array("country" => "American Samoa", "continent" => "Oceania"), |