CSS opacity
Part of CSS3 - good for transparency on solid colour:
div.transparent {
filter:alpha(opacity=25);
-moz-opacity:.25;
opacity:.25;
background: #000;
}
- This is the one for IE6
- Legacy Firefox
- Everyone else
Note: everything in the element is opacified, if you just want it on the background you'll need to float the foreground stuff on top.
User management
/usr/sbin/useradd -m -s /bin/bash user/usr/bin/passwd user/usr/sbin/visudo
or/usr/sbin/usermod -a -G wheel user
sudo if you don't have su.
- http://www.g-loaded.eu/2005/11/06/manage-users-from-the-command-line/
- http://www.mediacollege.com/linux/red-hat/useradd.html
phpMyAdmin import from mysqldump
PMA (2.7 at least) cannot interpret /* */ comments. I hate it so much.
If you only have access to mysqldump at the export end and PMA at import, use --compact to strip the extra gear.
Javascript form submit
You can use Javascript to form.submit() on any visible element in DOM, but just remember to return false; after. If you're clever enough to have used an anchor, it will form submit and then follow the link - but not always in the same order. About 1 in 10 will follow the link first, then submit.
Advice: return false(), don't fill in the href, or just don't form.submit() on anchors.
AppleScript comments
AppleScript comments look like this
(* whacky shack *)
