<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thomas Stig Jacobsen's constant why &#187; Computers</title>
	<atom:link href="http://www.e-x-e.dk/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.e-x-e.dk</link>
	<description>Programming, Internet security and ballroom dance</description>
	<lastBuildDate>Sat, 03 Jul 2010 18:30:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Streaming multimedia content to a PS3 system from Windows, Mac or Linux</title>
		<link>http://www.e-x-e.dk/2009/12/26/streaming-multimedia-content-to-a-ps3-system-from-windows-mac-or-linux/</link>
		<comments>http://www.e-x-e.dk/2009/12/26/streaming-multimedia-content-to-a-ps3-system-from-windows-mac-or-linux/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 19:54:49 +0000</pubDate>
		<dc:creator>Thomas Stig Jacobsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Testing and stuff]]></category>
		<category><![CDATA[DLNA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[PlayStation 3]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.e-x-e.dk/2009/12/26/streaming-multimedia-content-to-a-ps3-system-from-windows-mac-or-linux/</guid>
		<description><![CDATA[My brother just got a new Playstation 3 for Christmas and since he is away to London right now I thought I would also have some fun with it Anyway, I wanted to watch a movie and that’s no problem when we got a NAS at home but the DLNA server of the device is [...]]]></description>
			<content:encoded><![CDATA[<p>My brother just got a new Playstation 3 for Christmas and since he is away to London right now I thought I would also have some fun with it <img src='http://www.e-x-e.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyway, I wanted to watch a movie and that’s no problem when we got a NAS at home but the DLNA server of the device is setup to only take content from the music folder on the device (for some reason the DNLA server in the NAS can only provide content from one folder). So I had to find another way to push content to the PS3 system. I knew I wanted to use the network connection since the whole house is build on this network anyway, and secondly I’m rather lazy. Furthermore I really wanted to take advantage of the build-in DNLA streamer/player in the PS3 so I had to setup some kind of DNLA server on my laptop or other kind of computer.</p>
<p>I Googled around the interwebs and found <a href="http://code.google.com/p/ps3mediaserver/" target="_blank">Java PS3 Media Server</a> at Google Code. It’s an awesome project which I hope continues. Well the project looked really nice and I downloaded and installed the server only my laptop which easily should be able to serve the content seen from a processor (Intel Core 2 Duo, 1.8 GHz) and memory (3 GB) point of view.</p>
<p>First I tried to stream some random video content and is ran smoothly but when I choose a bit more demanding kind of content the stream just couldn’t keep up with the demand. I firstly tried to lower the transcoding settings and looked at the network load at the same time. This is what I found:</p>
<p>Note that I boosted the transcode buffer maximum size up to 600.0 MB.</p>
<p><strong>Streaming audio</strong></p>
<p>I set the default quality of audio streaming down from 640 KBit/s to 320 KBit/s and I did that first of all because I wanted to keep my portability and not needing a network cable plugged into both the laptop and the PS3 which both were operating wirelessly. Secounly I didn’t need all of that quality since I rip my CD’s at 320 KBit/s and the transcoding was going into AC3 which means that even at a low bitrate I would get rather good quality out of the <a href="http://www.samsung.com/dk/consumer/tv-home-theatre/tv/lcd-tv/LE32B535P7WXXE/index.idx?pagetype=prd_detail" target="_blank">Samsung LE32B535</a> which is connected to the PS3. I also changed the number of audio channels from a whooping 5.1 (6 channels) to stereo (2 channels) again because I wanted portability and I wasn’t streaming to any surround sound system.</p>
<p>When buffering a song the network load hits properly just maxes out. When the starting buffer is full and streaming normally the network load is just around 125.000 byte/sec (0.96 Mbit/sec) which I think is really good (when filling rest of the buffer). Keeping the normal network load under 1 Mbit/sec. means that nearly every wireless setup will be able to stream smoothly.</p>
<p><strong>Streaming pictures</strong></p>
<p>Not much to say here to be quite frank. The times it takes for the pictures to load is of course dependant of the size of the pictures and of course the maximum network speed.</p>
<p><strong>Streaming video and problems</strong></p>
<p>Good software always have a butt, and this one got a bad one of those. My network connection couldn’t keep up with the request of data and therefore the video was a real pain the in ass to watch. Well this only happen with some movies. I tried ripping in different bitrates at 1800 kilobyte/sec. the video stuttered every some seconds, but at around 1150 kilobyte/sec the network connection could keep up, but only just (stutters sometimes). So the real pain in the but is the network speed, I would recommend using cables (at least 100 megabit/sec. of course) when streaming stuff to your PS3 using this software. You could use at lower bitrate but then it wouldn’t really be fun to watch on a full HD monitor, right?</p>
<p>I think you should try it out <img src='http://www.e-x-e.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  In my tests both my PS3 and my laptop was in the other range of the wireless access point. When I get the time I’ll try the same tests with both devices connected to the network with cables.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.e-x-e.dk/2009/12/26/streaming-multimedia-content-to-a-ps3-system-from-windows-mac-or-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maximum performance in Windows XP, Windows Server 2000 and Windows Server 2003 and compromising security</title>
		<link>http://www.e-x-e.dk/2009/12/23/maximum-performance-in-windows-xp-windows-server-2000-and-windows-server-2003-and-compromising-security/</link>
		<comments>http://www.e-x-e.dk/2009/12/23/maximum-performance-in-windows-xp-windows-server-2000-and-windows-server-2003-and-compromising-security/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 20:46:20 +0000</pubDate>
		<dc:creator>Thomas Stig Jacobsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Internet security]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.e-x-e.dk/2009/12/23/maximum-performance-in-windows-xp-windows-server-2000-and-windows-server-2003-and-compromising-security/</guid>
		<description><![CDATA[Microsoft back in the day release a small paper on how to minimize the effect from the antivirus software on the operating system’s performance. Let me point out that the paper was released in July 2007. But despite the fact of this almost (in computer and internet terms) prehistoric release date TrendLabs’s writer David Sancho [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft back in the day release a small paper on how to minimize the effect from the antivirus software on the operating system’s performance. Let me point out that the paper was released in July 2007.</p>
<p>But despite the fact of this almost (in computer and internet terms) prehistoric release date TrendLabs’s writer David Sancho still found it relevant to comment on it December 21, 2009. Hole smoke, talk about late timing.</p>
<p>The paper is written about which files you can let your antivirus software not scan in order to increase the performance of your operating system. The decrease of performance is due to file locking. Microsoft recommends that if you are having performance issues cost by the antivirus which is caused by these locked files. It’s a quick and rather dirty fix, which is also what David Sancho wants to point out.</p>
<p>David Sancho got the point when he say the following:</p>
<blockquote><p>In line with this, we advise users to educate themselves fully about these recommendations before taking any action.</p></blockquote>
<p>I states that the biggest risk to the consumers computer and internet security is the consumer themselves. As security professionals we need to secure the consumers from themselves because, sadly, they don’t have a clue of what they are doing or what they are agreeing when visiting malicious and non-malicious websites. This of course, is badly generalised but if you as a security concerned programmer wants to create the most secure environment for your user, you’ll have to secure the user from the user itself.</p>
<p>Back to the Microsoft paper. Microsoft as a huge influence on the users should consider more carefully what they are releasing to the public and most of all they should re-read their own papers at least every year in order to make sure that they are giving their users the best kind of advise and in that way contributing to a more secure environment for the normal user.</p>
<p>What do you think of all this? What should Microsoft do to create a more secure envirnorment? Or should the users be more poweruser like?</p>
<p>The Microsoft paper can be found <a href="http://support.microsoft.com/?scid=kb;en-us;822158&amp;x=10&amp;y=15" target="_blank">here</a>.</p>
<p>The blog post by David Sancho can be found <a href="http://blog.trendmicro.com/microsoft-virus-scanning-recommendations-bring-risks/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.e-x-e.dk/2009/12/23/maximum-performance-in-windows-xp-windows-server-2000-and-windows-server-2003-and-compromising-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Labs: Twitter Add-on (extension) for Google Chrome, new version &#8211; new post.</title>
		<link>http://www.e-x-e.dk/2009/05/30/labs-twitter-add-on-extension-for-google-chrome-new-version-new-post/</link>
		<comments>http://www.e-x-e.dk/2009/05/30/labs-twitter-add-on-extension-for-google-chrome-new-version-new-post/#comments</comments>
		<pubDate>Sat, 30 May 2009 20:42:55 +0000</pubDate>
		<dc:creator>Thomas Stig Jacobsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Labs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.e-x-e.dk/2009/05/30/labs-twitter-add-on-extension-for-google-chrome-new-version-new-post/</guid>
		<description><![CDATA[So after a not of attention after my first release of the Twitter Add-on for Google Chrome I decided to rewrite the whole thing today. This has resulted in some dramatic changes and improvements. But I’ve also got some things I would like to investigate further to improve the extension further. Why doesn’t the extension [...]]]></description>
			<content:encoded><![CDATA[<p>So after a not of attention after my first release of the Twitter Add-on for Google Chrome I decided to rewrite the whole thing today.</p>
<p>This has resulted in some dramatic changes and improvements. But I’ve also got some things I would like to investigate further to improve the extension further. </p>
<p>Why doesn’t the extension (toolstrip) catch backspace key press but it does catches a normal key press like an enter key press or a simple letter?</p>
<p>Furthermore I’m considering letting an “enter” key press in the input field call the TwitterMe() function instead of letting the button (id=”submitMe”) doing so. </p>
<p><strong>If you got some thoughts on this please comment this post.</strong></p>
<p>Now for the changes and improvements of the new version of the extension. As Aaron suggested in my last post as a comment to the first and earlier version I let the Twitter-icon be a controller for toggling the visibility of the input and button. This works quite well after I decided to use jQuery as the JavaScript framework in this extension. I would have liked to expand the extension in the height but I couldn’t get Chrome to “dynamically” change the height of the toolstrip, only the width. I think the below quote should be rewritten if it’s only possible “dynamically” change the height of the toolstrip.</p>
<blockquote><p>The toolbar automatically detects how much space a toolstrip needs and reflows. So you can resize your toolstrip dynamically if you need a little more room temporarily. - <a href="http://dev.chromium.org/developers/design-documents/extensions/toolstrips">http://dev.chromium.org/developers/design-documents/extensions/toolstrips</a></p>
</blockquote>
<p>Aaron also asked why I didn’t use a XHR call to the (brilliant) Twitter API instead of using the server-layer and that me research the possibilities of such a solution. After some investigation it’s now working fantastic. </p>
<p>Furthermore I decided to kick out the username and password fields since they were ruining the flow of extension. Your username and password is now to be entered in the “twitter-interface.html” which now also is XHTML Strict 1.0 valid (if that matters anyway). </p>
<p>Underneath I’ll include the download link to the new version as well as some new screenshots. Have fun and comment please! <img src='http://www.e-x-e.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Download link: <a href="http://e-x-e.dk/labs/chrome-twitter/twitter-addon_v_0_2.zip">http://e-x-e.dk/labs/chrome-twitter/twitter-addon_v_0_2.zip</a></p>
<p><a href="http://www.e-x-e.dk/wordpress/wp-content/2009/05/screen0.jpg" target="_blank"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="screen0" border="0" alt="screen0" align="left" src="http://www.e-x-e.dk/wordpress/wp-content/2009/05/screen0-thumb.jpg" width="260" height="170" /></a><a href="http://www.e-x-e.dk/wordpress/wp-content/2009/05/screen1.jpg" target="_blank"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="screen1" border="0" alt="screen1" src="http://www.e-x-e.dk/wordpress/wp-content/2009/05/screen1-thumb.jpg" width="260" height="170" /></a></p>
<p><strong>Did you enjoy this post? Have a look at the post before, in this post there are some more information about installing the add-on (extension): <a href="http://www.e-x-e.dk/2009/05/29/labs-twitter-add-on-extension-for-google-chrome/">http://www.e-x-e.dk/2009/05/29/labs-twitter-add-on-extension-for-google-chrome/</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.e-x-e.dk/2009/05/30/labs-twitter-add-on-extension-for-google-chrome-new-version-new-post/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Labs: Twitter Add-on (extension) for Google Chrome</title>
		<link>http://www.e-x-e.dk/2009/05/29/labs-twitter-add-on-extension-for-google-chrome/</link>
		<comments>http://www.e-x-e.dk/2009/05/29/labs-twitter-add-on-extension-for-google-chrome/#comments</comments>
		<pubDate>Fri, 29 May 2009 22:08:44 +0000</pubDate>
		<dc:creator>Thomas Stig Jacobsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Labs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[addon]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.e-x-e.dk/2009/05/29/labs-twitter-add-on-extension-for-google-chrome/</guid>
		<description><![CDATA[Did you like this post, take a look at the new post and the new version of the add-on (extension): http://www.e-x-e.dk/2009/05/30/labs-twitter-add-on-extension-for-google-chrome-new-version-new-post/. So, today I saw some article about the Google Chrome add-ons (extensions as they also call them). And since I’m a Chrome user myself I decided to play along by creating a small basic [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Did you like this post, take a look at the new post and the new version of the add-on (extension): <a href="http://www.e-x-e.dk/2009/05/30/labs-twitter-add-on-extension-for-google-chrome-new-version-new-post/">http://www.e-x-e.dk/2009/05/30/labs-twitter-add-on-extension-for-google-chrome-new-version-new-post/</a>.</strong></p>
<p>So, today I saw some article about the Google Chrome add-ons (extensions as they also call them). And since I’m a Chrome user myself I decided to play along by creating a small basic extension for Chrome. </p>
<p>I went along and created a small extension which would update a persons status on Twitter (and possibly also Facebook - through the Twitter application). It works in a really simple fashion using a client-part and a server-part. I had to do so since Google Chrome doesn’t support native cURL yet. So this is how it works:</p>
<p>Client-part: A simple form containing the status, username and password which is posting to a php file (post.php). </p>
<p>Server-part: The server-part consists of the post.php and the twitterAPI.php. The post.php handels the post from the client and calls the function (in twitterAPI.php) which does a cURL post to the Twitter API. The function returns a fresh form ready to update the status after entering the new status and the password (username has been passed on after the return). The twitterAPI.php is a modified edition of the original work of Antonio Lupetti (<a href="http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html">http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html</a>)</p>
<p>For testing I just used the commandline option by editing the shortcut:    <br />Target:     <br />&#160;&#160;&#160; &quot;path_to_the_chrome.exe&quot; --enable-extensions --load-extension=&quot;The_path_to_the_addon_folder&quot; </p>
<p>&#160;&#160;&#160; fx.    <br />&#160;&#160;&#160; &quot;C:\Users\Thomas Stig Jacobsen\AppData\Local\Google\Chrome\Application\chrome.exe&quot; --enable-extensions --load-extension=&quot;C:\Users\Thomas Stig Jacobsen\Documents\Chrome addons\twitter&quot;     <br />Start in:     <br />&#160;&#160;&#160; &quot;path_to_your_chrome_application_folder&quot; </p>
<p>&#160;&#160;&#160; fx.    <br />&#160;&#160;&#160; &quot;C:\Users\Thomas Stig Jacobsen\AppData\Local\Google\Chrome\Application&quot; </p>
<p>I’m allowing anyone to use my server as the server-part (there is no kind of logging, I’m using the files that you can download underneath).</p>
<p>All the files can be found here:</p>
<p><a href="http://e-x-e.dk/labs/chrome-twitter/twitter-addon.zip">http://e-x-e.dk/labs/chrome-twitter/twitter-addon.zip</a></p>
<p>Screenshot:</p>
<p><a href="http://www.e-x-e.dk/wordpress/wp-content/2009/05/untitled.jpg" target="_blank"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Click here for a greater view!" border="0" alt="Click here for a greater view!" src="http://www.e-x-e.dk/wordpress/wp-content/2009/05/untitled-thumb.jpg" width="260" height="170" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.e-x-e.dk/2009/05/29/labs-twitter-add-on-extension-for-google-chrome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Review of the webhost one.com</title>
		<link>http://www.e-x-e.dk/2009/02/20/review-of-the-webhost-onecom/</link>
		<comments>http://www.e-x-e.dk/2009/02/20/review-of-the-webhost-onecom/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 23:09:53 +0000</pubDate>
		<dc:creator>Thomas Stig Jacobsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[One.com]]></category>

		<guid isPermaLink="false">http://www.e-x-e.dk/2009/02/20/review-of-the-webhost-onecom/</guid>
		<description><![CDATA[I’ve been a customer of one.com for over 4 years now (started: 08-11-04) and I’ve been very pleased so far. I hasn't had a lot of support cases and emails regarding the service or uptime from one.com Though the years one.com has upgraded it’s offers from time to time and each time I and other [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been a customer of one.com for over 4 years now (started: 08-11-04) and I’ve been very pleased so far. I hasn't had a lot of support cases and emails regarding the service or uptime from one.com</p>
<p>Though the years one.com has upgraded it’s offers from time to time and each time I and other old customers have been upgraded as well, for that I’m sure we all are very grateful.</p>
<p>Even though one.com is a nice, reliable and fast host it still has some lacks and the one of them that has been most frustrating has got be the fact that you CAN NOT connect to the MySQL server externally. The first year of my subscription with one.com I didn’t really use the MySQL at all since I was a HTML kid who didn’t got broadband yet and therefore did all my server-scripting (with a database) at home on a private local server. But the problem was shown it’s UGLY face each and every time I’m doing a new project on my one server for a change. </p>
<p>The main problem is really that I’m a desktop- and not a all-browser-guy. Summed up: I DOSN’T LIKE phpMyAdmin at all, in any way what so ever. I uses the desktop administrative tools from MySQL.com which I find a lot more useful. But in order to connect to your MySQL server externally, you need to know the servers IP or DNS address but even though I’ve been literally begging one.com for an IP or DNS nothing good has come out of it. So sad… </p>
<p>All of this frustration puts me in a kind of messy situation. I doesn't want to leave a good and reliable host for this one thing. But on the other side I doesn't want to be dependant on other peoples servers/hosts where it’s an option to connect to the MySQL externally. </p>
<p>So my question to you dear reader, what should I do? Should I leave my good old host one.com and jeopardize my reliable site, e-mails etc?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.e-x-e.dk/2009/02/20/review-of-the-webhost-onecom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix MSN errors</title>
		<link>http://www.e-x-e.dk/2008/03/19/some-basic-stuff/</link>
		<comments>http://www.e-x-e.dk/2008/03/19/some-basic-stuff/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 21:10:39 +0000</pubDate>
		<dc:creator>Thomas Stig Jacobsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[BASIC]]></category>
		<category><![CDATA[MSN error]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.e-x-e.dk/post/13</guid>
		<description><![CDATA[I just had some problems with logging on the Live services earlier today and I therefore decided to fix it, so clever I found a help article here: http://tinyurl.com/2qqc49 and I decided to to write a quick BASIC (*.bat) file to make a bit more automatic. I did that because I'm a lazy cow, as [...]]]></description>
			<content:encoded><![CDATA[<p>I just had some problems with logging on the Live services earlier today and I therefore decided to fix it, so clever <img src='http://www.e-x-e.dk/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I found a help article here: <b><a href="http://tinyurl.com/2qqc49">http://tinyurl.com/2qqc49</a></b></p>
<p>and I decided to to write a quick BASIC (*.bat) file to make a bit more automatic. I did that because I'm a lazy cow, as all programmers. (is BASIC really programming, anyway I think it is). You can see the source below.</p>
<p><span id="more-13"></span></p>
<pre class="freebasic"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@echo off</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">title Registrering the SSL- and XML-libraries</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo <span style="color: #b1b100;">Do</span> you want <span style="color: #b1b100;">to</span> <span style="color: #b1b100;">do</span> this?</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">set /P answer=Y <span style="color: #b1b100;">for</span> yes, N <span style="color: #b1b100;">for</span> No:</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">cls</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">goto</span> %answer%</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">:Y</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	echo Running <span style="color: #b1b100;">function</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	echo.</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s softpub.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo softpub.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s wintrust.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo wintrust.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s initpki.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo initpki.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s Rsaenh.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Rsaenh.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s Mssip32.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Mssip32.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s Cryptdlg.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Cryptdlg.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s Dssenh.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Dssenh.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s Gpkcsp.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Gpkcsp.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s Slbcsp.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Slbcsp.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s Sccbase.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Sccbase.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	%SYSTEMROOT%\system32\REGSVR32 /s msxml3.<span style="">dll</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">		echo Msxml3.<span style="">dll</span> done</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	echo.</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	<span style="">echo</span> <span style="color: #b1b100;">Function</span> done, press any key <span style="color: #b1b100;">to</span> <span style="color: #b1b100;">exit</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	pause</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	<span style="color: #b1b100;">exit</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">:N</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	echo Press any key <span style="color: #b1b100;">to</span> <span style="color: #b1b100;">exit</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	pause</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	<span style="color: #b1b100;">exit</span></div></li></ol></pre>
</p>
<p>Now that I have you here I'll also present some of my other helping BASIC functions I've written.</p>
<ul>
<li>ip.bat </li>
<li>google.bat </li>
<li>wiki.bat </li>
<li>statuscheck.bat </li>
<li>whois.bat </li>
<li>findperson.bat </li>
<li>ordbog.bat </li>
</ul>
<p>I don't think I'll post all the source here but I'll upload a small ZIP file containing all the BAT files for you to review. </p>
<p>URL to the zip file: <a href="http://www.e-x-e.dk/stuff/bats.zip">http://www.e-x-e.dk/stuff/bats.zip</a></p>
<p>Here is a small presentation to the files:</p>
<p><strong>ip.bat</strong></p>
<p>A simple bat file showing my internal IP, subnet and gateway IP.</p>
<p>Example: ip</p>
<p><strong>google.bat</strong></p>
<p>This reads the first argument, fx. google Hello+World will google the 2 words &quot;Hello&quot; and &quot;world&quot; (without the quotes). You'll have to use the + as a &quot; &quot; because BASIC doesn't contain a replace function.</p>
<p>Example: google Hello+world</p>
<p><strong>wiki.bat</strong></p>
<p>Same method as google.bat but searches Wikipedia.org with the argument instead. I've set it to search the Danish Wikipedia.org since I'm Danish. But this can easily be changed. </p>
<p>Example: wiki Hello+world</p>
<p><strong>statuscheck.bat</strong></p>
<p>This will ping a host or IP which it reads from the first argument and declare it UP or DOWN using errorlevel1.</p>
<p>Example: statuscheck e-x-e.dk</p>
<p>Example: statuscheck 192.168.1.1</p>
<p><strong>whois.bat</strong></p>
<p>A simple whois script for us non-linux users where it's a built in component. It reads argument1 which has to be the domain (fx. e-x-e) and it reads argument2 which has to be the type of doman (fx. dk).</p>
<p>Example: whois e-x-e dk</p>
<p><strong>findperson.bat</strong></p>
<p>This is for danish people since this looks up a person on the Danish site krak.dk. Argument1 is name and argument2 is address.</p>
<p>Example: findperson Anders+fogh</p>
<p>(Anders Fogh is the Danish Prime Minister)</p>
<p><strong>ordbog.bat</strong></p>
<p>Also a file for the danish people. It looks up a word in a dictionary called ordbogen.com. Argument1 is the word and argument2 is the dictionary code.</p>
<p>Best setting for dictionary is auto, enda or daen.</p>
<p>Example: ordbog human enda</p>
<hr />
<p>In order get these to work in the best way you'll have to place all the files in the %SYSTEMROOT%\system32\ folder. In most cases C:\WINDOWS\system32\.</p>
<p>If you do that you'll be able to run them from the run-dialog (Windows-key and R) and use the example.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.e-x-e.dk/2008/03/19/some-basic-stuff/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to work @ home</title>
		<link>http://www.e-x-e.dk/2008/03/19/a-short-guide-to-work-good-home-dedicated-to-a-dear-friend/</link>
		<comments>http://www.e-x-e.dk/2008/03/19/a-short-guide-to-work-good-home-dedicated-to-a-dear-friend/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:39:54 +0000</pubDate>
		<dc:creator>Thomas Stig Jacobsen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Testing and stuff]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.e-x-e.dk/post/12</guid>
		<description><![CDATA[Well I have a good friend of mine who is starting his own company in a near future and therefore he's going to work a lot from his own home. I was just going to mail him this tips for working @ home, but I figured that a lot of you out there, would take [...]]]></description>
			<content:encoded><![CDATA[<p>Well I have a good friend of mine who is starting his own company in a near future and therefore he's going to work a lot from his own home. I was just going to mail him this tips for working @ home, but I figured that a lot of you out there, would take good use of these tips as well.</p>
<p>I'm going to write the tips in a chronology order as the day goes a long.</p>
<hr />
<p><strong>Morning:</strong> Get up early and start the day good. This could be a general tip for anyone but it's really important to get up early. In that way you'll have a whole day instead of just a half one. It's better to start early and end the day early than starting the day late and end the day very late!</p>
<p>And get really up, I mean you have to get up, take a shower, eat breakfast and get properly dressed before you work. You can't work in a pyjamas.</p>
<p><strong>Noon:</strong>Make sure you get normal breaks. One at noon for lunch and one in the afternoon. In that way you don't have to leave your work behind because your starving. </p>
<p>NOTE: Do not take your break the same place your working, otherwise it isn't really a break. Have some zones in the house with work-only and non-work. </p>
<p><strong>Afternoon and night:</strong> When the working day is about to end then end it. Don't &quot;take your work home&quot; otherwise you'll just keep working (or thinking at work).</p>
<p><strong>General tips:</strong></p>
<p>Separate your time. Don't take a hour out of your working day to raid in WoW or anything like that. You'll forget everything about work and keep playing (I've tried that one). AND: limit distractions, avoid TV, (non-)VOIP and phone calls etc.</p>
<p>Have a good working plan. Make a plan (maybe) a month ahead so you have some goals of the day. Else it can be hard to know what you've just spend a whole day working on.</p>
<p>&#160;</p>
<p>Dedicated to my dear friend Stefan Bohlin, your the greatest dude! I wish you the best of luck with your firm!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.e-x-e.dk/2008/03/19/a-short-guide-to-work-good-home-dedicated-to-a-dear-friend/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
