Technology?A site for testing the new tools I'm building, and a little talk about what I'm learning on the way. |
Joshua dot Perina dot com - Posts - RSSSyndicated content powered by .geographical mediaRSS syndication makes it easy to receive content updates in My Yahoo!, Newsgator, Bloglines, and other news readers. |
Current Feed ContentUltimate Frisbee MauritiusI still haven't found any ultimate frisbee in Mauritius. I'm living on the North Coast (near Mont Choisy beach) if anyone knows of any ultimate here please let me know. Or if you are looking for some drop me a line and maybe we can go throw a disc.The best free icon collection on the internet - Icons Etc.I've been waiting a long time for someone to put together a truly free large collection of free icons for use in our projects. Until now, the only good collection of icons I could find was the Crystal Project icons. Today I discovered Icons Etc. Here is a little quote from there website: "Icons Etc is pleased to offer 128,743 free icons and clipart stock images for web design, application design, graphic design, and many other purposes. " These icons look like great quality and appear to...VGA Planets "Nu" - The official VGA Planets remakeFor those of you who know me well, you'll know I've always had a soft spot for the science fiction video game VGA Planets. In fact, I've been a player for nearly 20 years and so has my Dad. As a software developer I've often thought about making a new version of the game as the game gets older and older and the technology more outdated. A few weeks ago I contacted Tim Wisseman the original creator of the game and asked him what he thought about a web-based remake. He thought it was a great...Sending Email from Amazon EC2There have been a few posts around about the proper way to send email using Amazon EC2. I have found that overall it is not that difficult and Amazon continues to improve their service and fight the spammers. However, as it stands today in order to send email from your Windows or Linux application you will still need to do a number of things to ensure successful email delivery. Configure your email server and assign a new Elastic IP address to itSetup reverse DNS and ask Amazon to remove...Using SSL (https) with Mono HTTPListenerThese steps took me a little while to figure out and didn't seem to be all in one place. Using you GoDaddy or other signed certificate you can get mono httplistener working with ssl. Create the signing request: Create a key file: #openssl genrsa -des3 -out yourdomain.pem 2048 Optionally remove the password: #openssl rsa -in yourdomain.pem -out yourdomain.pem.nopass Create the certificate signing request. Your certificate provider should have some instructions on what goes in each fields,....NET MimeTypes Class in C#This is my quick class for determining the MimeType of a file by its extension. It is very basic. Please post more types if I am missing them so I can keep it updated. using System.Collections.Generic; namespace Lara.Sys { public class MimeTypes { public Dictionary AllTypes; public string GetMimeType(string extension) { if (AllTypes.ContainsKey(extension)) return AllTypes[extension]; else return...Great WordPress PluginsTiny MCE Advanced - Add all TinyMCE functionality back in. Great for enabling tables:http://wordpress.org/extend/plugins/tinymce-advanced/ Members Only - Secure site during construction so only authenticated users can use it:http://wordpress.org/extend/plugins/members-only/Flash IO Error #2038 when Uploading Files in .NETIf you are using a flash uploader to upload files with a progress bar to your .NET application and getting IO Error #2038 you may be hitting the 4MB upload limit on the file uploader. Update your web.config to support larger files: IIS 7 requires a second setting to go above 29MB:Javascript DOM Ready for SSL in IEMany of the existing javascripts snippets you see on the internet to determine whether the DOM is fully loaded do not work properly in Internet Explorer when using the HTTPS secure protocol. The "normal" script is as follows and works great for HTTP but will throw unsecure item warnings in IE because it adds a script element to the page. Here is the updated script which works with both secure and unsecure connections: function checkReady() { if (document.addEventListener) {...Javascript Replace All with VariableHere is how you replace all values in a string with another string which is inside of a variable using Javascript: var str = "Please change all the change words in this sentence."; var searchfor = "change"; str = str.replace(new RegExp(searchfor, 'g'), "changed"); The resulting value for str would be: "Please changed all the changed words in this sentence."; |