August 10, 2010

i fixed comments

Filed under:Uncategorized — ryan @ 5:10 pm

sorry, i should treat this blog a little better.

June 14, 2010

RIP Max :(

Filed under:Uncategorized — ryan @ 11:09 pm

Little Macky passed away today. I hope you are not in pain anymore, buddy.

January 15, 2010

irssi follow-up: identd

Filed under:Uncategorized — ryan @ 8:52 pm

All my people on the irc, if the undernet is the place you be, let me see, let me hear you get FIRED UP….because of that QUOTE PASS BULL SHIT!

Did you know that if you provide an IDENT response, then irc servers will not bug you to type any quote pass stuff? If you use irssi as mentioned in my previous post, then you may discover that it doesn’t include any sort of ident daemon.

Luckily, it’s a pretty easy fix. Aside from making sure port 113 is reachable on your Mac from the outside world, you also have to install a working ident daemon (identd for short). This cool french fellow has made one that is controllable via a Prefpane! Cool!

Just follow that link and install. Next, go to the Apple Menu > System Preferences, and click ‘IdentD’ down under the ‘Other’ row. Click the lock to authorize yourself to make changes, then click ‘Activate’. Now, here’s the problem I’ve had sometimes, and how to repair it. If it appears as though identd is deactivating almost immediately after you click ‘activate’, then it’s affecting you.

You’ll have to edit a config file to fix this issue. If you’re a vi guy, simply type ‘sudo vi /etc/hostconfig‘ at a prompt and take a look at the file. We’re looking for the line that starts with … yep, IDENTD. If you notice that it seems to run into the next line (sometimes it does), then simply add a carriage return after it. Even if you don’t have this problem, it might be a good idea to add said carriage return, in the event that another line is added later.

You’ll be glad you did!

Here’s the current content of my /etc/hostconfig file. I also had a leading extra carriage return that I removed to tidy things up:

# This file is going away

AFPSERVER=-NO-
AUTHSERVER=-NO-
TIMESYNC=-NO-
QTSSERVER=-NO-
PARALLELS=-YES-
IDENTDSERVER=-YES-

July 3, 2009

Hello blog! And todo.sh

Filed under:Uncategorized — ryan @ 12:04 am

Hello blog.

I am currently unemployed. We’ll maybe delve into that some other time. Recession.

Remember this post? Well, I’ve been modifying bands.sh to become todo.sh and to be displayed on my desktop via GeekTool. It looks something like this.

So far, I’ve basically changed it so that you can delete a numbered line like this:

‘todo -d 4′ would delete post 4. Works for me! I’ve also written it in a way so that I can add re-ordering or re-prioritizing of items in the list. When I figure out how. Hehe.

Here’s the code:

#!/bin/bash

# you can change the textfile variable to anything you want
# this allows you to make various lists and have different scripts
# for each.  simple but useful.
# I use it to make a list of albums I wanna get.
# THIS VERSION: has been modified to work as a TODO type script
# p.s. I killed most of the comments.  Ask me if you wanna know
# what something does.  Like the sed and the awk.  Fuck that shit.

 
textfile=/Users/ryan/Documents/todo.txt        #edit this line!!
filename=`basename $textfile`                  #short version
 
if [ ${#} -lt 1 ]                  # if you are not adding something,
then                               # assumes you want to see file
    echo " "
    echo "     .:[$filename]:."
    echo " "                       # let’s make a nice header/footer
    cat -n $textfile               # show the file with line numbers  
    echo " "
elif [ "$1" = "-d" ]     
then
    showline=`awk "NR==$2" $textfile`   
    echo "`basename $0`: Removing ‘$showline‘ from $filename…"
    mv $textfile $textfile.tmp      
    sed "$2d" $textfile.tmp > $textfile    # dumb way to do it
    echo "Done!"
else
    echo "$1" >> $textfile                 # add a task        
    echo "`basename $0`: added ‘$1‘ to $filename!"       
fi

Damn, I found/fixed so many bugs while getting ready to post this entry. Cool, I guess.

November 26, 2006

1st annual naked guitar hero party

was a success and now i am so drunk so i just want to say. thankst ot all particilpants it was great.

if you are not friends with my myspace you missed the awesome flyer so here it is

balls

next time make the flight

holy dubvkfuck

June 7, 2006

don’t mind me

Filed under:Uncategorized — ryan @ 12:36 pm

just testing file upload

justice.jpg