in8snotesThis portion of my site is powered by Blosxom. Blosxom is a perl script whose functionality here is extended through several plugin scripts in order to dynamically assemble a multitude of separate plain text files stored in a directory tree on the server into a cohesive, dated and RSS enabled weblog. Now in daily (r)sync with the directories on Nate's Powerbook.
blosxom |
Return to in8sworld.net
A list of the junk on my palm pilot using pilot-xfer
[in8spbook:~] in8% pilot-xfer -l -p usb: Listening for incoming connection on usb:... connected!
Reading list of databases in RAM... List complete. 337 files found. Thank you for using pilot-link.
Last saved: 11/07/2008
from Obviously, the first step is to download and install HTML Tidy (which you'll find in Resources). HTML Tidy is available on most platforms, including Windows, Linux, and MacOS. The default executable is a command-line tool, but GUI versions are available for Windows and MacOS. To run HTML Tidy, open a terminal and issue the following command: tidy -asxhtml -numeric < index.html > index.xml That's it! HTML Tidy immediately converts index.html into index.xml. HTML Tidy will print messages that highlight issues with the original HTML document during the conversion. In most cases, you can safely ignore these messages. HTML Tidy runs as a filter, so it expects standard input and it prints the result to the standard output. The redirection operators (< and >) allow you to work with files. By default, HTML Tidy produces a clean HTML page, but you can set two options to output XML, instead:
* -asxhtml outputs XHTML documents instead of HTML.
Last saved: 08/23/2008
International Characters in Mac OS X
from http://webct.pcc.edu/support/langmac.html Some language classes at Portland Community College make use of WebCT to compliment their course. WebCT provides excellent tools for online communication. The mail tool, discussion tool, and chat tool can all be used by students and faculty to communicate using what they've learned in class.
One problem that these courses encounter is related to some of the characters in different languages that don't show up on our keyboards. Not to fear, there are ways around this using keyboard shortcuts and using tools built in to the Mac OS. There are many keyboard shortcuts on the mac for inserting characters. To insert a character with an accent, type the key combination then the letter you want to insert.
For example, if you want to type á, you would press option-e (option and E at the same time), then press the A key.
* ê -- accent circumflex (option-i) For German
* ü -- umlaut (option-u) For Spanish
* á,é,í -- accent (option-e) For Other
* ø -- option-o To apply an accent to a capital letter, also hold down the shift key.
Last saved: 03/15/2008
http://docs.indymedia.org/view/Sysadmin/GnuPG
gpg --list-secret-keys You can now set the expiry for this subkey (usually this is the public key part of the private/public key pair).
Changing expiration time for the primary key. GPG will then show the updated key data.
Repeat the above steps for all sub keys. Start by selecting the second subkey:
Finally, quit the GPG console and save any changes:
Last saved: 03/02/2008
Over an ssh connection, you can use the following shell command to list the processes of a user in order so that the lowest number is at the bottom (so you see it when the script finishes). This is probably the x-session manager or initial bash login. Kill that process to kill the user session. ps aux | grep username | awk '{print $2 " " $11}' | sort -gr
Last saved: 02/23/2008
I feel like an idiot. I've been using an application (Freesnap) forever to take screen captures of things in OSX. The ability to capture the screen (or a portion thereof) is friggin built in. Yes, Printscreen or ALT+Printscreen in Windows captures the screen, but you have to paste the capture into a program to save it. In OSX you just Command+Shift+3 or Command+Shift+4 to capture the screen or portion thereof, and it saves the capture right to the desktop, handy!
Last saved: 02/16/2008
Getting OSX to connect up to a samba share on Ubuntu
this was just what I needed to get it to work.
mksmbpasswd /bin/cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
smbpasswd -e username Users can run smbpasswd themselves to update their passwords from here on.
Last saved: 01/25/2008
Killing all vncserver sessions
Watch the placing of the colon after kill. It should be vncserver -kill :1
The :1 is togethor. There is a space between kill and :1 so it Hope this helps.
Last saved: 12/18/2007
High Res for outside viewing" or
Incremental shift to High Res invert color
Last saved: 12/17/2007
40G Music 320G Raid 1 (150G space)
Services
Diskful - with drives
Seagate ST3500641AS 500GB SATA II
Last saved: 12/16/2007
make distclean
cd dosbox-0.72/
export PATH=opt/dosbox/bin:$PATH
Last saved: 12/16/2007
sudo port -d selfupdate
Last saved: 12/10/2007
"Mr. Gates acknowledged today that the company's error reporting
service indicated that 5 percent of all Windows-based computers
Last saved: 11/25/2007
6/3/2005 in System Software Notes by face
Controlling the dashboard. Sometimes you just don’t want it around. Make Dashboard go away defaults write com.apple.dashboard mcx-disabled -boolean YES Make Dashboard come back defaults write com.apple.dashboard mcx-disabled -boolean NO You have to restart the Dock to have this take effect killall Dock The terminal is your friend.
Last saved: 10/20/2007
Mediawiki settings I keep losing
from http://meta.wikimedia.org/wiki/Anti-spam_Features If you want to create a "gated community" where new users can't even register without asking you to set up an account for them, add the following to your LocalSettings.php:
#Disallow creating accounts
Last saved: 09/09/2007
I successfully created a repository in ~/myproj called spec with the contents of my ~/Sites/frc/spec directory by CDing into that spec directory and issuing: cvs import -m "FRC spec" spec specphp spec_0It was driving me crazy, since I was always issuing the command from the myproj directory at first and it was dumping all the other projects in the myproj directory in there too. Trouble is, it didn't create a directory called spec in there, so you can't see the files there or anything. You just have to know that its been checked in? Well I'm still learning my way around. I suppose you can list the modules easily enough. Remember that after importing the project, rename the original directory (to move it out of the way). Then use cvs checkout to check out the project to the original location. Once you verify its all there, you can delete the original directory.
Last saved: 07/15/2007
I originally had a post in Geeklog which was indexed in search engines here and there and linked off friend's sites. Instead of getting them to change the link, I used a Redirect rule in my .htaccess file to point to the right place.
The original Geeklog url had a query string (the question mark and equals sign part)
When I moved the site to Wordpress, the same page now lives here:
I added these two lines to my .htaccess (on Dreamhost this has to reside in the 'domain directory'): The first line says to look for a condition where
rewriteCond %{query_string} story=20040426185512453
Last saved: 06/09/2007
#:1497621 6:14 pm on May 12, 2005 (utc 0) This stuff is rather complex. It involves converting the octets (the groups of numbers delimited by the periods) of the address or address range to binary, and then generating a "mask" that is used during comparison of the incoming address and the specified allow/deny directives. A basic example would be that you want to deny 192.168.192.0 through 192.168.255.255 In binary (use the Windows calculator or equivalent) that is 11000000.10101000.11000000.00000000 through 11000000.10101000.11111111.11111111 Having derived that, you now need to generate either a netmask or a CIDR. The easiest way to do it is to line up the start/end addresses vertically, and then examine them to see which bits change between the first and last address of the range. Then mark those that don't change with ones and those that do with zeroes:
11000000.10101000.11000000.00000000 This yields the netmask, which when converted back to decimal octets is 255.255.192.0 To get a CIDR, you count the number of ones from the left, in this case 18. So, you would use
Deny from 192.168.192.0/255.255.192.0 (Network/netmask pair -or- Note that when the netmask contains trailing octets containing all zeroes, you can simply leave them off and use a simple partial IP address. An example would be 172.0.0.0 through 172.0.0.255, which could be specified as a partial IP address as: Deny from 172.0.0. For more information, do a search for "netmask" and "CIDR." There are also several online netmask and CIDR generators avaialble. In addition, if you look up your problem IP addresses in ARIN, the CIDR value is often given in the data record containing that IP address. Unfortunately, this is as simple as it gets. Jim
Last saved: 05/20/2007
#pw+229145642711766+7#
from another site:
#pw+237145655553553+7#
more stuff:
Last saved: 01/20/2007
Lame settings for Audible AA files
. OK, Audible files are low quality relatively and they have four different formats
So the best mappings appears to be these settings from afterdawn Many folks by the way are using Goldwave and MP3PO from Nerdex to do this. It was designed to take big MP3 files and split them. I probably will keep using MP3Directcut for this mainly because I know how to use it. Given this, the right setting would seem to be format 4 and then the lame settings would be given the many lame switches _lame -m m --highpass 11 --mp3input -abr 32 However, if you are using DBPowerAmp, its interesting to note that if you don't supply any parameter at all (!!!), it appears to work about right. Somehow the thing figures everything out and you have about the same length .mp3 as .aa. Wow!
Last saved: 01/20/2007
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||