Friday, January 27, 2012

Printf Formatting

 
%d %i   Decimal signed integer.
%o      Octal integer.
%x %X   Hex integer.
%u Unsigned integer.
%c Character.
%s String. See below.
%f double
%e %E   double.
%g %G   double.
%p      pointer.
%n Number of characters written by this printf. 
No argument expected.
%%  %. No argument expected.
 
 

Wednesday, January 25, 2012

Embed PDF in website

To embed a pdf in a web page use the following HTML code:

<embed src="weddingbrochure.pdf" width="850" height="575">

Here is the above example:
http://www.whitemare.co.uk/occasions/weddingbrochure.html

It is then down to your browser to take care of embedding the PDF program with the loaded document. I also include a link to the actual PDF underneath the embed, if you want users to be able to download the document. Chrome just displays the PDF document in a scrollable view, with no controls. IE and Firefox display the PDF document with PDF controls around the document. I personally prefer Chromes minimal approach.

Monday, January 23, 2012

Remove a startup application

If you have an application that runs every time you start Windows and want to remove it first look in the Start up folder, normally C:\Documents and Settings\<User Name>\Start Menu\Programs\Startup.
 If it is not in this folder then it is set to run in the registry:
Select Run, from start menu and type: Regedit

Then navigate to on of these locations, find the application name you want to stop running and delete it.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce]
 Be careful not to delete something you might need to run.

Monday, January 16, 2012

Nokia, as part of it's efforts to regain it's smart phone crown have signed a deal with EA Games, for the next 25 titles. Would that make you buy a window phone?





Nokia gets another OS

Nokia are buying yet another operating system, I hope for the company involved (and people who have put their hard work into it), that it is used. Maybe this is a replacement for Series 40? Or maybe another canned project in years to come???

http://www.theregister.co.uk/2012/01/09/nokia_another_os/


US killer spy drone controls switch to Linux

Seriously, you would power a leathal Drone on Windows, well it appears not any more:

http://www.theregister.co.uk/2012/01/12/drone_consoles_linux_switch/

Wednesday, January 4, 2012

Symbian and S40 here to stay.

Nokia have announced that they are going to rename Symbian Belle to Nokia Belle. Now is this a move that suggests mathballing? or one that is look to move it forward.

http://www.techspot.com/news/46756-nokia-renames-symbian-belle-to-nokia-belle-available-in-february.html
I think for Nokia to maintain their low end market share, the S60 (Symbian) and S40 platforms are here to stay.

The shuttleworth foundation's take on this:
http://www.shuttleworthfoundation.org/nokia-symbianbelle-here-to-stay/