in8snotes

This 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.


home / computers

January
Sun Mon Tue Wed Thu Fri Sat
       
6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

2009
Months
JanFeb Mar
Apr May Jun
Jul Aug Sep
Oct Nov Dec

blosxom
categorytree plugin
blox plugin
calendar plugin
find plugin
breadcrumbs plugin



       
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...
SurveyMateDBD
SurveyMateDBC
SurveyMateDBQ
SurveyMateDBL
SurveyMateDBS
SurveyMateDBA
ACDSee_ACDS_appl_a68k
N8Stocks
Planetarium_AHoP_appl_a68k
CMAuth-View
BigClock_BClk_appl_a68k
Emily b
burglaries
Guild-Verse
N8-HealthNotes
N8-Journal
N8-Notes
N8-Notes-MacOSX
Radio Codes - FireDept
Radio Codes - Police
Songs
Trubisz
Watched Stocks
Linux Diary
N8-hardware
Music Notes
QCWebBookmarks
ZBoxZ_BOXR_appl_a68k
IBPlug WordSmith
Windows Bitmap
BLBookmark
Bookmarks-View
DateBk5_CESF_appl_a68k
Converter_CNvt_appl_a68k
ChangeName_CRM4_appl_a68k
Gammon_CSMT_appl_a68k
ChessGenius_ChsG_appl_a68k
CityTime_CiAa_appl_a68k
ChordDB_Cord_appl_a68k
Datebk5DB
DatebookHistoryDB
CityTimeDB
CordDB-Cord
Default-ETSC
StarSyncDB
hotdateDB
InStep Font Library
LoanHelperDB
Yale Bright Stars
Caldwell Catalog
Jack Bennett Catalog
LauncherIII ToBeDeleted
LauncherIII CachedIcons
LauncherIII Database
Queries
RNWKDB
Schlep
VpadDB
AddressDB
Bluetooth Trusted Devices
DatebookDB
ExpenseDB
locLDefLocationDB
MailDB
MemoDB
ConnectionMgrDB
ConnectionMgr50DB
NetworkDB
npadDB
PhoneRegistryDB
ToDoDB
locLCusLocationDB
FRC-Xmas2004WorkGifts
N8DB-FirBrook
dbScriptCommands
Solara Gas
N8DB-Videos
FRC-Xmas2002WorkGifts
N8DB-DuffyWindowsLabor
N8DB-CamryGas
Sienna
DB_DBOS_appl_a68k
DiddleBug_DIDB_appl_a68k
InterestingLabels
Labels
PastViews
Segments
Daylight Savings Rules
PlnLogDB
PlnCometsDB
UserObjsDB
PlanetariumDB
BoxMan_Solution_DB
BoxManDB
PalmName_prefs
DiddleBugDB
Go169DB
Go81DB
kMoriaScoreDB
kMoriaDB
CalcDB-OpCl
CalcDB-H-OpCl
BBC
powerOneDB
pdQmailTOC
Eudora_Edra_appl_a68k
PlainFTFt
Filez_Filz_appl_a68k
DES Library
MD Library
Z Library
GrxViewLite_GVLt_appl_a68k
Keys-Gtkr
go169_Go16_appl_a68k
Go81_Go81_appl_a68k
Keyring_Gtkr_appl_a68k
DBHelp
Hot Date_HOTT_appl_a68k
MSMount Heap
BLHistory
HypT-View
InStepPrintDocs_ISG3_hide_a68k
InStepPrintDocRtf_ISG3_hide_a68
InStepPrintDocEng_ISG3_hide_a68
InStepPrintDemo_ISGI_appl_a68k
Internet Prefs Database
Internet Prefs Panel_Iprf_panl_
PToolboxLib_JHSU_appl_a68k
Image007.jpg
PlkrKeyboardMap
DBDatabases
LMCache-View
pdQmailLittleTOC
MSDW AppList
PlkrDocList
NewsGroup-7
NewsGroup-6
NewsSubscriptions
NewsGroup-1
NewsGroup-2
NewsScores
NewsServers
NewsGroup-3
NewsHistory
NewsGroup-4
NewsGroup-5
NewsArts
Ref-AmericanPresidents
N8DB-ProjectPriorities
Ref-US Mint 50 State Quarters
PlkrDB
Plkr-METW Rulebook
Plkr-Lyrics-Irish
Plkr1-Guide Penn-Mush God
Plkr1-NYtimes
Plkr1-BBC
Plkr-911 Commission Repor
Plkr1-Lyrics-Rock
Plkr1-Welsh Castles
Plkr-Mammalia
Plkr-Evolutionary Tree
Plkr1-Photoshop trick
Plkr1-Lyrics-Nate
Plkr1-Book of Song
LauncherIII_MjBb_appl_a68k
kMoria_Mria_appl_a68k
pdQmailMsgs
BLNavHistory
RootObj-View
Easy Calc_OpCl_appl_a68k
GRIMMSON_PJUg_appl_a68k
WCALoader_PLMR_appl_a68k
PiNGer_PNGv_appl_a68k
PPur-PlugIn_PPur_appl_a68k
TMP--XXL
HW4 - q1
LIPA KW use
BLParams
Clock_PcLK_appl_a68k
Plucker_Plkr_appl_a68k
Eudora Web_QCwb_appl_a68k
QueriesApp_QRYS_appl_a68k
RealOne_RNWK_appl_a68k
Die Roller_Rolr_appl_a68k
DateBk4HelpDB
CRMASave
kMoriaSaveDB
kMoriaSave0DB
BLSecSess
Tolkien - HOBBIT
Lat/Long/TZ List
Brothertown Indians
TLSSesDBEdra
TattooArtist_TTOO_appl_a68k
Eudora Scratchpad
Voice Pad_Vpad_appl_a68k
Weasel_DocInfo_DB
WordSmith_WrdS_appl_a68k
PACE Data Store Reserve
BluetoothPnl_abtp_panl_a68k
Address Book_addr_appl_a68k
PalmPatch
WebLib Autofill
Planetarium
BigClock
DateBk5
Converter
ChangeName
ChessGenius
CityTime
ChordDB
DB
DiddleBug
Eudora
Filez
GrxViewLite
go169
Go81
Keyring
Hot Date
InStepPrintDemo
PToolboxLib
LauncherIII
kMoria
Easy Calc
GRIMMSON
WCALoader
PPur-PlugIn
Plucker
Eudora Web
RealOne
Die Roller
WordSmith
bkupBackup
smorse
Alarmlist
bkupBackup_bkup_appl_a68k
Buttons_bttn_panl_a68k
BtTransport
Web DB 2
ClipperCache
Calculator_calc_appl_a68k
Web Cert DB
Card Info_cinf_appl_a68k
AddressCitiesDB
CitiesDB
CookieDB
Web DB 3
AddressCompaniesDB
AddressCountriesDB
AISO-Latin2
ADOS-CP437
BISO-Latin2
BigClock data
PPur_Data
Date Book_date_appl_a68k
Dial_dial_appl_a68k
Digitizer_digi_panl_a68k
WrdS_Docs
Date & Time_dttm_panl_a68k
Expense_exps_appl_a68k
WrdS_FontDB
Formats_frmt_panl_a68k
GrxViewJpegLibARM
InStepPrintEngine
InStepPrintDate
InStepPrintDocEng
InStepPrintDocRtf
InStepPrintDocs
Web DB 1
GrxView-UI-ListView
GrxViewLiteSharedLib
RealMP3FF
RealMP3Codec
RealRMFF
RealRMCodec
RealDRM
FATFSPatch
PlnStarData.lib
sslplus
db-DB3vfs
db-memoexport
db-DB2
db-MobileDB
db-informations
MSDW
MathLib
NSBMultimediaLib
RealLib
SpellSmith
ZLib
BtLib
HALSndLib
Net Library
FTFontListDB
Launcher_lnch_appl_a68k
psysLaunchDB
Graffiti ShortCuts
MobileDBCatalog
Memo Pad_memo_appl_a68k
Connection_modm_panl_a68k
MyFavorite_myfv_appl_a68k
Network_netw_panl_a68k
Note Pad_npad_appl_a68k
WordSmithOpen
RealOne_enUS
BtLib_enUS
Owner_ownr_panl_a68k
PalmAudioUpdate_palU_appl_a68k
Internet Prefs Panel
EricssonT68
Phone_phop_panl_a68k
SlotDrvrPnpsApp-pnps_appl_a68k
Power_powr_panl_a68k
Preferences_pref_appl_a68k
Bluetooth Prefs Backup
Unsaved Preferences
Net Prefs
smorse_sMRS_appl_a68k
Security_scrt_panl_a68k
SoundsAlerts_sdal_panl_a68k
Setup_setp_appl_a68k
ShortCuts_shct_panl_a68k
System MIDI Sounds
Saved Preferences
AddressStatesDB
6-36-pm.wav
6-32-pm.wav
6-27-pm.wav
4-59-pm.wav
8-50-pm.wav
7-21-pm2.wav
AddressTitlesDB
To Do List_todo_appl_a68k
World Map
VendorsDB
WrdS_Key

