25 Feb 2008

Save OSX voice to an audio file.

Did you know you can get your mac to talk?

Open terminal and type: say tumblr is the moshizel

whats even cooler is that you can even get you mac to read a text document and save it as an audio file. For example.

say -o myaudio.aiff -f storybook.txt

Now this is cool, because I have a funny idea on what to do with the audio. Coming in part 2. 

25 Feb 2008

L2h6udook5u2wyf0c6xgqico_500

The cutest error messages on Twitter.  I wonder what it means, the robot lit the bomb but defused it at the same time?

20 Feb 2008

L2h6udook5msrztbrfsvnr89_500

From the photobooth at Webstock.

19 Feb 2008

Using a DOS BAT file to do some heavy FTP work.

Ever wanted to upload a file automatically using Windows / DOS and FTP to your server.  Its not that easy at all.  Here is a bat file you can create to help automate this process.  You can modify the file as you need and make different solutions for different problems.
Essentially this system saves a whole lot of commands to a file called ftpcmd.dat, then right at the end, you can get the inbuilt windows FTP client to execute this file.  So here goes.

 ——————

@echo off
echo user USERNAME> ftpcmd.dat
echo PASSWORD» ftpcmd.dat
echo bin» ftpcmd.dat
echo cd DIRECTORY»ftpcmd.dat
echo put FILENAME» ftpcmd.dat
echo quit» ftpcmd.dat
ftp -n -s:ftpcmd.dat FTP.YOURSERVER.COM
del ftpcmd.dat

 ——————

Where USERNAME is your username.
PASSWORD your ftp passwrod.
DIRECTORY is a folder on your server, eg / for root, /sites/yoursite.com/images/ would be your images folder.
FILENAME is the file you want to copy, maybe you can do *.* or *.jpg and probably file1.jpg file2.jpg (havent tried that).
then FTP.YOURSERVER.COM is the ftp location of your server.

If you wanted to do more than 1 file or folder, then do something like this in the middle.


1.
echo cd DIRECTORY»ftpcmd.dat
echo put FILENAME» ftpcmd.dat

REM now another folder on the server and on the file system.
echo cd images/jpgs»ftpcmd.dat
echo lcd images/jpgs»ftpcmd.dat
echo put JPGFILES» ftpcmd.dat

The LCD command means change my local computers directory.  CD is change the directory I will upload into on the server.


2.  If you want to command line this to make it even more flexible. 

@echo off
echo user USERNAME> ftpcmd.dat
echo PASSWORD» ftpcmd.dat
echo bin» ftpcmd.dat
echo cd %2»ftpcmd.dat
echo put %1» ftpcmd.dat
echo quit» ftpcmd.dat
ftp -n -s:ftpcmd.dat FTP.SERVER.COM
del ftpcmd.dat


save the file as superftp.bat. You will have to update details for each FTP server

then from dos,
superftp.bat myimage.jpg /sites/supersite.com/images/
this will copy myimage.jpg to the images folder on the server.

So this can be used as a super handy way to upload files to your server in one click.

15 Feb 2008

L2h6udook5fxdt1dunjzclaa_500

Watching the Wellington Ukalele orchestra!

13 Feb 2008

My article about Foo camp now live.

11 Feb 2008

L2h6udook59pcp1ltvs5sno3_500

Great photo. Found on digg not sure who to credit.

8 Feb 2008
I had to laugh when John Ballinger’s Mac wouldn’t project for his AIR session and I had to lend him my Toshiba running Vista (oh how times have changed ;)

Nigel Parker : This is the 3rd new Macbook I have seen not work with this projector. But every single windows computer works. And again tonight at www.meetup.com/webdesign/108 my Macbook wouldn’t work with a projector. Can I say that if you need a computer to work with projectors I dont know if a your Macbook is going to work.  ~ very fustrated.

6 Feb 2008

L2h6udook52zzqxo60hdayq8_500

The clutter on the side of our lounge, 2 bikes thick with spare wheels.  Just waiting to be sorted.

6 Feb 2008

L2h6udook52zv8edsmuacsdm_500

Now with new bike rack.  2x peices of 1.5”x1.5” pine sections. 4x screws and some plywood at the top to make the shape. Very simple.  Then use bike hooks for a few bikes from local hardware store and viola, 1 bike raised off floor and 2 wheels now organised. Didnt take very long or cost that much in the end.