BASH command line history

Sweet. The page has more tips as well like getting partial stuff from your history. I don’t know how much of this will work on OSX but it’s still neat to see.
Access to command line history in BASH
To activate those two commands, add this to your .bashrc file:
bind ‘”\e[A”‘:history-search-backwardbind ‘”\e[B”‘:history-search-forward
Now you can easily summon any [...]

Messy XML that needs a quick clean up?

Really neat and nifty. This is for when you have those one liner strings of XML in a log or something (like CharlesProxy’s response pane) and you want to view it all nicely. Normally CharlesProxy does an excellent job… for well formatted XML. At least some code I was working with really wasn’t well formatted [...]

Printing from OS X 10.5 to a Canon Pixma MX330 shared on a Windows XP box

Since there are no drivers available to print to a shared Pixma MX330 that I am aware of, I have been unable to print to the printer. And because there are no drivers that allow the DNS-323 to host the Pixma MX330 as well, that was out, too.
The following did work though, except actually printing [...]

And an example on how to use JSFL

And this is cool, too. I’m always looking for productivity tips and this is very cool. It really opens up a lot of possibilities.
deleteaso » Fix Textfields JSFL
Today Seb was having some issues when dealing with embedded fonts – read his post. He came up with some ActionScript ways to get around it. Well another [...]

Update multiple bitmaps at once in Flash CS3

Just wanted to keep a note on this for future reference. Very helpful!
onebyoneblog » Blog Archive » Flash UI Panel to Edit the Properties of Multiple Bitmaps
Basically, it’s just as I described – you highlight multiple Bitmaps in your .fla’s library, adjust the settings (allow smoothing, lossy/lossless, jpg compression quality), then click on the “execute” [...]

Should I check it or not! Uncheck it, and leave a note

Since this is being developed for others, the final concensus is to uncheck it and leave a README.txt that explicitly says so.
Accessing named MovieClips placed on the stage in Flash CS3 while staying true to OOP best-practices « dispatchEvent()™
I happen to agree with Sarah that the best way to work is to uncheck [...]

More on strongly typed references to timeline instances

And this states the issue well in a short sentence. Developing for Flash outside of the Flash IDE breaks into two camps if the “Automatically Declare Stage Instances” is checked or not. The solution mentioned below is another way (closer to the way I do) to get a reference not only as a movie clip [...]

Other helpful shortcuts and tips for both os x and windows

Mostly notes for reference. Although Ctrl+F2 doesn’t seem to work without first going somewhere else like the dock with Ctrl+F3. Odd… maybe something I broke already.
Keyboard – XvsXP.com, Mac OS X vs. Windows XP
Most special characters can be typed with the help of the option key. Use option when typing a letter or [...]

Getting strongly typed objects from flash cs3

I have done this for AS2 using Flash Develop, and something similar to it using PureMVC for a Flash CS3 project developed within FlexBuilder, but it’s nice to see it “approved” of sorts. The issue? How do you access objects on the timeline in a strongly-typed manner. The blog post itself describes the situation well [...]

Other helpful shortcuts and tips for both os x and windows

Mostly notes for reference. Although Ctrl+F2 doesn’t seem to work without first going somewhere else like the dock with Ctrl+F3. Odd… maybe something I broke already.
Keyboard – XvsXP.com, Mac OS X vs. Windows XP
Most special characters can be typed with the help of the option key. Use option when typing a letter or [...]

OS X list of os x shortcuts

Many I knew, some I didn’t. But the author is right that it helps. The Tips & Tricks page has some nice notes as well.
Dan Rodney’s List of Mac OS X Keyboard Shortcuts & Keystrokes
I like to figure out the fastest way to do things. I hope these shortcuts will help you become the power [...]

Another note on debugging Flash with Flex

Neato. Just making notes but it’s good to see.
BUT REMEMBER TO SET “Permit debugging”. Drove me crazy for a while until I saw I hadn’t…
Big Bad Code » Blog Archive » Using Flexbuilder to edit and debug Flash Applications
Now you have the full power of Flexbuilder to code and debug and [...]

Debug Flash CS3 with Flex Builder

Lots of info on using Flex Builder to edit, but not so much on debugging. Just taking some notes.
Using FlexBuilder 3 to debug & edit Flash CS3 projects « The Morphic Group
Recently I was working on a project that due to a requirement had to be compiled in Flash CS3. Having spent the last few [...]

Flex setter not executing when using binding

Good to know. And it does make sense as described in the comments. This is for my future reference and for others who may experience it.
In a nutshell, if you have a getter/setter pair and make them [Bindable], the setter will not execute again if the new incoming value is the same as the current [...]

Special keys like…

™ and ® ‘’ “” µ all kinds of groovy hard to type things
Keyboard Shortcuts for special characters

Flex, SWFObject, history and deeplinking

A nice template for Flex for incorporating SWFObject, history, and deep linking.
Just Flex: Swfobject 2.1 Flex template. HistoryManager and DeepLinking supported as well
I have been using Geoff Stearns’ SWFObject for a long time. I think it will be useful to share my index.template.html that tuned for using with SWFObject 2 2.1. I was inspired with [...]

Simple AS3 tooltip

Just want to keep a reference to this one
Tyler Egeto
I’ll be releasing more tools and helpers in the near future as I formalize / clean-up my existing code libraries. In addition to the ActionScript pagination system released earlier this month, PaginatorAS3, today I’m release a small Tooltip system.

Using [Transient]

I haven’t had to use this yet but it’s definitely a gotcha to keep in mind if doing deep copies and things aren’t working exactly right…
On [Transient], ObjectUtil.copy(), and Casting – darron schall
I ran into an interesting situation not too long ago where ObjectUtil.copy wasn’t working quite as I had expected. The solution that I [...]

grep instead of python?

I have an xml file with a listing of images that I need for a site. Typically I fire up IPython with Amara and do my xml wrangling there. But I also needed the files. I thought about using python to also grab and save the files but a little search led to this post. [...]

Getting an int from math calculations in javascript

Javascript – Casting to integer on arithmetic division… – Rexiology… – MSMVPS.COM

As Javascript been a weak-typed language, sometimes it’s not able to
cast a variable from one type to another. as in arithmetic division, if
one wants to output an integer instead of a double or else, here is a
way learned from this article that’s useful:

a = [...]

Overflow:visible IE6 bug workaround

I can’t believe it but it actually seems to work!
Is there any workaround to this bug (overflow:visible;)?

> #sidebar { overflow: hidden; }<br /> /> #sidebarContents { position:relative; }<br />

Adding a PHP nature to a project

I have a remote project already online and the PHP project type functions weren’t working, i.e. the PHP Explorer, the Outline view, Command(Ctrl) clicking an item to jump to it’s definition, etc. Those are really helpful! Not to mention auto completion! What was needed was the .project file on the server had to be updated [...]

Pythonic grep sort of

Looking for a way to crank through files and search for specific text within matching files. Found this and it’s very neat.
Python: find files using Unix shell-style wildcards « Muharem Hrnjadovic
The download though was a little hard to find so I just got the source tar.gz file from here:
http://ppa.launchpad.net/al-maisan/ubuntu/pool/main/s/scriptutil/
[update]In the end I tried grep which [...]

OS X, XDebug, MAMP, Zend Optimizer

It’s true… disable the Zend Optimizer. I had the same issue and this resolved it.
Installing XDebug with Mac OS X MAMP: disable PHP Zend Optimizer | AgaricDesign.com
After getting rid of (commenting out) the three lines about Zend optimizer in php.ini, it failed a couple times but then started working.

Recursive grep on OS X

grep -nr -C2 text *