Archive for the ‘tools’ Category.
change “find in reference” in BBEdit
This is very cool. You can change the site the BBEdit uses to “find in reference”, as helpfully noted by Peter Rukavina… thank you Peter!
If you use TextWrangler BBEdit to edit PHP files, you may find the following shell command useful (pointer from here):
defaults write com.barebones.bbeditServices:ADCReferenceSearchTemplate "http://www.php.net/%@"This will set the TextWrangler “Find in Reference” contextual menu item to look up the selected text on the PHP website (rather than on the Apple Developer Connection site, which is the default).
Technorati Tags: php, programming, bbedit, Mac
Brother SE270D movie of embroidery in action
Day 2, I’m loving this machine! check out the video I did today of the first run of embroidery with a stabilizer.
I ran this cool jacket my brother in law Justin gave me as a gift through the machine… it had this big blank white outline box on the front.. screaming out for a slogan… so I put one in:


Ahhhhh, this is way cool!!
Technorati Tags: brother se270, diy, embroidery, wtf
Brother SE270D
Our Brother SE-270D sewing/embroidery machine arrived yesterday, woot!
Here’s what was in the box, woot indeed!

Hey, look, it even embroiders into the wrong fabric, without stabilizer! Crapily! AMAZING!!
This is the backside of the cloth in the previous photo. Yuck.
Lots to like in this machine!! I’ll take some video and post it later tonight if I get a chance.

treo 670/700
I can tell you right now that the new Treo just jumped the shark. Palm just jumped the shark. My treo 650 was the last great thing they ever did. As long as I can still get batteries for the next 3 years or so, that’ll be fine, all will be well in the world. But… putting a microsoft OS on your phone… what a horrible idea. The next phone I get ain’t gonna be a M$ device… count on it.
HOWTO: smarter BBEdit multi-file searching
In the new(er) versions of BBEdit, you can get really specific about what files to multi-file search through. I love this, check it out, you can include/exclude grep patterns.
I take advantage (?) of BBEdit’s auto-backup feature where it iterates a file name on the date with a version number so that you’re never overwriting your only copy. It saves the previous version as index-20050818-01.php or whatever. This is good. However, when you’re searching a directory for a criteria in the contents of your folder, this can _really_ bog down your time to completed search results.
If you create a criteria when you do a multi-file search with the following set up:
then it will skip over all of your backup files and only search the “live” or “non-backup” files. Extremely cool.
Technorati Tags: bbedit, grep, programming
Get the next 5 business days
If you’re looking for a way to get php to return the next 5 working or business days, here’s one way to try:
[php]
$how_many_business_days_ahead = 0;
$how_many_business_days_to_count = 7;
for ($i=0;$i<$how_many_business_days_to_count;$i++)
{
$jump=$i+$how_many_business_days_ahead;
$evalday = mktime(strftime ("%d/%m/%Y", strtotime("+$jump days")));
$theday = strftime("%A", strtotime("+$jump days"));
if($theday != "Saturday" and $theday != "Sunday")
{
$days = $how_many_business_days_ahead+$i;
$the_days[$j] = strftime("%A, %B %d, %Y", strtotime("+$jump days"));
$j++;
}
}
$k = $how_many_business_days_ahead;
foreach($the_days as $eachday)
{
echo "$k business days from now = $eachday
“;
$k++;
}
?>
[/php]
this will give you:
0 business days from now = Tuesday, August 16, 2005
1 business days from now = Wednesday, August 17, 2005
2 business days from now = Thursday, August 18, 2005
3 business days from now = Friday, August 19, 2005
4 business days from now = Monday, August 22, 2005
wp-admin… tiger-fied
applescript
Welp, I did my first useful thing with applescript today. I’m marking my calendar as a big day. It was "Connect to a remote server and specify a remote folder location", in addition to a script I located today to save email attachments from mail.app. Mail comes in with attachments, I have the script connect to the remote box, and save the files to a specific location. From there, I have other processes that tear the file apart, load it into a database, and do all kinds of other painfully band-aid-like-things that I probably wouldn’t need to do if we had any kind of common architecture, or… open systems.
in case you’re curious:
mount volume "afp://my.server.com/Users" as user name "user" with password "pass"
And assume that everything’s case sensitive…
Technorati Tags: applescript
some sounds we like second podcast
Hey, I got the second podcast up, check it out over on the music blog: Some Sounds We Like 002 – Derek Scott of DoBox Recordings
so sad.
here’s some of the 3800 au files that are looking back at me, like tiny little pieces of a confettifized bearer bond or something. This was some sounds we like episode 2, now it’s a cautionary tale for you. Using audacity for a big project? Save often, yes, BACKUP often, too. Saving will hardly preserve your project in a crash. The time it would take me to try to piece this back together would easily equate to the same time it would take to reengineer the audio.
Technorati Tags: audacity
davemorin: Ta-Da Lists!
Ta-Da Lists are fantastic! I’ve been singing praises of 37signals for months, but their products, ideas, and mission continue to blow me away!
More web application developers, and application developers in general, need to concentrate on design and simplicity. They’ve taken something that we all love and need and made it infinitely better: the To-Do list.
Ta-da lists are web-based, free, fantastically designed, use RSS, are shareable, and brilliantly designed. I’m addicted! You must check it out now!.
Viral marketing, eh Dave?
My brother sent this my way a while back, and I didn’t get it. Well, I get it now. We’re having a very small family and friends get together soon, and R and I made a giant list of things to do. I got to thinking to myself… self, why isn’t there some web tool that lets you set up a todo list, assign resources to get things done, and have an RSS feed for the organizers to keep track of progress. Ha. Well, that almost exactly describes tadalists.com
quartz coreimage command line tool
ok, it’s not quartz or coreimage, but if you’re looking for a command line image manipulation tool for mac os x, you’re probably looking for “SIPS” – scriptable image processing system.
Ok, so, why? my favorite lazy gallery software PHPix3 is really just killing me with the PHP internal GD thumbnail generation time. I’m thinking it’s about time to take advantage of the internal tool available to me since I’m rockin’ tiger server. So, I’m thinking all I need to do is go locate the code the determines whether the image tool the scripts use is “int” or “ext” and maybe add another piece of logic to act on “sips” as the value. Hopefully it will run faster than GD. If not, I guess I can go back to ImageMagick. Although it would be nicer if apple’s command line tool were fastest… we shall seeeee…
Quality of blog entry coding?
Quality of blog entry coding?:
Question for you… how important is the quality of the HTML code for your blog entries? Quote this whole entry and blog your answers.

Technorati Tag: qualityofblogentrycode

uh.. not really important to me, if it’s clear who’s speaking, and who’s being quoted. I think 2-deep blockquotes is one too many. There’s just got to be a better way to do threaded conversations on blogs. if you could register a conversation origination point, then have a system to distinguish comment points based on blockquote tags, and branch off from there visually, you could draw a pretty good tree diagram of the topic tangents.
Technorati Tags: qualityofblogentrycode
Shop Notes 73 minilathe cutting diagram
I probably should have posted this a long time ago, but here it is.. Click here for a PDF of a helpful if not totally scientific cutting diagram for ShopNotes 73′s Mini Lathe. It doesn’t include the dimensions of the pieces, so you’re still going to need to buy the back-issue, but, this is the best thing that I did to ensure that I was able to complete the entire project… Also, double check my drawing before you start slicing up plywood. ALSO, I’m not responsible for your over-eagerness. Exercise caution when operating powertools, don’t be stupid, etc, etc, etc. I’m providing this diagram for informational purposes only! make sure you know what you’re doing, yadda yadda yadda.
Technorati Tags: diy, howto, woodworking



