psyrendust

A mix of code and life, by Larry Gordon

Archive for the 'programming' Category

ActionScript 3 Workshop Slides

This is a great slideshow on ActionScript 3 development from Grant Skinner.
ActionScript 3 Workshop Slides

No comments

ejectAllVolumes Dashboard Widget v1.1.0

Eject All Volumes widget v1.1.0

This is an update to the ejectAllVolumes Dashboard Widget.

This version Will give you a list of mounted volumes. You can deselect any volumes that are listed to exclude them from the unmount action.

Links after the break.

Read more

No comments

ejectAllVolumes dashboard widget v1.0.1

Eject All Volumes

Today I’m releasing a Dashboard widget that will allow you to execute a bash script that will eject all mounted volumes with 1 button click.

To download the widget: Download ejectAllVolumes widget 1.0.1 (Zip file)

For more details check out the ejectAllVolumes project page.

1 comment

ejectAllVolumes v1.0.1: update

I got some feedback after passing this out to a few friends. Here is what I’ve changed:

  • Removed clear
  • Output the display message to /dev/null
  • Removed echo "complete"

These changes remove any of the outputs to the display. The only time you will receive a message is if you have file that is currently open in an application and the script cannot unmount the volume.

For more details check out the ejectAllVolumes project page.

No comments

ejectAllVolumes v1.0.0: Eject all mounted volumes from your Mac

After some tooling around I’m finally releasing a little bash script called ejectAllVolumes. This script is named after it’s purpose. It will safely eject all mounted volumes from your Mac.

For more details check out the ejectAllVolumes project page.

No comments

goosh.org - the unofficial google shell.

Goosh (Google Shell) is a cool web-app written by Stefan Grothkopp. It’s not an official Google product but does tie into many of functions that Google does provide. All access is done through a command-line interface.

Here is a list of the commands that are available:

  • web - google web search
  • lucky - go directly to first result
  • images - google image search
  • wiki - wikipedia search
  • clear - clear the screen
  • help - displays help text
  • news - google news search
  • blogs - google blog search
  • feeds - google feed search
  • open - open url in new window
  • go - open url
  • more - get more results
  • in - search in a specific website
  • load - load an extension
  • video - google video search
  • read - read feed of url
  • place - google maps search
  • lang - change language
  • addengine - add goosh to firefox search box
  • translate - google translation

Check it out: goosh.org - the unofficial google shell.

No comments

DimP - A Direct Manipulation Video Player

This is a very cool concept for online video manipulation: A Direct Manipulation Video Player
Here is the project site: DimP



Here is a quote that describes the concept.

DimP, a direct manipulation video player, lets users drag items on the video screen to move forward and back instead of just via a scroll bar on the bottom of the video. This is not only more fun, but it also allows users to scroll through video to where they want to be β€œat least two times faster,” In a paper presented by Pierre Dragicevic, Gonzalo Ramos, Jacobo Bibliowicz, Derek Nowrouzezahrai, Ravin Balakrishnan, Karan Singh from the University of Toronto, the authors present their method for browsing video by directly dragging content by β€œ1) automatically extracting motion data from videos; and 2) a new technique called relative flow dragging that lets users control video playback by moving objects of interest along their visual trajectory.”

Check the video’s after the jump.
Read more

No comments

Change the hostname in Mac OS X [osx]

When I log into the network at my job my Mac’s hostname always turns to:

larryx.na.corp.ipgnetwork.com

I have my local hostname set to:

larryx.local

So What I would like to do is set my Mac’s hostname to my local hostname. You can do this all from Terminal in a single line.

Run this command in Terminal:

sudo scutil --set HostName larryx.local

Read more

No comments

Why programmers need their hands!

After watching this video “Microsoft Vista Speech Recognition Tested - Perl Scripting” it reassured me to why programmers need their hands! Because talking/speech recognition will just not do!

Please note that this video is only worth watching from about 1 minute into the video till about 7 minutes.

1 comment

AS3 Animation Benchmarking Utility, TweenBencher

Moses Gunesch the creator of FuseKit created a very nice open-source tool called TweenBencher. The utility can be used to chart animation performance through the Flash Player’s framerate over the time of the animation. This is a really nice tool and goes a long way to helping developers figure out which animation package to use and for what reasons.

My results showed that the top performers were (in order):

  1. Simple AS3 Tween (could not find a link for this one)
  2. TweenLite
  3. Tweener

Here is the output of my tests for every animation framework that is listed in the demo application.
Read more

4 comments

Next Page »