List complete. 337 files found.

Thank you for using pilot-link.

Last saved: 11/07/2008
Links: /computers / pilot.txt

Tidying up

from
http://www.ibm.com/developerworks/library/x-tiptidy.html

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.
* -numeric uses character entities instead of HTML entities. For example, î is replaced with î.

Last saved: 08/23/2008
Links: /computers/code / xml-tidy.txt

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.
Keyboard Shortcuts

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.
For French

* ê -- accent circumflex (option-i)
* ü -- accent tréma (option-u)
* á,é,í -- accent acute (option-e)
* à,è,ì -- accent grave (option-`)
* ç -- accent cedilla (option-c)

For German

* ü -- umlaut (option-u)
* ß -- esset (option-s)

For Spanish

* á,é,í -- accent (option-e)
* ñ -- accent tilde (option-n)
* ü -- umlaut (option-u)
* ¿ -- upside-down questionmark (option-shift-/ )
* ¡ -- upside-down exclamation (option-1)

For Other

* ø -- option-o
* è -- option-`
* ñ -- option-n
* å -- option-a
* ü -- option-u
* ç -- option-c

To apply an accent to a capital letter, also hold down the shift key.

Last saved: 03/15/2008
Links: /computers/mac / intl-char.txt

Oops, my secret key expired!

http://docs.indymedia.org/view/Sysadmin/GnuPG

gpg --list-secret-keys
and note down (or copy) the ID of the key whose key expiry you would like to edit (e.g. '277FF772'). Then pass the key ID to gpg and enter its console mode:
gpg --edit-key 277FF772
Now select the first sub key (subkey 0):
Command> key 0
and edit the expiry options:
Command> expire

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.
Please specify how long the key should be valid.
0 = key does not expire
= key expires in n days
w = key expires in n weeks
m = key expires in n months
y = key expires in n years
Key is valid for? (0) 1y
Key expires at Di 17 Jun 2008 13:26:24 CEST
Is this correct? (y/N) y

GPG will then show the updated key data.

Repeat the above steps for all sub keys. Start by selecting the second subkey:
Command> key 1

Finally, quit the GPG console and save any changes:
Command> quit

Last saved: 03/02/2008
Links: /computers / gpg-expired.txt

Log a user out remotely

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
Links: /computers/unix / killusersession.txt

Screenshots in OSX

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
Links: /computers/mac / screencaptures.txt

Getting OSX to connect up to a samba share on Ubuntu

this was just what I needed to get it to work.

  1. Examination of the sample /etc/smb.conf file reveals that Samba/Ubuntu-Feisty wants to use smbpasswd, so you have to run this one time to create the smbpasswd file. As root:

mksmbpasswd /bin/cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd

  1. This disables all the users in the target file, so enable the user(s) you want to be able to access shares. As root, run:

smbpasswd -e username

Users can run smbpasswd themselves to update their passwords from here on.

Last saved: 01/25/2008
Links: /computers/unix / samba-passwords.txt

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
is -kill:1

Hope this helps.

Last saved: 12/18/2007
Links: /computers/unix / vncserver.txt

Invert colors on Powerbook

High Res for outside viewing"
ctrl-cmd-option-8

or

Incremental shift to High Res invert color
command-control-option-. (repeatedly)
command-control-option-,

Last saved: 12/17/2007
Links: /computers/mac / highres.txt

NAS checklist

40G Music
20G Personal Files in8
20G Personal Files Cathy
20G Movies
10G ISO

320G Raid 1 (150G space)

Services
iTunes server
UpnP AV?
HTTP (w/Mysql and PHP?) - Synology
FTP server

Diskful - with drives
BYOD - bring your own disks

        1. RPM SATA

Seagate ST3500641AS 500GB SATA II

Last saved: 12/16/2007
Links: /computers / nas.txt

cd SDL-1.2.12/

make distclean
./configure --prefix=/opt/dosbox --enable-static --enable-video-opengl \
--enable-video-cocoa --disable-video-x11 --enable-nasm --enable-cdrom
make

cd dosbox-0.72/
make distclean
./configure --prefix=/opt/dosbox --enable-static --with-sdl-prefix=/opt/dosbox \
--enable-opengl --enable-fpu-x86 --enable-dynamic-x86
make

export PATH=opt/dosbox/bin:$PATH
export CPPFLAGS='-I/opt/dosbox/include -I/usr/X11R6/include -I/usr/include'
export CFLAGS='-I/opt/dosbox/include -I/usr/X11R6/include -I/usr/include'
export CXXFLAGS='-I/opt/dosbox/include -I/usr/X11R6/include -I/usr/include'
export LDFLAGS='-L/opt/dosbox/lib -L/usr/X11R6/lib -L/usr/lib'

Last saved: 12/16/2007
Links: /computers / dosbox.txt

Updating Darwinports

sudo port -d selfupdate

Last saved: 12/10/2007
Links: /computers/mac / darwinports.txt

"Mr. Gates acknowledged today that the company's error reporting

service indicated that 5 percent of all Windows-based computers
now crash more than twice each day."
-- From the New York Times July 25, 2003

Last saved: 11/25/2007
Links: /computers/windows / error-reporting.txt

Disable Dashboard

6/3/2005 in System Software Notes by face

Controlling the dashboard. Sometimes you just don’t want it around.
Note: This is a per user setting. I do not know how to disable it by default for every user.
Possibly if you make this change to /Library/Preferences/com.apple.dashboard -

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
Links: /computers/mac / disabledashboard.txt

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
$wgGroupPermissions['*']['createaccount'] = false;

Last saved: 09/09/2007
Links: /computers/code / wiki-settings.txt

Creating a new CVS repository

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_0
It 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
Links: /computers/cvs-stuff / newCVSproject.txt

Redirect with a query string

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)
http://in8sworld.net/article.php?story=20040426185512453

