I have a development server I use to let users play around or load a site up with content before it goes live. On this server I have virtual hosts for each site. None of the information on these development sites are really secret, but I don't want these sites to end up on Google search results. I also don't want to add the extra complexity of having a username and password protecting the sites or restricting anything to a specific IP range.
A lot of commands for iptables work with targeting a specific rule number. To find the rule we usually run
iptables --list. Then I always forget if the rule numbers start at zero or one (it's one) and then have to manually count through the dozen or more rules I have in place. I'm never confident I'm targeting the correct rule, causing me a bunch of headaches. No iptables tutorials I ever encountered or even the iptables man page easily lets you know that you can add the
--line-numbers to display the rule number. Hopefully this will help other people out.
I often can't remember the name of a Drupal module I want to download and use. For example, I can never remember if I need to go to drupal.org/projects/google-analytics or google_analytics or ganalytics or whatever. I am also not satisfied with the search provided on drupal.org. So I figured out a way to put together a Search Engine in Google Chrome to do an "I'm Feeling Lucky" search on site:drupal.org/project. Here is the search string I used:
I've seen QR codes popping up in the last few months. When I first encountered it in the wild, I saw a 2-D barcode and thought why it was so prominent on the advertising. I've seen 2-D barcodes on other things such as my at&t bill that turns out to be some sort of reference number.