Nieuwe website voor serious game Digit School

De nieuwe website voor Digit School, een serious game waarmee je razendsnel leert rekenen, is online. Extra lange printscreen hieronder.

Nieuwe website voor Digit School

Nieuwe website voor Digit School

Posted in Portfolio, Serious Gaming | Leave a comment

Serious gaming

Recently we are working serious games.  The new version will be made especially for children. More information and new website soon…

Serious Gaming

Serious Gaming

Posted in Serious Gaming | Leave a comment

Starting a service through Powershell on the Windows 7 local PC

In 1 sentence

Create a shortcut with ‘Run as administrator’ properties which points to powershell.exe path\to\script.ps1  with 1  line in it:  Start-Service -displayname  “the-name-of-the-service-that-you-want-to-sart” and have  the right execution policy for PS scripts.

The longer version

Through Windows Powershell-scripts administrators can automate almost all computermanagement tasks. All things that can be done through visual windows -and more- can be done through Powershell scripts.

When you want to start, restart or stop services it can be usefull to do that through a shortcut on the desktop, here is how i start or restart the Coldfusion service on my local PC.

Before you can execute Powershell scripts on Windows systems, you first have to set an execution policy. To get the current execution policy, open a Powershell command window or ISE  (Start > type powershell > hit enter) ‘as administrator’  and type get-executionpolicy. To set the needed execution policy, type set-executionpolicy RemoteSigned.  Now start creating the shortcut which start the service:

1. Create a file start-cf-service.ps1 and add the following line in it:
Restart-Service -displayname “ColdFusion 9 Application Server”
Save the file somewhere and notice i wrote the ‘Restart-Service’ command instead of ‘Start-Service’ because i want the script to double as a restarting service command, which restarts a service when it is already running (which can be usefull when a service ‘hangs’) and just starts the service when it is not running.

If this is the first time you are running Powershell scripts you also have to set an security policy for running scripts. without going into that too deep, you have to run a script with Set-ExecutionPolicy RemoteSigned in it once (see below).

2. Create a shortcut to powershell.exe by rightclicking on the desktop and typing the location of powershell.exe and the location of your newly created .ps1 script, for example: powershell.exe C:\powershell\start-coldfusion.ps1

3. The shortcut needs to be run ‘as administrator’ (through advanced > run as administrator in the shortcut tab of the shortcut (lol?)

5. Plus: the security settings of the local PC have to be changed to  “no notifications when a program tries to make changes”, to avoid pop-ups.

Some services, like the Coldfusion 9 (beta) service on my 4 year-old PC take a little time to start and stop, so the command window will show repeating warnings about starting or stopping the services. You can just ignore these warnings, they will stop when the service is really stopped or started and also the command windows will automatically disappear (except when used with the -noexit option, see below.)

There are a great number of other things that can be done with powershell, but starting a service on a remote PC is not 1 of them, due to beta status. If you want to see the status of your startservice script then use the -noexit option, as in: powershell.exe –noexit c:\scripts\test.ps1 which makes the command window stay open.

For more information on Powershell just Google it or read the free online book on Powershell. Example scripts can be found in thePowershell category of the TechNet Script Center Gallery

Happy scripting :)

Posted in Coldfusion, Scripting | Tagged , , , , | Leave a comment

Installation of Railo Express 3.1 OS CFML server on Windows

Railo is an open source server for CFML (ColdFusion Markup Language) and it can be used as a alternative to Adobe Coldfusion Server.
Below is an howto for installing Railo Express 3.1 on Windows 7. Railo express is not recommended on production servers,
but it can be an easy and low footprint development or testing server. For production environments, install -for example- Railo with the Resin 3.1.9 server.

On the Railo site there is an installation manual, but i’ve added a few things to make it even more of a no-brainer, especially for creating a virtual host. This installation is tested only Windows 7 RC:

To install Railo Express 3.1 on Windows 7 RC as follows:

1. Download Railo express.
2. Unzip and copy the whole zip contents to a folder, for example: c:\railo31
3. In c:\railo31 click on start.bat
4. Go to http://localhost:8888, choose a password an login.  Configure your CFML server

Your server is now up and running.

If you want to make a new virtual host on your Railo server:

1. To start a new website, make a copy of c:\railo31\contexts\railo.xml
2. Rename this copied file to the hostname of your choice, for example mywebapp
3. In this new mywebapp.xml file, make 3 changes:
4. Change ‘webroot’ into ‘mywebapp’
5. Uncomment the ‘virtual hosts’ section and delete the 3 entries there.
6. Add ‘www.mywebapp.com to this virtual hosts section.
7. Now, add ’127.0.0.1 www.mywebapp.com’ to the winows host file* (see below).
8. Under C:\railo31\ make a new folder named ‘mywebapp’ (note: not under ..\webroot)
9. Put an index.cfm with ‘Hello World’ in C:\railo31\mywebapp
10. Stop the Railo server and restart the Railo server
11. Go to http://www.mywebapp.com:8888 and you should see the ‘Hello World’ text.

* To edit the host file on Windows Vista and Windows 7:

1. Click Start – search for “Notepad“, right-click and select “Run as Administrator“.
2. Set it to All files (*.*) (because the host file has no extension)
3. Now, open the ‘host’ file from the File menu from C:\windows\system32\drivers\etc\ or %systemroot%\system32\drivers\etc\
4. Add 127.0.0.1 www.mywebapp.com (and ::1www.mywebapp.com for IP6?) to the end of this file and save it.

That’s it, you now have a fully function virtual host with a CFML server running and can start creating Coldfusion applications.

Posted in Coldfusion, Web development | Tagged , , | Leave a comment

WordPress site for Miss Minetti

Last month we’ve put a WordPress site online for the fabulous street performer Miss Minetti, ‘Queen of the street’. She is a high powered executive with a novel business plan. She has decided open her corporate headquarters in the centre of town! Her operating budget is very small and office rental prices are just too high so she has decided to set up her office on a small street corner and recruit employees from the crowd that passes by.

In order to find the right associate, Miss Minetti selects an unsuspecting member of the public at random and then subjects them to a series of training exercises designed to bring out their more aggressive business instincts.

In a whirlwind “motivational seminar”, Miss Minetti collates her own special brand of interactive comedy and improvisation with classic motivational techniques such as the walk of death, fire eating and the extra special “how to escape from a straight jacket” for corrupt executives who might be “ON THE RUN”.

missminetti.jpg

Posted in Portfolio | Leave a comment