Scripting

Teach You Kid to Program

Tue August 2nd, 2005 at 2:55 pm
Mac, Scripting

Found a great two part blog entry on teaching a 6 year old to program.

I liked part two the best because it contained all kinds of funny nuggets. Firstly, after being a Mac Programmer for 12 years, I was surprised and glad to see this comment:”But the Mac is Unix. It is a hacker’s system.”

Though [...]

Read ->

Referrer Spam

Tue September 30th, 2003 at 2:26 pm
Scripting

I’ve been getting spam referrers in my referrer list for the past few days. I already have a list of domains/URLs that don’t make it onto my page of referrers. They are in my log file, but don’t show up on the page when you look at the list.

This list was originally to keep robots [...]

Read ->

Scripting Test

Mon August 4th, 2003 at 3:29 pm
Scripting

Using the new WebDav features of Dreamhost I uploaded the picture at via AppleScript. The script is a droplet that looks to see if the media directory is there. If it is then it scales the picture using Graphic Converter, and copies the thumbnail and big picture to the folder for the month.

New in [...]

Read ->

Referrer scripting

Mon May 5th, 2003 at 4:28 pm
Scripting  |  1 Comment

Decided to remove the referrers from the sidebar. I was noticing it seemed to take a very long time to load the page. I figured it was because of the referrer lists, so I added some code for timing to the scripts and sure enough that was it. It was taking 2 to 4 seconds [...]

Read ->

Search Engine Update

Mon April 14th, 2003 at 4:42 pm
Scripting  |  1 Comment

Wanted to get some of the search engines that were in the referrer list and not search keyword list over so I added a bunch to my SearchEngineQueryList.txt file.

Its the sign of a good script when you can change the functionality quickly in a data file.

Written while listening to “Rebel Yell”album (Unknown)
by

Read ->

Referrer script problem

Tue April 8th, 2003 at 9:58 am
Scripting

Given that I only have one referrer log file, if you get a lot more of one kind of hit than another then the lesser type will be pushed out completely. I came in this morning and there were no referrer’s listed, but there was a new comment, which indicated to me someone had linked [...]

Read ->

All in one script

Mon March 24th, 2003 at 9:07 pm
Scripting

I managed to get both the regular referrer and the keyword referrer scripts into one file. But then I had to break them out because of the way PHP includes works under Nucleus. Still most of the functions are in one file and there are two small files for including in my pages.

Here’s a break [...]

Read ->

Search Referrer Script

Mon March 24th, 2003 at 3:24 pm
Scripting

I did a major rewrite of the search word referrer script I got from scriptygodness.

What this does is read a file that contains URLs, assumably referring URLs, and generates the HTML. I am currently using the lgf script above to generate the file. I’ll be working on one of my own soon.

The original script called [...]

Read ->