3.11.05
Open Source CMS
24.10.05
HTTrack
I’m not sure if I’ve already mentioned this, but I couldn’t find it when I needed it
it saves an entire site.
20.10.05
14.10.05
Deletign Services in Win2003
http://msmvps.com/nuoyan/archive/2004/11/07/18247.aspx
I needed to do this today.
19.9.05
hash reviewed
I was just reading this article http://www.eweek.com/article2/0,1759,1859751,00.asp explaining that MD5 is now bad because of collisions and stuff, so ive had another look at my hasher and added a few extras.
16.9.05
GWB = Failure
I just found out about this:
Put ‘Failure’ into Google and type ‘I’m feeling Lucky’
This is what I get (it might have changed):
http://www.whitehouse.gov/president/gwbbio.html
amaztype
I found this just then, it combines the amazon web service and flash.
http://amaztype.tha.jp/US/Books/Title?q=batman
it generates the word at the of the url using images from that topic!
15.9.05
vtkFlRenderWindowInteractor
http://cpbotha.net/vtkFlRenderWindowInteractor.html
This has just saved me a ton of time… or has it just highlighted the fact that it works and I shouldn’t have wasted about 5hrs trying to get vtkFLTK to work and used it in the first place??!?!?!?!
14.9.05
Linux woes :(
I'm using Ubuntu at the moment which seems nicer than suse, but then it could be that I just like gnome over KDE?? Anyway its my new Linux flavour of the month.
Today I learned something valuabe - ./configure, make, make install, make clean. This is how you unstall stuff.
you have to compile it!!!
Linux for the people - yeah right!!!
12.9.05
Simple MD5 hash
I made a simple MD5 hasher today, I needed to check some hashes so I thought this might be handy.
The code is extremely simple, so here it is:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Security.Cryptography;
using System.Text;
namespace hasher
{
///
/// Summary description for Form1.
///
public class hash : System.Windows.Forms.Form
{
private System.Windows.Forms.TextBox txt_data;
private System.Windows.Forms.Label lbl_hash;
private System.Windows.Forms.GroupBox grp_hash;
private MD5 md5;
private UTF8Encoding ue;
///
/// Required designer variable.
///
private System.ComponentModel.Container components = null;
public hash()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
md5 = new MD5CryptoServiceProvider();
ue = new System.Text.UTF8Encoding();
}
///
/// Clean up any resources being used.
///
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.txt_data = new System.Windows.Forms.TextBox();
this.lbl_hash = new System.Windows.Forms.Label();
this.grp_hash = new System.Windows.Forms.GroupBox();
this.grp_hash.SuspendLayout();
this.SuspendLayout();
//
// txt_data
//
this.txt_data.Location = new System.Drawing.Point(8, 8);
this.txt_data.Multiline = true;
this.txt_data.Name = "txt_data";
this.txt_data.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txt_data.Size = new System.Drawing.Size(272, 112);
this.txt_data.TabIndex = 0;
this.txt_data.Text = "";
this.txt_data.TextChanged += new System.EventHandler(this.txt_data_TextChanged);
//
// lbl_hash
//
this.lbl_hash.Location = new System.Drawing.Point(8, 16);
this.lbl_hash.Name = "lbl_hash";
this.lbl_hash.Size = new System.Drawing.Size(256, 23);
this.lbl_hash.TabIndex = 1;
//
// grp_hash
//
this.grp_hash.Controls.Add(this.lbl_hash);
this.grp_hash.Location = new System.Drawing.Point(8, 128);
this.grp_hash.Name = "grp_hash";
this.grp_hash.Size = new System.Drawing.Size(272, 40);
this.grp_hash.TabIndex = 2;
this.grp_hash.TabStop = false;
this.grp_hash.Text = "MD5";
//
// hash
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(292, 173);
this.Controls.Add(this.grp_hash);
this.Controls.Add(this.txt_data);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "hash";
this.Text = "MD5 Hasher";
this.grp_hash.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
///
/// The main entry point for the application.
///
[STAThread]
static void Main()
{
Application.Run(new hash());
}
private void txt_data_TextChanged(object sender, System.EventArgs e)
{
byte[] b = ue.GetBytes(txt_data.Text);
lbl_hash.Text = Convert.ToBase64String(md5.ComputeHash(b));
}
}
}
11.9.05
Removing the door panel from a Toyota Corolla '96
The following photos I took with my mobile phone, the super cool Mororola E398. unfortunately the camera doesnt have a very good focus so some of the images are a little blurry.
Step 1:
Remove the screw on the door opener.
This is the most obviuos screw and so I decided to remove it first.
Step 2:
Remove the door winder.
This is a little tricker than I first thought. At first I tryed to pull it off, but that didnt seem to work. I had a brief look online and found a few sites saying that there is a clip that has to be removed and that a "special tool" is reqired to remove it. These "special tools" apparently are avaliable from car parts places. Lucky for me I already had a "special tool" - a flat head screwdriver!
Here is how the clip holds the winder on
Using a flat head screwdriver you can just push the clip off
Here is the clip removed
Step 3:
Remove the arm rest.
This took me awhile to find, but under the arm rest there are two screws. It can be fairy easily removed just by getting either your fingernail under it, or a screwdriver.
Once removed it reveals the screws underneath
Step 4:
This is the easy part. The whole panel is now held on only by push in clips, they can be easily pulled for them to pop out. They are located all around the outside of the panel and look like this
Once they are removed carefully guide the door handle opener through the hole to remove the panel.
Step 5:
To get to the inside of the door the plastic seal has to be removed, this isnt too hard but its sticky. Just peel it away from the plastic
Step 6:
This next part is where it can get really frustrating. There are two screws that hold the door handle on. The first one is visible and not too bad to remove.
The second one was a little harder. The folowing picture was taken through a small hole in the door panel, but you can see the lock and the screw above it. I used a socket with a rachet to remove it
Step 7:
The lock can now be removed by pushing the door handle from the bottom to swing it out. There is a spring that holds the door handle in at the top, I didnt try to remove the whole thing as I'm guessing the trying to put that spring back would be a world of pain. Just grab the lock and twist it anit-clockwise, it should just pop out.
Step 8:
There is a rod connected to the lock which goes to the central locking servo, this can be removed by uncliping the plastic bit on the side and the pulling the rod out of the hole. If at all possible try not to disconned the rod at the bottom, where is connects to the servo - This would be VERY bad as it took me an hour to get the little bugger back on.
Step 9:
All done! I was able to take this bit to a locksmith - with the key, where they were able to fix it. I took it to Marion Locksmiths and they did a great job - thanks!
Step 10:
Putting it all back.
This should be as simple as going backwards, however if you accidently disconnected the servo rod like I did then like Mr T says - "I pitty the fool!".
The rod is fixed to the servo with a little plastic clip similar to how it connects with the lock. The trick is to put the bent bit at the end into the hole and then swivel the plastic clip onto the rold to hold it there. This is how it looks once connected
And this is a closeup of the rod cliped to the servo bit
I should also mention putting the door winder back is a little fiddly, but using the "special tool" its not too bad. Just put the clip half on, then put the winder on and using the screwdriver push the clip on. it required a little force, but not too much.
Well I hope this is useful!
5.9.05
29.8.05
27.8.05
I am 53% evil!!
WWWWHAHAHAAHAHAHAAAAAA! (evil laugh)
22.8.05
New RSS agrigator
Scroogle
15.8.05
12.8.05
Hex editor
While trying to debug my P2P library (more about this later) I needed a Hex editor to work out exactly what I was writing to an image file. I found this one. Its pretty simple and it helped me figure out what was going on (I hope).
10.8.05
Another Ajax tutorial
Here is another AJAX tutorial:
http://www.webreference.com/programming/javascript/jf/column12/index.html
I’ve had a little bit of a play with AJAX, but not it anything real.
voip buster
I don’t know how this works, but apparently you can make free phone calls with this
http://www.voipbuster.com/en/index.html
I’m going to try it out tonight at home.
Edit: yep tryed it out and its everything it says it is. Free landline calls in Australia, mobile calls are about 26c p/min, so I wont be doing that in a hurry. At the moment you can try it for free for a minute a call, but to get unlimited all you have to do i buy about $2 worth of credit.
3.8.05
Lift Hack
Apparently some types of lift can be put into “express” mode by pressing the door close and the floor number at the same time – very cool!
1.8.05
mu''a'vo' mu' - A Klingon Word from the Word
This is heaps wierd! :S
27.7.05
26.7.05
Hosting
I’m looking for somewhere to host a site for my church. So far I have found these that look interesting:
http://www.audioblog.com/ - this is for podcasting and video blogging, its something that the site is going to have in the future. Its really cheap at $60 a year with 5Gb a month bandwidth.
http://www.brinkster.com/ - these guys seem ok, I haven’t really looked around yet for the ASP.Net hosting. They don’t really offer SQL Server though… that’s no good.
http://www.portalwebhosting.com/windows_hosting.php - these guys seem ok, just a bit expencive.
https://www.godaddy.com/gdshop/hosting/shared.asp - this is better! They seem cheap and have SQL Server, plus I’ve been recommended these guys from a guy at work.
http://www.webhost4life.com/hosting.asp - also seem very cheap
25.7.05
VSNUnit (edit: Testrunner)
I’m trying VSNUnit at the moment – it’s an open source Visual Studio plugin that puts the NUnit interface into VS 2003/05.
I’ve tried it on one test at the moment and it seems to work fine.
Edit: This is the second app that I've run today that hasnt lasted 5 mins. I was having a strange problem with it only running once before, then not. I read the project forums and apparenty the project has been abandoned as there is another tool out there that is better. oh well...
So im going to give this new one a try - Testrunner. hopefully this one is better, although it looks like you have to pay for commercial use.
Mac OSX theme on Win XP
http://osx.portraitofakite.com/index2.htm
This looks interesting, I might try it a little later
Edit: yeah it looked kinda cool, but it screwed a few things up. In total it lasted about 5mins. However I have discoverd another cool thing caled objectDock - it gives you the Mac OS cool menu thing at the bottom. its really handy, and looks pretty. Its been on all day now and I think it might last the week - pretty impressive!
how LEGO is made
http://www.popandco.com/archive/moab/
this site has a cool flash animation, mixed with real video on the whole process of making LEGO – cool!
21.7.05
Fold and Drop
This would have to be the most impressive interface design that I have seen for a long time, heaps better than that don’t click it thing.
Talking about that don’t click it idea I found a script for greasemonkey that turns all hyperlinks into ‘don’t click it links’ meaning that you only rollover a link to activate it – it was the most annoying thing as you had to watch where your mouse was at all times so you wouldn’t rollover things by accident!
19.7.05
systems tester
http://gameadvisor.futuremark.com/gameadvisor/service/index.jsp
This has a look at your system and lets you know what games will run on it
12.7.05
Running .bat files as a service
I’m using this at the moment to run a Tomcat web server. Otherwise as soon as you logout the server stops – useless!
Command redirection
This just helped me solve an annoying problem.
I was running a bat file, and it wasn’t running for some reason, but instead of telling me why it just exited the command prompt. So I used the > to pipe the output to a file
Server 2003 power toys
I noticed that the windows power toys don’t work for server 2003, and since I use the open command here one all the time this is bad. Anyways I found this, someone has remade them to go with server 2003 – woohoo!
Win Environment Variables
set JAVA_HOME=c:\javaBut this only seems to last as long as the command window is open, so I discoverd a more permanent way to do it in the system menu
17 hours of free ASP.Net training
For some reason Microsoft is giving away some free training! Just have to enter this activation code: 8317-MSDN-6595
11.7.05
AJAX C# -> VB.Net converter
There are a few of these tools around, but few that use AJAX. Have to remember this one.
8.7.05
Defrag
I’ve been looking for a simple free defragger for ages that does a better job than the XP one. I think I found it! I haven’t used it yet, but ill post when the results are in
HTML Commands &
so here is a list of the commands and conversions
7.7.05
6.7.05
Battlefield 2
Woohoo! I got battlefield 2 last night, its great!
Im not exactly sure how much time im going to be able to put into it, so I dont think ill be joining up with my old clan.
I’ve added my stats to the bottom of my blog
29.6.05
ASIMO video
house of Cosbys
28.6.05
27.6.05
DontClick.it
Dontclickit is a site which I heard about on rocketboom. It features an interface that doesn’t need to be clicked. Its very cool.
22.6.05
AudioShell
This program seems pretty cool, it allows you to add meta tag information of audio files in explorer. I already use dbpoweramp to do this, but I think AudioShell looks better and it allows you to add cover art.
20.6.05
Privacy violation JS Text Box
http://www.random.abrahamjoffe.com.au/public/JavaScripts/Privacy%20Violation/capture.htm
This is pretty cool, it’s a script that records to a hidden field what you typing at all times, including all cursor movement, and backspace key. The resulting text file can then be ‘decoded’ and played back at normal speed, just how it was typed!
17.6.05
C# String.Join()
Here is another embarrassing fact that I keep forgetting how to do in C#
String to array = string.split(delimiter)
Array to string = String.Join(delimiter, array);
%5F
There is a forum.blogging tool that we use – Community Server, but I think I just found a flaw. If there is an underscore (_) in a username the whole thing breaks L
It took me awhile to figure this out as there was %5F being put into the url, here is a useful page for looking at URL encoding and a simple decoder javascript
14.6.05
Battlefield2 tweak guide
This looks pretty useful, have to see if I can get a better run out of BF2
This also has a few more tweaks and mods for BF2, I think the most interesting is the battlerecorder test file
11.6.05
Manhole covers - revised
Oh well... I joined up with the other group and moved my pictures over
10.6.05
Manhole covers
9.6.05
Learnign programs via OPML
I commented on Cameron Reilly’s blog today regarding some of the stuff I get up to at work (which is mostly listening to podcasts :P)
He seems to think that I might be worth while interviewing, well maybe…
GAC again!!!
I’m still having this stupid GAC-related problem!!!
Anyways I think I found yet another useful resource to my GAC collection.
It seems that apart from going to the effort of adding the assembliy to the GAC you also have to add it to the web.config, like so:
<add assembly="MerrillLynch.Bank.Framework.Web, version=1.1.2005.0, publicKeyToken=80a6f6408bd93158, culture=neutral" />
8.6.05
signed/strongly-typed assembiles
there's a .NET command-line tool "sn.exe" ... sn -T
7.6.05
6.6.05
Dr Who sfx
This is entertaining, a flash app that combines all the audio sounds needed to create Dr Who sounds J
XSLT files
This is something that I only just discovered, I guess I’m a little slow.
Anyway, an XSLT file is used for transforming an XML file into either another XML file or a XHTML file – this is the cool thing, you can turn XML into HTML. This tutorial is a good one.
3.6.05
JavaScript redirect
window.location="http://www.yourdomain.com/";
So that’s how its done!
Something meaningful
Ok, now for something more than just – hey this is cool.
I’ve been looking at some JavaScript lately and here are some things I have been using.
It turns out that the <select>/<options> tags don’t support tool tips, not only that they don’t support JavaScript events either – how stupid. So I’ve created a list of links nested inside a div that does the same thing – have a look:
//JavaScript
Var listLengths = new Array();
function drawList(){var linkText = new Array();
linkText[0] = “this is a load of text”;
var div = getElementById(‘divList’);
div.innerHTML = “<ul id=’itemList’>”;
for(var i=0;i<linkText.length;i++){
var tempSplit = new Array();
tempSplit = linkText[i];
linkText[i] = tempSplit.join(' ');
div.innerHTML += "<li><a id=’list~”+ i +”’ href=’about:blank’ title=’”+ linkText[i] +”’ onClick=’listClick(\”itemList\”, \”list~” + i +”); return false;’>”+ linkText[i] +”</a></li>
}
div.innerHTML += “</ul>”;
listLengths['itemList'] = linkText.length;
}
function listClick(listName, link){
For(var i=0;i<listLengths[listName];i++){
Document.getElementById(link.split('~')[0]+ '~' + i).style.backgroundColor = ‘#FFF’;
}
document.getElementById(link).style.backgroundColor = '#c0c0c0';
return false;
}
//styles
.thisDiv {
overflow:auto;
background-color:#FFF;
width:200px;
height:200px
border-style:solid;
border-width:1px;
margin:0 5px 0 0;
}
.thisDiv ul {
padding:5 5 0 10;
margin:0 0 0 0;
}
.thisDiv a {
text-decoration:none;
color:Black;
}
.thisDiv a:visited {
text-decoration:none;
color:Black;
}
.thisDiv li {
list-style:none;
}
//HTML
I’m pretty sure this works, its from something that does, so if it doesn’t… well it shouldn’t take too long to get going!
1.6.05
Flickr can host my images for this blog (apparently)
hmm, looks pretty good :)
Flickr
I discovered Flickr today… I’m not really sure how useful its going to be yet, but you never know. I might upload all my pictures from China in there as a cool place to store them. I really like the email function, its just makes it easy… although I’m not exactly sure what stops anyone from emailing stuff into my account – ill have to look into that.
31.5.05
A Gamers Manifesto
Remote desktop snap in
A friend of mine showed me this, its pretty cool:
1. Find this file on a 2003 server...
Should be found in this directory...
2. Copy to your PC and run.
3. Start->Run...
4. Type "MMC"
5. File -> Add Snap-in ->click on add -> then select.....
6. Click close to close top window, then click OK.
7. Right click and add new connection.......
Once you have add all computers you normally connect 2. File ->Save 2 your Desktop.
Now just flick from connection to connection.
Enjoy.
W3schools
I think I love this site – w3schools.com. I just keep finding really useful stuff there.
This is my latest find, some really cool examples using JavaScript and the DOM.
This is a test email post
I just found this setting to post via email. If this works ill be pretty happy with today’s new find J
Corporate fallout detector
30.5.05
Lost in translation
This end is allegro, - those the section, habits are become of other
languages with English. What you of the obstruction worries you you
had given for the interior before it is the restoration nonupdated for
you, other that 10 languages 10 already have then to æ-¶Ã¦° this. It
really has to the seconds that goodses know something of the load of
the hand. On the other hand, to be turned around of decree to announce
this here:
27.5.05
Hex colours
Webmonkey | reference:Colour codes
Doug's home page
So you want a basic colour code huh?
Podcasting
The Microsoft Developer Show
The Media Center Show
Slacker Astronomy
G'Day World Podcast
Channel 9:The Videos
I think the best one is slacker astronomy - its interesting and funny (well 'american' funny, so not super funny).
I also think the Channel 9 video podcast is cool
25.5.05
Block google ads
Just alter the filter with a wildcard to block them all:
http://pagead2.googlesyndication.com/pagead/*
Personality test
Here are my results:
Extraversion | || | 10% |
Stability | |||||||||||||| | 56% |
Orderliness | |||||||||||||| | 60% |
Empathy | |||||| | 30% |
Interdependence | |||||||||||| | 50% |
Intellectual | |||||||||||||| | 56% |
Mystical | |||| | 16% |
Artistic | |||||||||| | 36% |
Religious | |||||||||||||||||||| | 90% |
Hedonism | |||||| | 30% |
Materialism | || | 10% |
Narcissism | |||||| | 23% |
Adventurousness | |||||| | 30% |
Work ethic | |||||||||||||||||||| | 83% |
Self absorbed | |||||||||||||| | 56% |
Conflict seeking | |||||| | 23% |
Need to dominate | |||||| | 23% |
Romantic | |||||||||||| | 50% |
Avoidant | |||||||||||||||||| | 76% |
Anti-authority | || | 10% |
Wealth | |||||||||||||| | 56% |
Dependency | |||||||||||||| | 56% |
Change averse | |||||| | 23% |
Cautiousness | |||||||||| | 36% |
Individuality | |||||||||||||| | 56% |
Sexuality | |||||||||||||||| | 63% |
Peter pan complex | |||||||||||| | 50% |
Physical security | |||||||||||||||||||| | 90% |
Food indulgent | |||||||||||| | 43% |
Histrionic | || | 10% |
Paranoia | |||||||||||| | 50% |
Vanity | |||||||||| | 36% |
Hypersensitivity | |||||||||||| | 50% |
Female cliche | || | 10% |
personality tests by similarminds.com
JS Tooltips
multiligual HTML
while trying to figure out how to actually do this, i came across this page which seems pretty good
I also found a UTF-8 text editor that seems pretty good and like everything I use its FREE!
[edit] - also need a English to Chinese translator ~BING!~
PHP Designer 2005
- Its free
- It suppots CSS
- It does code highlighting
this is all i was after so im pretty happy
24.5.05
23.5.05
XMLHttpRequest and Mozilla
I found this thread with a solution that uses some kind of security signing. I havnt tryed it yet but im hoping that this will solve my problem
20.5.05
19.5.05
Counter strike 2D
Flash Got & Free download manager
Anyway - I was in the middle of getting a 200Mb file...(another game that if its any good will get a post) and then it was gone!! so I decided to get a download manager that went with firefox.
Flash Got seems pretty good, it creates a middle layer between firefox and most download managers. it adds stuff to the menu and the save file dialog.
the next task was to get a download manager - i chose free download manager... well its free! and there are no ads (none that i have seen yet). its simple and does exactly what i want, can shutdown, limit speed, parallel downloads. yay!
18.5.05
Mounting a *.ISO as a drive
17.5.05
Do nothing hyperlink
I had created a hyperlink that luanches a popup, but i didnt want the paent page to do anything. I was just linking it back to its self, but that was reloading the page and going back to the top - what a hassle!
anyways here was my answer.
just explains that if i return false from the javascript then the href value is ignored!
13.5.05
12.5.05
new albums to get
Ben Folds - Songs For Silverman
Keane - Live Recordings 2004
Greenday - American Idiot
Interpol - Antics
...
Ill add to this.
System.Web.UI.HtmlControls.HtmlInputText
Allrighty, this can grab HTML elements and perform operations on them (like visibility) like they were native .Net components - very handy. Especially when I was storing values in invisible text boxes. I thought I would be smart and .Net the boxes, but as soon as the visibility was turned off they wouldn't hold text??!?!?
anyway by using HTML text boxes and hiding them you can!
11.5.05
External CSS linkage
Convert code to HTML with code colours
So Ive changed my mind this tool is pretty useful
IE DOM Inspector
Attributes property of .Net server controls
all server controls have an attributes property, which is where the javascript can be placed, like so:
('popup.aspx',null,'height=250, width=250,status= no, resizable=
no, scrollbars=no, toolbar=no,location=no,menubar=no ');");
This can also be used on the body tag:
('popup.aspx',null,'height=250, width=250,status= no, resizable= no,
scrollbars=no, toolbar=no,location=no,menubar=no ');");
Aerial photos
I can see my house! But im not exactly sure how old the photos are
10.5.05
Prius
This is very cool, saves money and environmentally friendly
I wonder when they will be avaliable in Australia???
Sold my car
I put an Ad in the saturday paper and it was sold by lunchtime.
The really strange thing is that I've had 4 calls after it was sold now, but they have all been around 3 - 4 pm. Is that a good time to realise that you need a car - or is it the time that you settle for less and get that cheap, beaten up '83 corolla that I was getting rid of?
Guess the google
I noticed that the current #1 score was 395....
395!! a correct answer gets 20 points, the time you took then gets added to that - maixmum being 20. so thats a maximum of 40pts per round... 10 rounds... max 400pts.
no way is anyone guessing these and only loosing a total of 5 seconds in typing time, no way!
.... wait a sec, they are repeating the same questions. these 'top scoring' bums are making good use of the clipboard to cheat - well that makes my score seem a lot better!
C# video game development
I've watched the first one and its a pretty good introduction. The casts are all at level 100, so they are for people new to the game, but the cool thing is that they are going to step by step put together a simple game.
Building a cluster
what Im really hoping to do is to be able to process video really quickly, but I know at the moment im a long way from that!
allofmp3.com
Its an online music store based in Russia - meaning that they have different copyright laws.
So, music is charged per Mb, and I think its about US 6c p/Mb!
anyway 10 bucks AUS got me about 8 albums, how cool is that?
allofmp3