<?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>plee.me</title>
	<atom:link href="http://blog.plee.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.plee.me</link>
	<description>About software, technology and random things</description>
	<lastBuildDate>Wed, 04 Jan 2012 18:52:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Using Different Color Schemes with Vim</title>
		<link>http://blog.plee.me/2012/01/using-different-color-schemes-with-vim/</link>
		<comments>http://blog.plee.me/2012/01/using-different-color-schemes-with-vim/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 15:25:11 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Guides / How Tos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[aquamarine]]></category>
		<category><![CDATA[blue]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[dark]]></category>
		<category><![CDATA[desert]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[scheme]]></category>
		<category><![CDATA[strain]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[too]]></category>
		<category><![CDATA[unreadable]]></category>
		<category><![CDATA[vi improved]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimrc]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=162</guid>
		<description><![CDATA[Hey! If you have been using the Linux console text editor vim (or: Vi IMproved), you have probably noticed already that at times - especially in files with a large amount of comments - the default color scheme on a black background is less than ideal. Dark blue on black is pretty hard to read [...]]]></description>
			<content:encoded><![CDATA[<p>Hey!</p>
<p>If you have been using the Linux console text editor vim (or: Vi IMproved), you have probably noticed already that at times - especially in files with a large amount of comments - the default color scheme on a black background is less than ideal. Dark blue on black is pretty hard to read and can strain the eyes a lot.</p>
<p>So today I went out to see if somebody had come up with a solution for this particular problem. I saw people who changed console colors by exporting and overwriting certain system variables, and others who edited the default color scheme.</p>
<p>The simplest solution I have found to this problem is just switching the color scheme. You can do that by typing the following in the already open vim session:</p>
<pre>:colorscheme <em>desert</em></pre>
<p>where <em>desert</em> is just an example for the scheme of choice. Desert - for me - has just the right color for comments: aquamarine / light blue.</p>
<p>If you are satisfied with the scheme and would like it to be applied each time you launch vim, you can just edit <em>/etc/vim/vimrc</em> (or in my case with CentOS: <em>/etc/vimrc</em>) and add the following line:</p>
<pre>colorscheme <em>desert</em></pre>
<p>with <em>desert</em> again, of course, being the chosen color scheme. This would apply this setting automatically for each vim instance that is launched system-wide. If you do not have access to the system-wide preferences or prefer just using it for your own user account, edit the <em>~/.vimrc</em> instead.</p>
<p>The blog entry I got this tip from (Asher's space) has further instructions on how to edit existing color schemes and even a link to a blog post that explains how to edit the dark blue color for <em></em> directories in <em>ls</em> listings with color, but I did not feel the need to go that far. If you are interested in that topic I can only encourage you to visit the original post.</p>
<p>Thanks for reading!</p>
<p><strong><em>Update (2012-01-04):</em></strong><br />
Okay, looks like pingback isn't working, so here's a direct link to the original blog post:<br />
<a href="https://asher2003.wordpress.com/2011/10/19/vi-code-highlighting-change-the-default-comments-color-from-dark-blue-to-light-blue/">vi code highlighting: change the default comments color from dark blue to light blue (https://asher2003.wordpress.com/)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2012/01/using-different-color-schemes-with-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Old Blog URL</title>
		<link>http://blog.plee.me/2012/01/new-old-blog-url/</link>
		<comments>http://blog.plee.me/2012/01/new-old-blog-url/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 11:47:14 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[cacert]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=156</guid>
		<description><![CDATA[Hello and a Happy New Year 2012! Yesterday evening and early today I decided to implement something that has been flying around in my head for quite some while. I enabled SSL for my website - including this blog! - and at the same time moved the blog back to its original URL: http://blog.plee.me/ Now, [...]]]></description>
			<content:encoded><![CDATA[<p>Hello and a Happy New Year 2012!</p>
<p>Yesterday evening and early today I decided to implement something that has been flying around in my head for quite some while. I enabled SSL for my website - including this blog! - and at the same time moved the blog back to its original URL: <a href="http://blog.plee.me/">http://blog.plee.me/</a></p>
<p>Now, as some of you might know, that subdomain URL has always continued to work even though I switched the URL to the subdirectory one for a while. However, instead of invalidating one or the other, both will still work. If you visit a link pointing to <em>http://www.plee.me/blog/...</em> you will be redirected to the new subdomain one.</p>
<p>So, with SSL being enabled as well, you can also reach this blog via <a href="https://blog.plee.me/">https://blog.plee.me/</a>, which I would strongly advise you to use over the unencrypted one. It's quite unlikely that I will post highly sensitive content on here to justify SSL encryption, but hey, it's fancy, and who doesn't like fancy stuff, right? <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In order to not get any warning due to untrusted certificates, however, I recommend (not only for my site's sake but for a number of other privately or non-commercially run websites throughout the whole web) you visit <a href="http://www.cacert.org/">http://www.cacert.org/</a> and get the root certificates for your browser so that CAcert will be trusted as a Certificate Authority.</p>
<p>Alright, that's it for now. I think I will have some relevant stuff to write about in 2012, so stay tuned.<br />
Don't hold your breath though <img src='http://blog.plee.me/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Oh, and in case you haven't noticed, I have actually been active on Twitter again for the last half year or so, and I'm intending on keeping that trend. So swing by there if you like <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The link/info is on my main website.</p>
<p>Thanks for reading and sorry for any inconvenience.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2012/01/new-old-blog-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting the Linux Distribution / Version</title>
		<link>http://blog.plee.me/2011/06/detecting-the-linux-distribution-version/</link>
		<comments>http://blog.plee.me/2011/06/detecting-the-linux-distribution-version/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 10:04:12 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Guides / How Tos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[detect]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[distro]]></category>
		<category><![CDATA[find out]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=123</guid>
		<description><![CDATA[Hi! Just a quick method to (roughly) detect your linux distribution and version: $ cat /etc/issue or $ cat /etc/*release Cheers]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p>Just a quick method to (roughly) detect your linux distribution and version:</p>
<pre>$ cat /etc/issue
or
$ cat /etc/*release</pre>
<p>Cheers <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2011/06/detecting-the-linux-distribution-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking the Facebook Like Button via Adblock Plus</title>
		<link>http://blog.plee.me/2011/05/blocking-the-facebook-like-button-via-adblock-plu/</link>
		<comments>http://blog.plee.me/2011/05/blocking-the-facebook-like-button-via-adblock-plu/#comments</comments>
		<pubDate>Tue, 24 May 2011 20:22:26 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Guides / How Tos]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[adblock plus]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[forbid]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=118</guid>
		<description><![CDATA[Hi! This particular tip was written over at http://www.ohnekontur.de/2011/05/13/adblock-facebook-like-button-blockieren/. Any credit goes to the original author. I am merely posting this on my blog to have a reference for myself in the long run. You might have heard about the fact that even without clicking on Facebook's Like buttons you might be tracked by Facebook [...]]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p><em><strong>This particular tip was written over at <a href="http://www.ohnekontur.de/2011/05/13/adblock-facebook-like-button-blockieren/">http://www.ohnekontur.de/2011/05/13/adblock-facebook-like-button-blockieren/</a>. Any credit goes to the original author. I am merely posting this on my blog to have a reference for myself in the long run.</strong></em></p>
<p>You might have heard about the fact that even without clicking on Facebook's Like buttons you <em>might</em> be tracked by Facebook (technically it is absolutely possible for them to see which site it is you visited and had the Like button on it).</p>
<p>So if you are using Firefox and have the Adblock Plus addon installed (which I strongly recommend in the times of annoying flash advertisements) you can just add the following lines under the <em>Adblock Plus preferences =&gt; "My Ad Blocking Rules"</em>:</p>
<pre>||facebook.com^$domain=~facebook.com|~facebook.net|~fbcdn.com|~fbcdn.net
||facebook.net^$domain=~facebook.com|~facebook.net|~fbcdn.com|~fbcdn.net
||fbcdn.com^$domain=~facebook.com|~facebook.net|~fbcdn.com|~fbcdn.net
||fbcdn.net^$domain=~facebook.com|~facebook.net|~fbcdn.com|~fbcdn.net</pre>
<p>These rules disable any Facebook scripts that are not used from the Facebook domains (facebook.com, facebook.net, fbcdn.com, fbcdn.net) themselves, including the Like buttons or any other webpage widgets they offer.</p>
<p>Of course, if you are using a different browser or a different kind of ad blocking / script blocking script, the idea is the same: forbid Facebook's scripts to run anywhere but their own website.</p>
<p>As always, I hope to have been of any help to you.</p>
<p>Thanks for reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2011/05/blocking-the-facebook-like-button-via-adblock-plu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Premiere Pro CS5 and the Long Loading Splash</title>
		<link>http://blog.plee.me/2010/06/adobe-premiere-pro-cs5-and-the-long-loading-splash/</link>
		<comments>http://blog.plee.me/2010/06/adobe-premiere-pro-cs5-and-the-long-loading-splash/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 19:53:35 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[127.0.0.1]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Adobe Premiere Pro.exe]]></category>
		<category><![CDATA[Adobe QT32 Server.exe]]></category>
		<category><![CDATA[creative suite 5]]></category>
		<category><![CDATA[cs5]]></category>
		<category><![CDATA[dynamiclinkmanager.exe]]></category>
		<category><![CDATA[ExporterQuickTimeHost.prm]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[launching]]></category>
		<category><![CDATA[loading]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[long]]></category>
		<category><![CDATA[premiere pro]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[splash]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=109</guid>
		<description><![CDATA[Hi! If you have used Adobe Premiere Pro CS5 (or several other CS5 products as I've read), you might have encountered long waiting times during the program launching. In the case of Premiere Pro CS5, the splash screen shows "Loading ExporterQuickTimeHost.prm" and sticks with it for a couple of minutes (yes, minutes). This is not [...]]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p>If you have used Adobe Premiere Pro CS5 (or several other CS5 products as I've read), you might have encountered long waiting times during the program launching. In the case of Premiere Pro CS5, the splash screen shows <em>"Loading ExporterQuickTimeHost.prm"</em> and sticks with it for a couple of minutes (yes, minutes). This is not even a one-time thing or a once-per-Windows-session, it happens each and every program launch.</p>
<p>When I researched this, I quickly found the answer in Adobe's forums: <a href="http://forums.adobe.com/thread/629718">Premiere CS5 takes 5 minutes to start up</a></p>
<p>In fact, what's causing this is not just the Adobe program, but rather the combination of a firewall and the Adobe program. If you are as restrictive in terms of Internet access as I am, you might have forbidden <em>Adobe Premiere Pro.exe</em> outgoing IP connections altogether. However, it is trying to establish a TCP connection to localhost / 127.0.0.1.</p>
<p><strong>The fix is to allow outgoing TCP (I chose IP, which of course includes TCP) to 127.0.0.1</strong> for the following executables:</p>
<ul>
<li><em>&lt;Premiere Directory&gt;</em>\Adobe Premiere Pro.exe</li>
<li><em>&lt;Premiere Directory&gt;</em>\32\Adobe QT32 Server.exe</li>
<li><em>&lt;Premiere Directory&gt;</em>\32\dynamiclinkmanager.exe</li>
</ul>
<p>with <em>&lt;Premiere Directory&gt;</em> of course being the path to your Adobe Premiere directory.</p>
<p><strong><em>Note:</em> Of course you can still stop every other outgoing traffic.</strong> Regard the 127.0.0.1 rule as an exception.</p>
<p>If you are trying to apply this fix to other Adobe programs, you are on your own to find out which .exes require 127.0.0.1 TCP connections. With modern firewalls, however, this shouldn't be that big of a problem. Just look at the prompts your firewall pops up and/or determine the .exes via logging.</p>
<p>I hope that helps you enjoy your respective Adobe program(s) all the more. <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Good luck and, as always, thanks for reading.</p>
<p><strong><em>Update (2010-03-28):</em></strong><br />
I recently found out that with my kind of firewall "Adobe Premiere Pro.exe" would prompt me again for a rule for outgoing traffic to addresses different from the localhost zone. If that happens to you, make sure you don't accidentally replace or override the localhost rule you added above. Rather add an additional rule for all the remaining outgoing traffic and forbid it (or allow it, depending on what you want).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2010/06/adobe-premiere-pro-cs5-and-the-long-loading-splash/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Starting Programs With Elevated Privileges (Windows Vista/7, UAC, Shortcut)</title>
		<link>http://blog.plee.me/2010/06/starting-programs-with-elevated-privileges-windows-vista7-uac-shortcut/</link>
		<comments>http://blog.plee.me/2010/06/starting-programs-with-elevated-privileges-windows-vista7-uac-shortcut/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 10:54:57 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[combination]]></category>
		<category><![CDATA[elevated]]></category>
		<category><![CDATA[elevation]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[privileges]]></category>
		<category><![CDATA[quick search]]></category>
		<category><![CDATA[rights]]></category>
		<category><![CDATA[run as administrator]]></category>
		<category><![CDATA[shortcut]]></category>
		<category><![CDATA[start menu]]></category>
		<category><![CDATA[uac]]></category>
		<category><![CDATA[user account control]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=103</guid>
		<description><![CDATA[If you are using Windows Vista or 7, of course you know the UAC. It is the reason why many setup programs and programs that need more privileges for execution make the UAC window pop up and ask for elevation. Some programs, however, like the  command prompt cmd.exe, can run both with or without elevated [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using Windows Vista or 7, of course you know the UAC. It is the reason why many setup programs and programs that need more privileges for execution make the UAC window pop up and ask for elevation. Some programs, however, like the  command prompt <em>cmd.exe</em>, can run both with or without elevated rights, which may lead to problems (for example trying to use <em>route.exe</em> from the unelevated command prompt).</p>
<p>In order to circumvent that problematic, you surely know that you can just open the <em>Start Menu</em>, type the name of the program into the <em>quick search</em> field, wait for it to show up in the results, right-click it and choose <em>"Run as administrator"</em>. I found that it was a little to bothersome to use the mouse in addition to typing, especially when you have to elevate quite often in a short period of time.</p>
<p>What is faster is the shortcut I recently found out about. Type the name of the program into the <em>Start Menu</em>'s <em>quick search</em> as usual, and instead of right-clicking, just press <strong><em>Ctrl+Shift+Enter</em></strong>. That way, you run the selected program from the list with elevation. You don't even necessarily have to wait for the search results to show up: for example, just type in <em>cmd</em> and press <em>Ctrl+Shift+Enter</em>.</p>
<p>This is a nice and nifty time saver.</p>
<p>Of course, there is also the method to just create a shortcut, go into its properties, click on the <em>"Advanced..."</em> button on the <em>"Shortcut"</em> tab and tick the <em>"Run as administrator"</em> checkbox. This shortcut will then automatically ask for elevation each time. Downside: You have to use another one in order to run it without elevated privileges.</p>
<p>Also note that the key combination <em>Ctrl+Shift+Enter</em> only seems to work in the Start Menu quick search box. I tried <em>Start =&gt; Run</em> with it (or: <em>Windows+R</em>), but it had no effect. Too bad.</p>
<p>I hope that was helpful to you and that it will save you as much time and hassle as it did for me.</p>
<p>Thanks for reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2010/06/starting-programs-with-elevated-privileges-windows-vista7-uac-shortcut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Connection Reset on the Speedport W 722V (Type B)</title>
		<link>http://blog.plee.me/2010/04/internet-connection-reset-on-the-speedport-w-722v-type-b/</link>
		<comments>http://blog.plee.me/2010/04/internet-connection-reset-on-the-speedport-w-722v-type-b/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 16:51:25 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Guides / How Tos]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[722v]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[deutsche]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[reconnecting]]></category>
		<category><![CDATA[reconnection]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[resetting]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[speedport]]></category>
		<category><![CDATA[t-home]]></category>
		<category><![CDATA[t-online]]></category>
		<category><![CDATA[telekom]]></category>
		<category><![CDATA[typ b]]></category>
		<category><![CDATA[type b]]></category>
		<category><![CDATA[w]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=99</guid>
		<description><![CDATA[Hi! Since I've recently found out that my new router, the T-Home Speedport W 722V Type B, apparently does not support automatic disconnecting at a specific time (in order to circumvent the 24-hour connectionreset by my ISP), I took a route that my good friend Pool has been using for quite some time. It is [...]]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p>Since I've recently found out that my new router, the T-Home Speedport W 722V Type B, apparently does not support automatic disconnecting at a specific time (in order to circumvent the 24-hour connectionreset by my ISP), I took a route that my good friend Pool has been using for quite some time.</p>
<p>It is a batch script, so in order to use it, you have to be able to execute it.</p>
<p>On a side note, the Type A model of this router does support automatic disconnecting! Make sure you choose <em>"Other provider"</em> when you're in the internet configuration menu in order to be able to see the setting for that. The <em>"T-Online"</em> option sadly does not show it.</p>
<h2>What you need:</h2>
<ul>
<li>A Windows machine that is running at the given time (has to execute the script)</li>
<li><a href="http://curl.haxx.se/">cURL</a> for Windows, preferably the <em>win32-ssl-sspi</em> version (<a href="http://curl.haxx.se/latest.cgi?curl=win32-ssl-sspi">download page</a>). win32-ssl should be fine as well.</li>
<li>Configure a scheduled task for the script, which is not covered in this guide (but quite simple. Just make it execute the script.)</li>
</ul>
<h2>The batch script:</h2>
<pre>REM Speedport W 722V Type B Internet Reset Script v1.0 - 2010-04-29
REM Written by pl (plee.me)
REM
REM Works with the T-Home Speedport W 722V Type B home router.

REM START CONFIGURATION
REM Adjust these variables to your own ones!
SET PWD=12345678
SET COOKIEFILE="routercookies.txt"
REM END OF CONFIGURATION

@echo off
curl -k https://speedport.ip/cgi-bin/login.cgi -d "pws=%PWD%" -e "https://speedport.ip/hcti_start_passwort.stm" -c "%COOKIEFILE%"
curl -k https://speedport.ip/cgi-bin/status_startseite.cgi -d "connect=0&amp;disconnect=1&amp;block=0&amp;nonblock=0&amp;abc=0" -e "https://speedport.ip/hcti_startseite.stm" -b "%COOKIEFILE%"
curl -k https://speedport.ip/cgi-bin/status_startseite.cgi -d "connect=1&amp;disconnect=0&amp;block=0&amp;nonblock=0&amp;abc=0" -e "https://speedport.ip/hcti_startseite.stm" -b "%COOKIEFILE%"
curl -k https://speedport.ip/cgi-bin/logoutall.cgi -e "https://speedport.ip/hcti_startseite.stm" -b "%COOKIEFILE%"
del "%COOKIEFILE%"</pre>
<h2>What this script does:</h2>
<p>It logs on the web administration interface, uses a hidden option to disconnect the internet connection, then uses a hidden option to connect, and finally logs out again.</p>
<p>Because the cookie is cached in a text file, it is deleted at the end of the script.</p>
<h2>Additional information:</h2>
<p>The lines beginning with <em>REM</em> are comments, so you might as well leave them out.</p>
<p>If you run the script, make sure that you either have the cURL directory in the PATH environment variable, or that you set its folder as the <strong>working directory</strong>, so that it can find the curl.exe and actually execute the (central) steps of the script.</p>
<p>I'm sure that this script can be optimized (probably a lot), but for now, it's doing the job.</p>
<p>I hope that was of any help to you, and thanks for reading! <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2010/04/internet-connection-reset-on-the-speedport-w-722v-type-b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDFCreator and mybrowserbar.com (Adware!)</title>
		<link>http://blog.plee.me/2010/01/pdfcreator-and-mybrowserbar-com-adware/</link>
		<comments>http://blog.plee.me/2010/01/pdfcreator-and-mybrowserbar-com-adware/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 17:05:40 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Guides / How Tos]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[addon]]></category>
		<category><![CDATA[adware]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[mybrowserbar]]></category>
		<category><![CDATA[mybrowserbar.com]]></category>
		<category><![CDATA[pdfcreator]]></category>
		<category><![CDATA[pdfforge]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[search settings]]></category>
		<category><![CDATA[spyware]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=91</guid>
		<description><![CDATA[Hi! If you have recently encountered a weird behavior within your browser (I only know of Firefox because that's what I use), chances are that Adware has been installed onto your computer. When I was looking for a picture on my own website and I mistyped the URL, I noticed that immediately after it showed [...]]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p>If you have recently encountered a weird behavior within your browser (I only know of Firefox because that's what I use), chances are that Adware has been installed onto your computer.</p>
<p>When I was looking for a picture on my own website and I mistyped the URL, I noticed that immediately after it showed me my custom 404 page, I was redirected to a domain called mybrowserbar.com. The URL was:</p>
<pre>http://www.mybrowserbar.com/cgi/errors.cgi?q=<em>[404URL]</em>&amp;type=404&amp;ISN=<em>[funkystring32]</em>&amp;ccv=130&amp;cnid=302398&amp;cco=US&amp;ct=12</pre>
<p>with <em>[404URL]</em> as the wrong URL. <em>[funkystring32]</em> seemed to be some kind of MD5 string (32 characters, 0-9, A-F), maybe a unique identifier.</p>
<p>After searching the internet for a couple of minutes, I read a thread on the official Avira forums. In it it was explained that PDFCreator comes with an Adware called "Search Settings Plugin" that installs and enables itself in Firefox. Luckily, being a normal addon, the problem was quickly solved from there: <em>Tools =&gt; AddOns =&gt; Extensions =&gt; Search Settings Plugin =&gt; Uninstall/Disable</em>.</p>
<p>I can only shake my head at things like this.</p>
<p>There has also been discussion on the official pdfforge (PDFCreator) forums about this:</p>
<p><a href="http://en.pdfforge.org/forum/open-discussion/3140-search-settings-plugin-installed-wo-users-knowledge-along-yahoo-search">http://en.pdfforge.org/forum/open-discussion/3140-search-settings-plugin-installed-wo-users-knowledge-along-yahoo-search</a></p>
<p><a href="http://www.pdfforge.org/files/old_forum/2903.html">http://www.pdfforge.org/files/old_forum/2903.html</a></p>
<p>Thanks to the people at the official Avira forums! Oh, and nevertheless, in all honesty: thanks to pdfforge for providing such a nice tool. I have the feeling it's gonna be of great help to me in the future <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Source: <a href="http://forum.avira.com/wbb/index.php?page=Thread&amp;postID=895237">http://forum.avira.com/wbb/index.php?page=Thread&amp;postID=895237</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2010/01/pdfcreator-and-mybrowserbar-com-adware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN on Windows Vista / 7 &#8211; Ping says: TTL expired in transit</title>
		<link>http://blog.plee.me/2009/10/openvpn-on-windows-vista-7-ping-says-ttl-expired-in-transit/</link>
		<comments>http://blog.plee.me/2009/10/openvpn-on-windows-vista-7-ping-says-ttl-expired-in-transit/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 22:12:22 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[Guides / How Tos]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[expired in transit]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[ttl]]></category>
		<category><![CDATA[uac]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=79</guid>
		<description><![CDATA[Hi there! When I set up my VPN with OpenVPN yesterday, I found out about a little difficulty under Windows Vista and 7. Thankfully it was not that much of a hurdle as the UAC was the reason for this bug just like for a series of other bugs with different software I experimented with [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there!</p>
<p>When I set up my VPN with <a href="http://www.openvpn.net/">OpenVPN</a> yesterday, I found out about a little difficulty under Windows Vista and 7. Thankfully it was not that much of a hurdle as the UAC was the reason for this bug just like for a series of other bugs with different software I experimented with over the last few weeks. Nevertheless I hope that this piece of information helps you get rid of the following problem.</p>
<p>If you have set up your VPN and got it running without any major problems, and everything seems to be running just fine (connecting works), but you still can't establish connections to the other machines, you might find that pinging returns the error message <em>"TTL expired in transit"</em>. This is due to the fact that Vista (or Windows 7) needs administrator privileges to adjust your computer's settings properly in order to function when you've connected to the VPN successfully. I think it's about the route.exe process, but I'm not 100% sure.</p>
<p>Windows Vista and 7 have the equally famous as infamous UAC (User Account Control) that prevents even administrator privileged accounts from executing programs with administrator rights by default. In order to enable these rights you have to right-click the program (or program shortcut) and click on <em>"Run as administrator"</em> next to the yellow-blue shield if it does not run with administrator rights exclusively anyway (in which case you'd see the yellow-blue shield in the bottom right corner of the program icon itself and would be asked for administrator privileges automatically when you launch it as any other program).</p>
<p><strong>Please note that the following steps are for on-demand OpenVPN connections. For automatic connections, read further below.</strong></p>
<h2>OpenVPN on-demand connection</h2>
<p>So what you need to do is launch the connection with UAC. But how do you do that if you usually launch OpenVPN connections with a right-click and <em>"Start OpenVPN on this config file"</em>? Even creating a shortcut to the .ovpn file doesn't give you the <em>"Run as administrator"</em> option.</p>
<p>A simple solution is to create a batch file that simply changes to the work directory and executes .ovpn with the openvpn.exe.</p>
<p>Example file "ovpn_connection1.bat":</p>
<pre>@echo off
D:
cd \Programs\OpenVPN\config-ondemand\
D:\Programs\OpenVPN\bin\openvpn.exe D:\Programs\OpenVPN\config-ondemand\connection1.ovpn</pre>
<p>This batch file has the following parameters/assumptions:</p>
<ul>
<li>Your OpenVPN dir is on the D: partition (otherwise change the drive letter in the respective paths and leave the <em>"D:"</em> line out altogether).</li>
<li>The path to your OpenVPN dir is <em>D:\Programs\OpenVPN</em>.</li>
<li>Your connection configuration file is located in the <em>config-ondemand</em> subdirectory.</li>
</ul>
<p>Basically, you just switch to the work directory and execute OpenVPN's <em>openvpn.exe</em> located in its <em>bin</em> dir on the configuration. In a way, this works as a shortcut, but just as an executable batch.</p>
<p>The <em>@echo off</em> part is just so that you won't see the other commands displayed in the window each time you start the connection.</p>
<p>Now you either make a shortcut to this batch file or use it itself.</p>
<p>Whenever you want to start the connection, <em>right-click</em> on it and select <em>"Run as administrator"</em>.</p>
<p>Done! Test your ping and it should be fine.</p>
<h2>OpenVPN automatic connection</h2>
<p>All you need to do is to move the .ovpn configuration file and all the other required files into the <em>config</em> subdirectory of your OpenVPN installation.</p>
<p>When the OpenVPN service (Start =&gt; Run =&gt; services.msc) is started, it will look for .ovpn files in its <em>config</em> subdirectory and execute them all - with SYSTEM privileges. No UAC circumvention needed.</p>
<p>So just set your OpenVPN service to <em>"Automatic"</em> and you're good to go!</p>
<h2>OpenVPN on-demand connection with OpenVPN service</h2>
<p>Just do what is described under the "OpenVPN automatic connection" paragraph except for setting the service to <em>"Manual"</em>.</p>
<p>Now each time you want to launch the connection, you just need to type <em>"net start OpenVPNService"</em>. To stop it, type <em>"net stop OpenVPNService"</em>.</p>
<h2>Note on using connections with the OpenVPN service</h2>
<p>As the OpenVPN service feature executes *all* .ovpn configuration in the <em>config</em> subdirectory, there is no way to manually interfere with one particular connection of that directory and let's say disable it shortly. All <em>config</em>-connections are handled as a group with the OpenVPN service.</p>
<p>So if you need manual independency, look at the on-demand section.</p>
<p>I hope this wasn't all too fuzzy with the wordings and such.</p>
<p>Please comment or contact me if you have any questions on this matter.</p>
<p>Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2009/10/openvpn-on-windows-vista-7-ping-says-ttl-expired-in-transit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CountSMS &#8211; iPhone SMS Counter (Updated: unnecessary)</title>
		<link>http://blog.plee.me/2009/09/countsms-iphone-sms-counter/</link>
		<comments>http://blog.plee.me/2009/09/countsms-iphone-sms-counter/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 08:00:49 +0000</pubDate>
		<dc:creator>pl</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[character]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[countsms]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://blog.plee.me/?p=74</guid>
		<description><![CDATA[Update (2011-06-02): Of course it's been quite some time (I believe with iOS 4.0) since this has been rendered unnecessary. The official Messages app now lets you view the currently used characters. Good job, Apple! If you ever attempted to send a text message on your iPhone, you will probably have noticed that it is [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Update (2011-06-02):</strong></em><br />
Of course it's been quite some time (I believe with iOS 4.0) since this has been rendered unnecessary. The official Messages app now lets you view the currently used characters. Good job, Apple!</p>
<hr />
<p>If you ever attempted to send a text message on your iPhone, you will probably have noticed that it is kind of hard to estimate the amount of letters you have entered. Which is quite annoying though, seeing as a miscalculation might cost you money.</p>
<p>When I dug around the internet in order to find a capable app that could replace Apple's standard Messages app, I could only find solutions for jailbroken phones ("BiteSMS", I believe). My iPhone however isn't, and it won't be (at least not for a long time), so that wasn't an option.</p>
<p>A nice little application that doesn't integrate with your standard Messages app (sadly <img src='http://blog.plee.me/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ) but however does the job quite well (as in: count the characters AND have a landscape mode keyboard) is <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=329372931&amp;mt=8">CountSMS</a> (iTunes link). It is for free and you can use it with the clipboard of course without any problems whatsoever. It even has nice Copy and Paste buttons on the top corners! <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I know it's not an absolute amazing app, but it gets the job done (a lot better than Apple's standard Messages app! Shame on you, if I might say so <img src='http://blog.plee.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>Thanks for reading and I hope you can benefit from that.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.plee.me/2009/09/countsms-iphone-sms-counter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

