Subversion on OS X

Posted in OS X Tips, Programming on April 21st, 2011 by phoenixdigital

The best free subversion client I have found to date for OSX
http://scplugin.tigris.org/

Tags: , ,

Netbeans on Windows XP

Posted in Java, MySql on November 30th, 2010 by phoenixdigital

Here are some tips for getting Netbeans working on Windows XP.
Read more »

Online .NET and PHP Development

Posted in C# Programming, General Web, HTML & CSS, Javascript, JQuery, PHP Programming on September 12th, 2010 by phoenixdigital

Interesting site for developing online without the use of Visual Studio or Zend Studio.

http://www.coderun.com/

Not sure how useful it would be but it’s promising.

Firefox Plugins

Posted in General Web, HTML & CSS, Javascript, JQuery on September 12th, 2010 by phoenixdigital

Some useful plugins for firefox
Adblock Plus – Hides adverts on most sites
Web Developer – Nuff said
SQL Lite Manager – Manage simple SQL Lite Databases
Firebug – Great plugin for debugging
Greasemonkey – Create custom scripts which run for various sites
Screengrab – Snapshots of webpages including flash.

Tags:

Data Visualisation with Javascript or Flash

Posted in HTML & CSS, Javascript, JQuery on July 21st, 2010 by phoenixdigital

Great little time line viewer and other cool visualisations.

http://www.simile-widgets.org/

Serializing Mail Messages

Posted in C# Programming on July 13th, 2010 by phoenixdigital

Useful classes for serializing mail messages

http://nayyeri.net/how-to-serialize-a-mailmessage
and
http://gopi.codeplex.com/

Javascript inArray functionality

Posted in Javascript on June 15th, 2010 by phoenixdigital

Some useful examples of prototyping functions in javascript. As well as an efficient method of searching the contents of an an array for a particular value.
Read more »

Tags: , , ,

.NET Execution Order

Posted in C# Programming, VB .Net Programming on June 6th, 2010 by phoenixdigital

When a page is loaded the execution order is


Page_Init(object sender, EventArgs e) {}
Page_Load(object sender, EventArgs e) {}
Page_DataBind(object sender, EventArgs e) {}
Page_PreRender(object sender, EventArgs e) {}
Page_Unload(object sender, EventArgs e) {}

http://support.microsoft.com/kb/305141

Tags:

C# Primitive Types

Posted in C# Programming on June 3rd, 2010 by phoenixdigital

Useful lookup of variable types available in c#

C# Type .Net Framework (System) type Signed? Bytes Occupied Possible Values
sbyte System.Sbyte Yes 1 -128 to 127
short System.Int16 Yes 2 -32768 to 32767
int System.Int32 Yes 4 -2147483648 to 2147483647
long System.Int64 Yes 8 -9223372036854775808 to 9223372036854775807
byte System.Byte No 1 0 to 255
ushort System.Uint16 No 2 0 to 65535
uint System.UInt32 No 4 0 to 4294967295
ulong System.Uint64 No 8 0 to 18446744073709551615
float System.Single Yes 4 Approximately ±1.5 x 10-45 to ±3.4 x 1038 with 7 significant figures
double System.Double Yes 8 Approximately ±5.0 x 10-324 to ±1.7 x 10308 with 15 or 16 significant figures
decimal System.Decimal Yes 12 Approximately ±1.0 x 10-28 to ±7.9 x 1028 with 28 or 29 significant figures
char System.Char N/A 2 Any Unicode character (16 bit)
bool System.Boolean N/A 1 / 2 true or false

Javascript escape all single and double quotes

Posted in Javascript on May 31st, 2010 by phoenixdigital

Global replace of ‘s and or “s


    value = value.replace(/\'/g, "'");
    value = value.replace(/\"/g, """);

Tags: , , , , ,