- /usr/sbin/apachectl
- /usr/sbin/httpd
- /etc/httpd/conf/httpd.conf
- /var/log/httpd/error_log
- /etc/httpd/
- /etc/httpd/modules/
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
Jump to
Combinations, permuations and iterations
To generate all combinations or permutations of a fixed list, use Math::Combinatorics
To generate sequential values for a set of slots, e.g. all binary numbers, or the number of 'max_results' for several modules do this:
To generate sequential values for a set of slots, e.g. all binary numbers, or the number of 'max_results' for several modules do this:
- add one to the first slot
- if that takes it over the maximum, set it to zero and add one to the next slot
- repeat step 2 until you reach all zeroes
- if all zeroes, you are finished.
Upper and lowercase in vi
Select the text you want using visual mode, then type U for uppercase or u for lowercase.
Labels:
case,
text editor,
vi
Intermittent bugs
How do you investigate and fix a bug if you can't reproduce it?
Turn a lot of logging on, then check the logs for occurrences of the bug.
Turn a lot of logging on, then check the logs for occurrences of the bug.
Labels:
article,
debugging,
intermittent,
logging
Subscribe to:
Posts (Atom)