<?xml version='1.0'?>
<!DOCTYPE rss PUBLIC '-//Netscape Communications//DTD RSS 0.91//EN' 'http://my.netscape.com/publish/formats/rss-0.91.dtd'>
<rss version='0.91'>
<channel>
<title></title>
<link></link>
<description>xml feed</description>
<language>en-us</language>
<pubDate>Tue, 21 May 2013 02:35:34 GMT</pubDate>
<lastBuildDate>Tue, 21 May 2013 02:35:34 GMT</lastBuildDate>

	<item>
		<title>[11.01.08 14:14:45] moving</title>
		<link>http://cutup.org/anize/?moving</link>
		<description>&lt;p&gt;Hi. I scored a sweet domain name and I think I'm gonna start moving stuff over to &lt;a href=&quot;http://un.ix.io&quot;&gt;un.ix.io&lt;/a&gt;&lt;/p&gt;
</description>
	</item>

	<item>
		<title>[09.18.07 17:51:49] 770_wlan_dynip</title>
		<link>http://cutup.org/anize/?770_wlan_dynip</link>
		<description>&lt;p&gt;I wanted to have my 770 do dynamic dns update. In the past, due to ignorance of anything better I've just written a shell script that gets cronned every 15 mins or so that sees if anything's changed, and if so updates my IP with curl. But the 770 doesn't have cron. &lt;/p&gt;

&lt;p&gt;So I went looking for some sort if interface up hook. &lt;code&gt;/etc/init.d/&lt;/code&gt; was the only place I knew to look - but it turns out that scripts in there just get called when the interfaces go up, not when a wlan connection happens, so that was no dice. I couldn't find anything else, and ended up finding someone had ported &lt;a href=&quot;http://www.anomaly-music.com/cron/&quot;&gt;a working cron&lt;/a&gt; to 770, so for a while I just used that.&lt;/p&gt;

&lt;p&gt;Then today, I found out about &lt;a href=&quot;http://stefans.datenbruch.de/nokia770/&quot;&gt;dbus&lt;/a&gt;, which led me to &lt;code&gt;/etc/udhcp&lt;/code&gt;, and bingo, that was it. I added a line that calls my dynip script at the appropriate spot in &lt;code&gt;/etc/udhcp/udhcp.script&lt;/code&gt;, which seems to be the one that actually runs, and it works great - only checks/updates on wlan connect.&lt;/p&gt;
</description>
	</item>

	<item>
		<title>[09.12.07 17:20:12] 770_scripts</title>
		<link>http://cutup.org/anize/?770_scripts</link>
		<description>&lt;p&gt;&lt;img src=&quot;http://farm2.static.flickr.com/1255/1348037497_a6db16d213.jpg&quot; alt=&quot;&quot; title=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;I got a Nokia 770 recently - fun thing to play with. I've stuck some of the stuff I've been working on in &lt;a href=&quot;http://code.cutup.org/770/&quot;&gt;svn&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I managed to get a semi-working scratchbox and to compile some stuff I was missing and couldn't find.  The one I really wanted was diff, and I managed to get that compiled, so theres &lt;code&gt;cmp&lt;/code&gt;, &lt;code&gt;diff&lt;/code&gt;, &lt;code&gt;diff3&lt;/code&gt;, and &lt;code&gt;sdiff&lt;/code&gt;. Also threw in &lt;code&gt;cal&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I also managed to get &lt;code&gt;nvi&lt;/code&gt; compiled. The busybox vi is pretty terrible, and vim seems kind of overkill for a 770 plus the port to 770 advertises itself as fairly tricky and incomplete. I haven't noticed any issues with this binary so far.&lt;/p&gt;

&lt;p&gt;Also a little lan manager script (&lt;code&gt;lan&lt;/code&gt;) that can show internal and external IP and wlan name. You need curl and wireless-tools for that.&lt;/p&gt;

&lt;p&gt;Finally, my famous command line twitter client tweaked to use /bin/sh :)&lt;/p&gt;
</description>
	</item>

	<item>
		<title>[08.15.07 17:47:24] remind_dreamhost</title>
		<link>http://cutup.org/anize/?remind_dreamhost</link>
		<description>&lt;p&gt;remind was pretty easy to install to dreamhost&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;mkdir .packages
cd .packages
wget http://www.roaringpenguin.com/files/download/remind-03.01.00.tar.gz
tar xvfz remind-03.01.00.tar.gz 
cd remind-03.01.00/
./configure --prefix=$HOME
make
make install
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Only other thing to it really is Dreamhost is PST so I had to set the TZ variable. In &lt;code&gt;.bashrc&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;export TZ=/America/New_York
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I want to run remind on here mostly to send email reminders, and maintain an online calendar, so I set that in my crontab while I was at it so the times are right.&lt;/p&gt;
</description>
	</item>

	<item>
		<title>[05.04.08 10:27:17] bash_calendar_oneliner</title>
		<link>http://cutup.org/anize/?bash_calendar_oneliner</link>
		<description>&lt;p&gt;I made a nifty little one liner so cal will show you the current date. It even makes sure not sure not to mess up the formatting. I'm sure this is like, the millionth time this was invented, and I'm sure there's a better way to do it, and it's not even technically a one-liner, though it &lt;em&gt;is&lt;/em&gt; short.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DATE=`date + ;REP=`echo $DATE | sed 's/./#/g'`;cal | sed &quot;s/ $DATE / $REP /&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and you get something like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    December 2005
 S  M Tu  W Th  F  S
             1  2  3
 4  5  6  7  8  9 10
11 12 ## 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;woo!&lt;/p&gt;

&lt;p&gt;UPDATE: already found a better one:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cal | sed &quot;s/ $(date +  / $(date + | sed 's/./#/g') /&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;UPDATE 2: it worked till the 17th, oops! Not all the dates have spaces on both sides. The best thing i could think of to do was just add spaces on each end of the lines, so now I'm using:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cal | sed &quot;s/^/ /;s/$/ /;s/ $(date +  / $(date + | sed 's/./#/g') /&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;UPDATE 3: thanks to someone at MacGeekery, I learned how to use shell escape codes. So here's a version that just bolds the current date:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cal | sed &quot;s/^/ /;s/$/ /;s/ $(date +  /$(printf '\e[1m&amp;amp;\e[m')/&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;UPDATE FOR NEW YEAR: you need to strip the leading zero from the date:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cal | sed &quot;s/^/ /;s/$/ /;s/ $(date + | sed 's/^0//') /$(printf '\e[1m&amp;amp;\e[m')/&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;EVEN BETTER:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cal | sed &quot;s/^/ /;s/$/ /;s/ $(date +  /$(printf '\e[1m&amp;amp;\e[m')/&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cal | sed &quot;s/^/ /;s/$/ /;s/ $(date +  / $(date + | sed 's/./#/g') /&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;FINAL ANSWER:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cal | sed &quot;s/.*/ &amp;amp; /;s/ $(date +  / [] /&quot;
&lt;/code&gt;&lt;/pre&gt;
</description>
	</item>

</channel>
</rss>