![]() Non-existant pci, scsi, and ide information (non-existant for me, ymmv). Might also consider renaming the phpSysInfo-2.0 directory to "stats" for ease of access.Ĭomment out lines 78 - 86 of includes/tables/hardware.php to remove the columns for the Source and put the directory in your document root (/Library/WebServer/Documents on os x). Once you've got php set up, decompress the phpSysInfo Up, follow the instructions at this page. Obviously, it is php based - if you don't already have it set PhpSysInfo provides an attractive web basedĭisplay of system statistics. To provide host-allow protection on an URL (regex savy), into the main config fileįor apache 1.3 or later, append the following lines: One period in the filename which seperates the artist/song name from the extension), then use this little script If you've got a whole bunch of these files, put them in a directory, make sure they're named *.* (i.e. the part of the URL up to the path or filename provided To specify the base URL for the files (i.e. If the links in the source are relative and not absolute, you'll also need to use the -B switch Page which contains links to media files you want to download in its own window (this willĪlleviate problems with frame based sites). Using wget to parse links out of a html source file. Having trouble whacking the media out of those pesky cgi driven pages? Try this tip for the following would open an ssh session to yak, and set the window title accordinglyĪlias yak="yak -Pn \"\e]0. You should substitute vt100 for whatever your contents of $TERM are)Īlso with zsh, use the following in your. With zsh, use the following in your ~/.zshrc to dynamically update the title of the term based on the current working directory: (note that Now just chmod +x smack and put it somewhere in your $PATH, then you smack Explorer Kill -9 `ps auxww | grep -i $1 | grep -v grep | grep -v smack | awk ''` Also note that this is depreciated in 10.2, which Note:īe sure you supply text that matches only what you want to kill. Kill all processes that match a specified argument using this short shell script called smack. (and yeah, you could just test for $2, but part of the purpose here is also toĭemonstrate boolean operators in if statements.) Testing for existance of two command line arguments if ( ! || ) then echo "yup" else echo "nope" fi If loops in bash: if then echo "yes" else echo "no" fi ![]() Running Mac OS X services on alternate portsĪutomating the use of background color to distinguish between terminal windows Saving and recalling Terminal.app sessions Perhaps it will be helpful to you, as well :)ĭynamically updating terminal window titleĪpache host-allow to restrict directories by client host This page contains information that I've found to be useful in my various computing experiences. This page will preserve the old versions and serve as a redirect. Custodian's note: this page is no longer maintained, and its contents have been absorbed into theĬurrent bbs de jour, linked here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |