Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Saturday, July 28, 2018

Sample Code

Bunch of sample codes I've written for use in lua on the Corona SDK, utility and math libraries.
Some of these may appear in both lists due to being a library within a demo.

I have now added a third list of other people's libraries as they are proving quite useful.


Tutorials:


Libraries:

Sample/Demo code:

Others:

Wednesday, December 02, 2009

Debugging Tools And Fun, Erm...

Some useful links if you're trying to find web dev debug tools:
Of course, deploying your DLLs in debug mode can help your logging, but release mode is going to provide at least 4x performance improvements. If you attach a profiler for checking memory usage or performance, you can leave your .pdb files up to get more information as these contain the .NET symbols used for inspecting the code. Please don't leave them there, as they are a serious security consideration - in short, if a hacker were to copy your pdb files from your server they've effectively stolen everything but the source code:
Here's some profilers that don't involve installing Visual Studio on a live server (always a bad idea):
There are, of course, sites out there for providing information about your site:
Of course, if you're intent on debugging in Firefox (www.firefox.com, of course) you should have:
Some tools for developing your code (essentially, my favourites, as there are tonnes, Microsoft's list notwithstanding (http://msdn.microsoft.com/en-us/magazine/cc300497.aspx)):
And a list of developer must-have's:

Friday, June 12, 2009

Subversion Explained

This enterprising young chap has broken the Subversion (SVN) source code control and versioning system down for all us pro techy geeks...

Thursday, April 30, 2009

Instant Messaging Tools

Wow, I seriously underestimated the number of instant messaging applications out there. I've been using MSN Messenger for a long time (hasn't everyone?) and now I work on Windows Std Server 2003 I can't - the two are incompatible, as is iTunes/WS2k3. So, I went looking for a replacement which might run on WinSrv2k3, and a quick google of "instant messenger comparison" brought me to this neat link:
Having said that, of course, there are plenty of tools, APIs etc out there to let you build your own instant messaging application - including an MSN Messenger app!...

Code and API's for developing with Microsoft's MSN Messenger service, found via:http://www.google.com/search?rlz=1C1GGLS_en-GBGB299GB309&sourceid=chrome&ie=UTF-8&q=c%23+msn ...
A number of these utilise the DotMSN API:
Also, dubiously, there is this, which I am just not sure about yet, perhaps it's a goldmine, perhaps a landmine: http://www.wonderhowto.com/how-to-hack-msn-web-cam/

Thursday, February 19, 2009

Convert byte[] to String

I was going to make one big entry containing lots of little bits of code, then realised I only had one to put in, because I keep forgetting it...

Converting a byte[] (array) into a String:

string outStr = System.Text.Encoding.UTF8.GetString(inByteArr);