Tuesday, May 4, 2010

dryicons.com - icons, vector graphics, templates

Tuesday, April 27, 2010

Windows Subversion Maintenance Scripts

create_repo.bat

@echo off

REM Check command line args to make sure a customer and project name were passed
IF (%1)==() GOTO CMDLINE
IF (%2)==() GOTO CMDLINE

REM If svnadmin is not in your path, uncomment the following
REM PATH=%PATH%;"D:\Program Files\Subversion\bin"

REM Set up variables with the directories
SET CUSTOMER=%1
SET PROJECT=%2
SET CUR_DIR=%~dp0
SET CUR_DIR=%CUR_DIR:\=/%
SET SVN_DIR=%CUR_DIR%/repos/%CUSTOMER%
SET PROJ_DIR=file:///%SVN_DIR%/%PROJECT%

echo Creating directory in %SVN_DIR%

svnadmin create "%SVN_DIR%"
svn -m "Create default structure." mkdir %PROJ_DIR% %PROJ_DIR%/trunk %PROJ_DIR%/tags %PROJ_DIR%/branches
GOTO END

:CMDLINE
echo Usage: %0 ^ ^

:END
echo Done



dump_all.bat

@echo off

SET DUMP_DIR=dumps
SET REPOS_DIR=repos

IF NOT EXIST %DUMP_DIR% (
echo Creating directory %DUMP_DIR%
md %DUMP_DIR%
)

echo Dumping...

FOR /f %%i IN ('dir /B /A:D %REPOS_DIR%\*') DO (
echo Dumping %REPOS_DIR%\%%i to %DUMP_DIR%\%%i.dump
svnadmin dump %REPOS_DIR%\%%i > %DUMP_DIR%\%%i.dump
)


restore_all.bat

@echo off

SET DUMP_DIR=dumps
SET REPOS_DIR=repos

echo Restoring....

REM %%~ni becomes the dump name without .dump

FOR /f %%i IN ('dir /B %DUMP_DIR%\*.dump') DO (
echo Restoring %DUMP_DIR%\%%i to %REPOS_DIR%\%%~ni
svnadmin create %REPOS_DIR%\%%~ni
svnadmin load %REPOS_DIR%\%%~ni < %DUMP_DIR%\%%i
)

Friday, April 2, 2010

PosterGenius for linux is out there

New build is available for download. Read the post PosterGenius 1.5.12 Beta Milestone 20100629 available for download

First beta version of PosterGenius for linux is just released and it's FREE. Grab it while its still hot!


http://rapidshare.com/files/370726260/postergenius_20100401.gtk.x86.deb
http://rapidshare.com/files/370787582/postergenius_20100401.gtk.x86_64.deb

Instructions

Setup instructions for Ubuntu 9.10 (karmic) :
1. Enable karmic partner repository
2. .deb setup (sudo gdebi postergenius.gtk.x86[_64].deb)

iMac + Julia

iMac + Julia

Sunday, March 28, 2010

Text 2.0



What if your book really knew where you are gazing at?

Saturday, March 27, 2010

Julia on Board

From Julia

Its all about HTML5 - CANVAS and CSS


Raindrop Logo in CSS

Playing around with -moz-radial-gradient this past while, and seeing the amazing job done on the CSS Opera logo by David Desandro, I thought I’d have a go at recreating one of the logos I illustrated within the past year using pure CSS.

Opera logo in CSS


Aside from another shameless plea for attention, this demonstration gives me a chance to look at some CSS3 properties across browsers.

Dynamic 3D lighting effects in Canvas



I made a little experiment with normal mapping and phong shading in javascript which turned out to work quite well. I think with a little bit of tweaking it could be used in a real time game. Just move your mouse over the images bellow to see it in action. You'll need a modern browser supporting the canvas tag for this to work. Google Chrome seems to be the fastest.

Bye Bye Flash: Network Graph is now Canvas



When I initially sat down to write the Network Graph two years ago, I chose Adobe Flash for two primary reasons: 1) I was already familiar with Flash, having worked with it professionally, and 2) plausible alternatives such as Canvas and SVG were poorly supported across browsers, buggy, and slow.

Times have changed, however, and the HTML5 Canvas draft specification is now almost fully implemented on the latest versions of Chrome, Safari, and Firefox. Opera supports Canvas but not the text API. Canvas is missing entirely from Internet Explorer, but the word on the street is that IE9 will finally offer support. In the meantime, the open source community has created excanvas, a way to get Canvas support on current versions of IE.