Re: little calendar hack
Article: 7923 of alt.hackers From: tdi@choices.jmalaw.com (Tod D. Ihde) Newsgroups: alt.hackers Subject: Re: little calendar hack Date: 31 May 1995 15:41:49 -0500 Organization: Jacobberger, Micallef, and Assoc., P.A., +1 612 223-5340 Lines: 56 Approved: Uhhh... Yes? Message-ID: tdi.801952834@choices NNTP-Posting-Host: choices.jmalaw.com Status: RO
-----BEGIN PGP SIGNED MESSAGE----- Ok, first post here, let's hope it works (or doesn't, depending on who you are...) and1000@thor.cam.ac.uk (Austin Donnelly) writes: >In article <3qdkbf$219@magus.cs.utah.edu>, >Greg Alt <galt@asylum.cs.utah.edu> wrote: >>Here's a little something I banged out yesterday while bored: >> >>alias ccal 'cal `date +%m\ %Y%n`| >>sed -e s/\$/\ / -e s/^/\ / -e "s/ \(`date +%e%n`\) /#\1#/"' >Yes!! Now that's a *real* hack! Very nice! >alias ccal='cal|sed -es/\$/\ / -es/^/\ / -e"s/ \(`date +%e%n`\) /#\1#/"' >(since cal prints this month by default) Likewise with this one. ObHack: I recently mounted a momentary switch on my steering wheel. When someone's tailing me, I just thumb the switch until they back off. Unfortunately, it doesn't seem to work on some people. ObHack2: Currently working on a daemon that will sit on a serial port, and interface (with appropriate hardware) to a C64, and allow the 64 to use my Linux machine's HD as a normal disk drive. I thought this was fairly straightforward at first, but I overlooked something at first... Memory maps. -----BEGIN PGP SIGNATURE----- Version: 2.6.1 iQCVAwUBL8zUhERTVsQiusZVAQFBcQQAla/nsMxNx9l832mWsHvU3Wm8N/linG3Q EGq342whXtMnTBHx05WSHYzD5vp7Lce6/qdYQGc722M4+A33iopZ0UqLMDPtTV+Q 7LVdu2oTPxUUuXBVVRz3m6ElQ/mxR4+zUWXn6WWNxBZfj6pmo9ZqVRu7a5WuVlfO MYw3NqBAIkA= =QlXz -----END PGP SIGNATURE----- -- --------------------------------------------------------------------- | Tod D. Ihde | "Some go up, some go down," | | tdi@jmalaw.com | "Some go thirsty, some just drown." | | Jacobberger, Micallef | "That's the law around here", | | and Assoc., P.A. | said the King of Sunset Town. | ---------------------------------------------------------------------