When I moved the site to Wordpress, the same page now lives here:
http://www.in8sworld.net/blog/index.php/archive/trespassengers-debut/

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
story=20040426185512453
(ie: when somebody clicks a link that has that portion as a query string). The second line tells apache to replace
article.php (plus the query string) ?story=20040426185512453
with what follows.

rewriteCond %{query_string} story=20040426185512453
rewriteRule ^article\.php$ http://www.in8sworld.net/blog/index.php/archive/trespassengers-debut? [R,L]

Last saved: 06/09/2007
Links: /computers/unix / redirectquerystring.txt

jdMorgan

#: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
11000000.10101000.11111111.11111111
-----------
11111111.11111111.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-
Deny from 192.168.192.0/18 (Network/nnn CIDR specification

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
Links: /computers/unix / netmask.txt

How to unlock the Nokia 6101b

#pw+229145642711766+7#
_______________
Remove sim first, power on, press #
Press * 3 times fast for (p)
Press * 4 times fast for (w)
Press * 2 times fast for (+)
Verify code before pressing the last #.
"Code error", don't try again!!
"Phone restrictions off", it's unlocked!!

from another site:
xr3al

#pw+237145655553553+7#
[ + quote]
Remove Your Sim Card, Power The Phone On
Press # From The (Insert Sim) Screen
Enter codes WITHOUT spaces.
Press * 3 times fast for (p)
Press * 4 times fast for (w)
Press * 2 times fast for (+)
Verify code before pressing the last #

more stuff:
FREENOKIA
Imei: 357064-00-334221-4, MccMnc: 310-20, Asic: 2
Provider: T-Mobile;U.S.A.
#pw+ 219 115 337 743 024 +1#
#pw+ 086 863 307 470 475 +2#
#pw+ 718 840 630 600 552 +3#
#pw+ 356 116 777 423 020 +4#
#pw+ 083 533 702 117 744 +5#
#pw+ 115 224 736 364 435 +6#
#pw+ 043 263 761 164 473 +7#

Last saved: 01/20/2007
Links: /computers / unlock-nokia6101b.txt

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
Audible Format Audible Khz
Format 1 Mono 8Kbps proprietary
Format 2 Mono 16Kbps proprietary
Format 3 Mono 32Kbps proprietary
Format 4 Mono 11KHz 32Kbps CBR MP3 format wrapped by Audible DRM

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
Links: /computers / lame-settings-aa-files.txt