• Sign In

Technology?

A site for testing the new tools I'm building, and a little talk about what I'm learning on the way..

  • Home
  • TechnologyView my occasional technology posts.
  • Life
  • Contact
    • My VideosWorking on Video
    • EffectsEffects I'm working on at the moment.

Joshua dot Perina dot com - Posts - RSS

Syndicated content powered by .geographical media

RSS syndication makes it easy to receive content updates in My Yahoo!, Newsgator, Bloglines, and other news readers.

Subscribe Now!

By clicking on your choice below:

Subscribe with My Yahoo!Subscribe with NewsGatorSubscribe with My AOLSubscribe with BloglinesSubscribe with NetvibesSubscribe with GoogleSubscribe with PageflakesSubscribe with Live.comSubscribe with Excite MIX

feed xml View Feed XML

Current Feed Content


Using SSL (https) with Mono HTTPListener

These 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 Plugins

Tiny 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 .NET

If 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 IE

Many 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 through 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 Variable

Here 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.";

New Projects for 2009 with News Statistics and Analysis

In January we re-launched an old website of ours into our big new project for 2009 and beyond.  Something we're very excited about and something I've been working on very hard over the past few months.  The new site is based on some concepts of the new and expanding semantic web.  Where more and more content is being put on the web in machine readable (rather than human readable) formats.  This means that higher levels of analysis and content interconnections can be discovered by content...

Google Chrome - it really is a better browser

I have to admit, when I heard Google was going to enter the "browser wars" with their new browser Chrome I, like many thousands of other web developers I'm sure, groaned, "Not another browser I have to test my code in."   So off I went to download it (get it here) and install it.  I read an article on Nettuts which explained some new things they had in mind and looked a bit at Google's site to get a feel for what they thought would be the big differences.  First off, I took one look at it and...

Travelling again...

Well after two years in The Gambia I have left.  Melanie and I have started travelling from The Gambia across west africa. A trip we have had planned for quite a long time.  When I was back in North America last summer we were beginning preparations and now we have commenced the journey by car in our white van.  Now we find ourselves 3 weeks in and already three countries deep.  Mela is updating her website a lot more than I am, but unfortunately you will find much of it is in German... not...

Chaos in the Morning

Sometimes strange things happen around here.  Even before we manage our coffee in the morning.  The other day we woke up to the dogs barking and discovered they had somehow caught a Drimmo, which is a giant Gambian rat up in a tree.   We took some video footage of us trying to get it out of the tree and the resulting disaster when it jumped out.  Warning, this video is not for the weak at heart. 

Try Lara

Build your own website with Lara.  A powerful content management system with easy and fun to use design tools. 

Visit http://getlara.com to learn more.

Go here for a good Javascript Html Editor.

Subscribe Now

Recent Posts

  • Using SSL (https) with Mono HTTPListener
  • .NET MimeTypes Class in C#
  • Great WordPress Plugins
  • Flash IO Error #2038 when Uploading Files in .NET
  • Javascript DOM Ready for SSL in IE
  • Javascript Replace All with Variable
  • New Projects for 2009 with News Statistics and Analysis
  • Google Chrome - it really is a better browser
  • Travelling again...
  • Chaos in the Morning
Website created with Lara by Geographical Media