If you want virtual snow (probably nicer than the real stuff as there is no slush left to clean up) then check out Snowstorm: JavaScript snow effect for HTML. Be warned though – this uses a lot of CPU on the computer redendering the page and it will slow things down. Quite cool though.
Dec 02 2009
Redirects setup
After moving the blog to WordPress, almost all my redirects should work now from the old blog posts to the new one. For example if you click on this old url http://desigeek.com/weblog/amit/archive/2009/10/25/installing-openscenegraph-on-ubuntu.aspx it should redirect you and you see the new and correct url.
Overall it was simple to setup via the .htaccess file and some simple regex. The only thing I found the hard way was that I should be using “RedirectMatch” when setting up the regex rule rather than the “Redirect” which is what I was using. You would use Redirect when trying to redirect without any variables.
So, as in my case I wanted to redirect from the old url (of community server) to the new one (of wordpress)
- Old: http://desigeek.com/weblog/amit/archive/2009/10/25/installing-openscenegraph-on-ubuntu.aspx
- New: http://desigeek.com/blog/amit/2009/10/25/installing-openscenegraph-on-ubuntu/
So I need to make the following changes:
- Change the “/weblog” to “/blog”
- Get rid of “/archive”
- Get red of the “.aspx” extension
The following rule helped me achieve this:
RedirectMatch 301 /weblog/amit/archive/([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*)\.aspx$ http://desigeek.com/blog/amit/$1/$2/$3/$4
Of course there are a few more rules I have which I cannot go into details.
Along the way i also discovered a few interesting tools which can help you view the results – one is LiveHTTPHeaders; another good one is http://web-sniffer.net/.
If you are new to this, then a few very good tools online. I would suggest start with this post from Zo and this tutorial on regex.
i still have one outstanding issue where if I want to redirect part of the URL and not the complete thing, I am not sure how to do it. For example if I want to redirect the old url above to just the year/month of the post instead if the actual post, not sure how to go about doing it. So I want the url below to map to the the one below that.
- URL to Map: http://desigeek.com/weblog/amit/archive/2009/10/25/installing-openscenegraph-on-ubuntu.aspx
- Should map to: http://desigeek.com/weblog/amit/archive/2009/10/
Nov 26 2009
Linux Hater blog
I was looking for something else and came across the Linux Hater Blog. I am not a Linux hater (am writing this on Ubuntu). Some people might think this is funny, but there is a dark undercurrent running in the posts. I honestly stopped reading after a couple of posts. I don’t know why is there so much hate against Linux in this blog.
Am surprised by the negativity on the blog. I am no Linux expert and am more comfortable in Windows, but having used more of Ubuntu (9.04 and 9.10) over the last few weeks for my studies has made be appreciate some aspects even more. Is it perfect? Of course not, and nor is Windows or OS X or insert-your-favourite-OS-here. Maybe I should try and start a blog hater blog.
Nov 26 2009
Suggestions on how best to configure Permalink Settings?
Any suggestions how best to configure the Permalink settings in WordPress? I still need to fix all my old links from this blog when it was running on Community Server 2007. CS 2007 use to use something like /archive/year/month/day/unique-id. Is that the best way to go now as well or are there better and more flexible options?
Also I tried using the %tag% field, but it does not like it and had to revert to using %categories% as you probably can see. Again, any suggestions there?
Nov 23 2009
Add-in recommendation for displaying code in a post?
I searched and found a lot of WordPress addins/widgets for displaying code in a post and was wondering if there are any recommendations? I need to be able to show XML, C++, C, C# primarily. F# and Haskell would be nice but not essential.
Update: Also should be able to use Windows Live Writer when posting the code. Am I asking for too much here?
Aug 24 2009
Time to ditch CS 2007 nearer?
I have said it in the past about me moving away from CS to WordPress. I just stumbled across this post from Scott who has done exactly the same thing. So maybe the time to ditch CS is coming near. I just need some free time to try this.
Mar 24 2009
Network Attacks
I am getting DOS attacks from the following IPs at home. Some of these are honeypots.
- 89.139.84.130
- 86.151.215.171
And Port Scans from this guy/gal (apparently in China)
Mar 24 2009
Creating a bootable USB drive for Windows
Dave has an excellent post on how to create a bootable USB drive for installing Vista or maybe Win 7. You could also use WinRAR to extract your ISO directly on to the flash drive (after formatting it as NTFS of course). A couple of points to remember though:
- Make sure you use a “flash” drive (or USB stick) and not a USB HDD drive as some of those have issues with this.
- Check different USB ports – all of them may not allow to boot up.
Mar 17 2009
Disable Auto-tuning on Windows
Receive Window Auto-Tuning is a feature in this version of Windows that improves networking performance when you are using newer networking hardware, but the feature might cause problems with older networking hardware. Sometimes, disabling Auto-Tuning might solve your problem.
To disable Auto-Tuning:
- Click the Start button
, and then, in the Search box, type cmd. - Press CTRL+SHIFT+ENTER to run the program as an administrator.
If you are prompted for an administrator password or confirmation, type the password or provide confirmation. - At the command prompt, type netsh int tcp set global autotuninglevel=disable, and then press Enter.
- When the process has finished, restart your computer. If this procedure does not solve the problem, you can turn Auto-Tuning back on by repeating steps a and b of this procedure, typing netsh int tcp set global autotuninglevel=normal, and then pressing Enter.
Mar 11 2009
Am tweeting now
Although I have had an account for some time on Twitter, I just have not been bothered until now. Anyways, that is changing – am tweeting now. You can follow me there if you choose to – though not sure if I am going to make any more sense there than here. ![]()
Mar 09 2009
Avanade Surface Demo
This is a cool Surface demo build my a few colleagues which showcases a hospitality demo. We build this and got it up and running out of our Avanade London office.
Mar 03 2009
What Blogging Engine (other than CS)?
I am using Community Server 2007 for my blog. I originally started in .Text (which some of you ‘old timers’ might remember as being open source) and had modified the code a fair amount to something I wanted. Over the years stuck with that and then CS 1.0, 2.0, etc as .Text was ‘morphed’ into Community Server (CS) from Telligent.
While overall I have been happy with CS 2007 off late I have been quite put off with it due to a few reasons:
- I liked the open source elements and CS now is just too commercialized for my taste.
- Even though I have configured comments and feedback – all of that is broken and I just can’t seem to fix it (part of the reason is not having too much time to dig into a lot of details).
- Upgrade to CS 2008 fails – miserably – many moons ago I spend a whole day trying to get this upgraded and it just did not work. No one on Telligent’s forum could successfully point to what is wrong. I rolled back to CS 2007.
- Upgrades other than not working – generally are quite painful.
I am ready to move to something else – but there are a few things that need to be supported:
- I host my own domain (stating the obvious if you are reading this), etc so need this running in something I control – or in other words hosted blogs (e.g. MSN, Google’s, etc.) are out. I already have IIS and SQL Server database.
- Need to be able to move my existing posts from CS 2007 to whatever I move to.
- Preferably: Support multiple blogs – though right now it’s only one, but some off the family members might want one later.
- Need to support XML-RPC (a.k.a MetaWeblog API)
- Ability to post code and script snippets – am ignoring the XRC issues obviously.
I have looked at BlogEngine.NET and that does look quite promising. Has anyone used that? What about the other things out there such as WordPress and Movable Type (don’t know much about them)? There are quite a few listed here but I am not sure which one is fit for my needs..
« Previous Page — Next Page »
