Sunday, 31 July 2011

Programming basics to keep plants alive

while ($flowers == 1){
if (!$rain){water();}
sleep(60*60*24);
}



→ Full post and comments

Friday, 17 June 2011

CSS margin-top

Did you know that if you set margin-top of a child div as a percentage, it will be calculated based on the width of the parent div?


Try it


→ Full post and comments

Fix stuck windows and not working alt+tab keys in Vista

If you get a ghost of a window stuck above all the other windows, or if Alt+Tab doesnt work suddenly, you can try the following:
  1. Press Ctrl+Alt+Delete
  2. Start task manager > Processes tab
  3. Find explorer.exe and end the process
  4. If there are still bits stuck, end dwm.exe (desktop window manager)
  5. Go to Applications tab > New Task. Type in "explorer" and press Ok
Hopefully that helps


→ Full post and comments

Fix missing "package" button in indesign

Had this odd problem saving some artwork for print. Went to package and the whole chunk of the menu was missing including the preflight etc.

Easy fix:
Apparently I ran out of disk space and the memory was all used up when I was launching indesign so the package plugin didn't load. The buttons come back when you free up some space and re-launch the program.


→ Full post and comments

Saturday, 15 May 2010

Wednesday, 10 February 2010

Adding a link in Google Buzz

Was I surprised when I saw that the newly released Google Buzz is using the same method for illustrating a bookmark as the one I used for my Banana Cargo project?

Sure I was, especially having launched the Banana Cargo a month ago.

Here is Banana Cargo fetching a bookmark title and images in real time:


And here is the Google Buzz doing the same thing:

Only difference is that I have only programmed my script to fetch jpegs, and the google version is quite happy to swallow png's too.

Google is watching us :D

→ Full post and comments