<?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>PCR&#039;s notepad &#187; software</title>
	<atom:link href="http://notepad.patheticcockroach.com/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://notepad.patheticcockroach.com</link>
	<description>The area in patheticcockroach.com where the EEG isn&#039;t isoelectric</description>
	<lastBuildDate>Fri, 30 Jul 2010 11:13:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VLC Media Player 1.1.2 portable</title>
		<link>http://notepad.patheticcockroach.com/883/vlc-media-player-1-1-2-portable/</link>
		<comments>http://notepad.patheticcockroach.com/883/vlc-media-player-1-1-2-portable/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 11:07:57 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[portable software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=883</guid>
		<description><![CDATA[VideoLAN Client (VLC) Media Player version 1.1.2 was released yesterday, 29 July. It&#8217;s a bugfix release, as noted in the release notes. PortableApps will likely release their new version soon, but for those who can&#8217;t wait here&#8217;s an updated version already. As usual, I made it using the previous launcher from PortableApps (1.1.1) on the [...]]]></description>
			<content:encoded><![CDATA[<p>VideoLAN Client (VLC) Media Player version 1.1.2 was released yesterday, 29 July. It&#8217;s a bugfix release, as noted in the <a href="http://www.videolan.org/vlc/releases/1.1.2.html">release notes</a>. PortableApps will likely release their new version soon, but for those who can&#8217;t wait here&#8217;s an updated version already. As usual, I made it using the previous launcher from PortableApps (1.1.1) on the latest VLC release.</p>
<p>Once again, this is <strong>not</strong> an official release from portableapps, it&#8217;s a custom, &#8220;home-made&#8221; package. Here you go:</p>
<div style="text-align:center;"><a href="http://demo.ovh.com/en/26a81d622eb08c1d328191d87309091f/"><img src="http://i260.photobucket.com/albums/ii8/patheticcockroach/vlc.png" alt="VLC logo" width="128" height="128"/><br />
VLC 1.1.2 portable for Windows</a></div>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/883/vlc-media-player-1-1-2-portable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VLC Media Player 1.1.1, portable</title>
		<link>http://notepad.patheticcockroach.com/870/vlc-media-player-1-1-1-portable/</link>
		<comments>http://notepad.patheticcockroach.com/870/vlc-media-player-1-1-1-portable/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 11:53:34 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[portable software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=870</guid>
		<description><![CDATA[VideoLAN Client (VLC) Media Player version 1.1.1 was released yesterday, 21 July. It&#8217;s a bugfix release, as noted in the release notes. PortableApps will likely release their new version soon, but for those who can&#8217;t wait here&#8217;s an updated version already. As usual, I made it using the previous launcher from PortableApps (1.1.0 rev 2) [...]]]></description>
			<content:encoded><![CDATA[<p>VideoLAN Client (VLC) Media Player version 1.1.1 was released yesterday, 21 July. It&#8217;s a bugfix release, as noted in the <a href="http://www.videolan.org/vlc/releases/1.1.1.html">release notes</a>. PortableApps will likely release their new version soon, but for those who can&#8217;t wait here&#8217;s an updated version already. As usual, I made it using the previous launcher from PortableApps (1.1.0 rev 2) on the latest VLC release.</p>
<p>Once again, this is <strong>not</strong> an official release from portableapps, it&#8217;s a custom, &#8220;home-made&#8221; package. Here you go:</p>
<div style="text-align:center;"><a href="http://www.megaupload.com/?d=KTSTNBST"><img src="http://i260.photobucket.com/albums/ii8/patheticcockroach/vlc.png" alt="VLC logo" width="128" height="128"/><br />
VLC 1.1.1 portable for Windows</a></div>
<p>Edit: link fixed. Sorry for the downtime, usually this file host (demo.ovh.com) is more reliable&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/870/vlc-media-player-1-1-1-portable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7-Zip 9.15 beta portable</title>
		<link>http://notepad.patheticcockroach.com/842/7-zip-9-15-beta-portable/</link>
		<comments>http://notepad.patheticcockroach.com/842/7-zip-9-15-beta-portable/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 11:18:34 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[portable software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=842</guid>
		<description><![CDATA[7-Zip is an open source file archiver with a high compression ratio. Its primary compression method is LZMA, which often compresses better than RAR. Originally developed for Windows, other projects like p7zip and PeaZip made this format also usable on Linux and Mac OS. PortableApps released a portable version of the latest stable 7-Zip version, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.7-zip.org/">7-Zip</a> is an open source file archiver with a high compression ratio. Its primary compression method is LZMA, which often compresses better than RAR. Originally developed for Windows, other projects like <a href="http://p7zip.sourceforge.net/">p7zip</a> and <a href="http://peazip.sourceforge.net/">PeaZip</a> made this format also usable on Linux and Mac OS.</p>
<p>PortableApps released a portable version of the <a href="http://www.megaupload.com/?d=W1MKQ4BB">latest stable 7-Zip version, 4.65</a>, released in February 2009. Since then, a lot of development has been made but only betas were released yet, thus PortableApps didn&#8217;t make new versions. So, as usual, I made a &#8220;home-made&#8221; package using PortableApps&#8217;s current launcher combined with the latest 7-Zip version, and here it is, <a href="http://www.megaupload.com/?d=XD3VWUZ0">7-Zip 9.15 beta portable</a>, as a zip so you&#8217;re not screwed if your network blocks EXEs and you can open it simply with Windows Explorer if you don&#8217;t have better.</p>
<p>The main interest of the 9.x beta series is the new compression algorithm LZMA2, which compresses quite faster than LZMA if heavily multithreaded, and which generates close to zero overhead when used on uncompressible data.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/842/7-zip-9-15-beta-portable/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VLC 1.1.0 (final) portable</title>
		<link>http://notepad.patheticcockroach.com/799/vlc-1-1-0-portable/</link>
		<comments>http://notepad.patheticcockroach.com/799/vlc-1-1-0-portable/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 13:31:38 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[portable software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=799</guid>
		<description><![CDATA[VideoLAN Client (VLC) Media Player version 1.1.0 (&#8220;The luggage&#8221;) was released today. If you&#8217;re on Windows, upgrading promptly is rather important, as you&#8217;re probably running version 1.0.5, which contains some serious vulnerabilities that were fixed in version 1.0.6 (no compiled binaries of this version were released for Windows). Of course, VLC 1.1.0 contains some other [...]]]></description>
			<content:encoded><![CDATA[<p>VideoLAN Client (VLC) Media Player version 1.1.0 (&#8220;The luggage&#8221;) was released today. If you&#8217;re on Windows, upgrading promptly is rather important, as you&#8217;re probably running version 1.0.5, which contains some <a href="http://secunia.com/advisories/39558/">serious vulnerabilities</a> that were fixed in version 1.0.6 (no compiled binaries of this version were released for Windows). Of course, VLC 1.1.0 contains some other interesting new stuff such as hardware video decoding, new codecs (WebM, Vorbis 6.1/7.1, FLAC 6.1/7.1 and more), an extension system, improved speed, etc. Well, in short, it&#8217;s worth upgrading, <a href="http://www.videolan.org/press/2010-1.html">unless you&#8217;re a SHOUTcast addict</a>.<br />
As often, it will probably take a few days for PortableApps to update their version, so <a href="http://www.megaupload.com/?d=XOFP2C11">here is one I quickly packed</a> (and tested on a PC without VLC installed). It&#8217;s simply the <a href="http://sourceforge.net/projects/vlc/files/1.1.0/win32/vlc-1.1.0-win32.7z/download">VLC 1.1.0 release (binary 7-zip version)</a> combined with <a href="http://downloads.sourceforge.net/portableapps/VLCPortable_1.0.5.paf.exe?download" rel="nofollow">VLC Portable 1.0.5</a> from PortableApps.</p>
<p>Once again, this is <strong>not</strong> an official release from portableapps, it&#8217;s a custom, &#8220;home-made&#8221; package. Here you go:</p>
<div style="text-align:center;"><a href="http://www.megaupload.com/?d=XOFP2C11"><img src="http://i260.photobucket.com/albums/ii8/patheticcockroach/vlc.png" alt="VLC logo" width="128" height="128"/><br />
VLC 1.1.0 portable for Windows</a></div>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/799/vlc-1-1-0-portable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera 10.10 fails to load on Fedora 13 64 bits</title>
		<link>http://notepad.patheticcockroach.com/793/opera-10-10-fails-to-load-on-fedora-13-64-bits/</link>
		<comments>http://notepad.patheticcockroach.com/793/opera-10-10-fails-to-load-on-fedora-13-64-bits/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 07:56:13 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Opera]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=793</guid>
		<description><![CDATA[I ended up installing Fedora 13 from a USB key, and the Live USB creation program I used (UNetbootin) wouldn&#8217;t work with anything more complete than the LiveCD. So, a lot of dependencies are missing. For the NVIDIA drivers, the missing stuff was kernel-devel and gcc. For Opera 10.10, it was&#8230; Qt 3. So, to [...]]]></description>
			<content:encoded><![CDATA[<p>I ended up installing Fedora 13 from a USB key, and the Live USB creation program I used (<a href="http://unetbootin.sourceforge.net/">UNetbootin</a>) wouldn&#8217;t work with anything more complete than the LiveCD. So, a lot of dependencies are missing. For the <a href="http://notepad.patheticcockroach.com/505/installing-nvidia-graphics-drivers-on-fedora-12/">NVIDIA drivers</a>, the missing stuff was kernel-devel and gcc. For Opera 10.10, it was&#8230; Qt 3. So, to make Opera work in Fedora 13 64 bits, you can either <code>yum install qt3</code> or&#8230; <a href="http://www.opera.com/browser/download/?os=linux-x86-64&#038;ver=10.60b1">get Opera 10.60 beta 1</a> (which probably relies on Qt 4, already installed if you installed things like VLC).</p>
<p>General tip: to find what dependencies are missing for a particular program:<br />
1. launch it from the terminal, so you&#8217;ll get verbose error messages (when you launch a program from the GUI usually you just see nothing if it fails)<br />
2. when you see missing files, use <a href="http://www.rpmfind.net/linux/rpm2html/search.php?query=libqt-mt.so.3">RPM Find</a> to find out what package contains the file you need.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/793/opera-10-10-fails-to-load-on-fedora-13-64-bits/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>#o£¥ $#!t, AVG is the $#!t!</title>
		<link>http://notepad.patheticcockroach.com/773/holy-sht-avg-is-the-sht/</link>
		<comments>http://notepad.patheticcockroach.com/773/holy-sht-avg-is-the-sht/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 22:30:49 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=773</guid>
		<description><![CDATA[Yesterday I posted about how this Buzus trojan was ruining my evening. Fortunately, I had a fallback Windows XP installation from which I was not only able to manually remove the files I had spotted, but also to try and run various other antivirus scanners: Kaspersky online (the b*tch is disabled), F-Secure online (their online [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I posted about how this <a href="http://notepad.patheticcockroach.com/756/trojan-win32-buzus-emdx/">Buzus trojan</a> was ruining my evening. Fortunately, I had a fallback Windows XP installation from which I was not only able to manually remove the files I had spotted, but also to try and run various other antivirus scanners: <a href="http://www.kaspersky.com/kos/english/languages/english/check.html">Kaspersky online</a> (the b*tch is disabled), <a href="http://www.f-secure.com/en_EMEA/security/tools/online-scanner/">F-Secure online</a> (their online version has an outdated database), then an updated AntiVir which became able to detect part of the files I posted (3 out of 5, as far as I remember), and finally&#8230; I decided to give AVG a go.</p>
<p><a href="http://free.avg.com">AVG</a> is one from this quite old trio of big free anti-virus software. The others being <a href="http://www.free-av.com/">AntiVir/Avira</a> (my current antivirus) and <a href="http://www.avast.com/free-antivirus-download">Avast!</a>. I tried them all a long while ago, by the time of version 5-6 of AntiVir and AVG, and from this period I remembered how heavy AVG and Avast! were (plus they used to require a registration on their website) while AntiVir felt so light, with a rather miserable GUI that I liked but which used to repulse &#8220;basic&#8221; users. And I stuck with it until now, even though they &#8220;upgraded&#8221; the interface to something shiny but heavy like hell, notably because Avast! was still heavier and heavier and because AVG got pretty poor ratings from anti-virus tests during a large period.</p>
<p>But it wasn&#8217;t all brilliant. AntiVir saved my @$$, well, I don&#8217;t remember of a single time actually. Probably it caught a few highly suspicious files that I was going to check myself anyway, but that remained highly rare. During the same time, it gave me tons and tons of false positives, notably on a lot of things I programmed myself and packed using <a href="http://upx.sourceforge.net/">UPX</a>, and on a lot of trainers (I used quite many of them for <a href="http://www.wiki4games.com">Wiki4Games</a>&#8230;). It also failed to register that I don&#8217;t want it to detect that Abel &#038; Cain installation file which has been sleeping on my PC for ages (and suddenly got detected forever after some update). And finally, it totally missed Buzus, which I only caught thanks to <a href="http://www.greatis.com/security/">RegRun</a>. When I caught the files and sent them to online scanners (<a href="http://www.virustotal.com/analisis/a89fd24918483d65e4d7ca488169e20da1924b5ec1c6766de63ff6480f1d5656-1276802489">Virustotal</a> and <a href="http://virscan.org/report/f047c39b23c22f96d288163d7c681fb2.html">VirSCAN</a>), I noticed that:</p>
<ol>
<li>as usual, Kaspersky pwned</li>
<li>only a few scanners detected the virus (3/41=7% or 5/36=14%)</li>
<li>and AVG was amongst those!</li>
</ol>
<p>After all I&#8217;d heard and seen in tests about AVG, I was rather amazed. But considering how I was disappointed with my AntiVir experience, I eventually decided to give it another chance.</p>
<p>First impression: bloody hard to find on avg.com: I ended up searching for AVG free on Google&#8230;<br />
Second impression: omfg it&#8217;s huge: the installer is more than twice as big as AntiVir: 84 MiB vs 40 MiB (Avast: is 46 MiB)<br />
The installer is ok, it seems to do weird things at the beginning but it turns out to be a good, normal installer with the usual options. No restart needed at the end, the first run update is fast, too. The installed program is, despite the bigger installer, smaller than AntiVir (around 55 MiB, maybe there&#8217;s stuff elsewhere though?).<br />
I start by scanning the folder where I had isolated the infected files. They&#8217;re all detected and&#8230; deleted. Ow, not cool, the default configuration is to slay the infected files. Gladly, I found them in quarantine (they call this the Virus Vault <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ), and there are options to disable this &#8220;I act without asking you first&#8221; behavior. Then I scan the whole infected Windows partition&#8230; gosh it takes ages&#8230; but it does find what AntiVir hadn&#8217;t found.<br />
I finish cleaning and finally can get back to my primary Windows XP installation. There I promptly replace AntiVir with AVG. It detects a keygen on the desktop (bloody false +, hey&#8230;) but the whitelist does work and is not limited in size to a ridiculous value like AntiVir. The Cain &#038; Abel installer isn&#8217;t detected, too.</p>
<p>So, to summarize:</p>
<ul>
<li>kind of heavy, but not more than AntiVir after all, notably faster interface than AntiVir</li>
<li>seems to have a good detection rate. OK, that&#8217;s just one sample, but on this random one he&#8217;s in the top 10% already&#8230;</li>
<li>false positives on trainers and such, but working white-list system and no detection of unarmed malware like the Cain &#038; Abel installer.</li>
</ul>
<p>Looks like AVG is definitely back in the race. At least it&#8217;s back on my computer now <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/773/holy-sht-avg-is-the-sht/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenOffice 3.2.1 portable</title>
		<link>http://notepad.patheticcockroach.com/762/openoffice-3-2-1-portable/</link>
		<comments>http://notepad.patheticcockroach.com/762/openoffice-3-2-1-portable/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 23:13:08 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[portable software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=762</guid>
		<description><![CDATA[If you&#8217;re in a hurry, the download link is at the very end of this post. As you can guess from my previous posts, I&#8217;m a heavy user of portable applications. This allows for use of much more up-to-date software than our understaffed IT team can provide. I like using portableapps.com as my source of [...]]]></description>
			<content:encoded><![CDATA[<p><em>If you&#8217;re in a hurry, the download link is at the very end of this post.</em></p>
<p>As you can guess from my previous posts, I&#8217;m a heavy user of portable applications. This allows for use of much more up-to-date software than our understaffed IT team can provide. I like using <a rel="nofollow" href="http://www.portableapps.com">portableapps.com</a> as my source of portable applications, but the only problem with them is that they usually take ages to release updated versions. I understand that this is because they take great care to release perfectly tested and stable things, but come on, waiting a few weeks after a major release to get the portable version is just&#8230; very frustrating. So, I usually &#8220;do some stuff&#8221; with the current portableapps.com launcher and an updated install I make at home or the program auto-updater (particularly for Firefox and Minefield).</p>
<p>This time I tried with OpenOffice, because the 3.2.1 version launches so much faster than the 3.1.1 I currently use at work (I heard there was some serious bugs with 3.2 so I didn&#8217;t test it much, but it seems as slow as 3.1.1). What I did was I took the portable installation of OpenOffice 3.2 from PortableApps, grabbed an installation of OpenOffice 3.2.1 and used it to write over the files of OpenOffice 3.2 portable. Finally, while I was at it I also packed in Java 1.6.0_20. That&#8217;s the first time ever I try to include Java in a portable install of OpenOffice, so just, you know, beware <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I then tested this on a Windows XP installation without OpenOffice installed but with Java installed. And it seemed to work fine on this particular setting. So, before I finally give you the download link, remember:</p>
<ol>
<li>this is not AT ALL a tested and stable release (I&#8217;ll test it tomorrow at work, I really need an updated OpenOffice there!)</li>
<li>this is not AT ALL a PortableApps release (but I did use their OpenOffice 3.2 launcher, which is NOT supposed to be appropriate for OOo 3.2.1, exactly as is)</li>
</ol>
<p>All clear? Well, here&#8217;s the link (7-Zip archive, 105 MiB): <a href="http://www.megaupload.com/?d=CK9O82TY">OpenOffice 3.2.1 portable</a>.<br />
Edit: ok, I just tested it at work, and it doesn&#8217;t work. My best guess is that my Java version there is too outdated (1.4.2 update 9, FFS&#8230;) so I&#8217;m leaving the download link available, but know that it probably won&#8217;t work for you either.<br />
Edit 2: if you try it, please leave a comment saying if it works or not (and in both case, what version, if any, of Java you had installed on the PC where you tested the app).</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/762/openoffice-3-2-1-portable/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MediaWiki automated upgrade script</title>
		<link>http://notepad.patheticcockroach.com/715/mediawiki-automated-upgrade-script/</link>
		<comments>http://notepad.patheticcockroach.com/715/mediawiki-automated-upgrade-script/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 06:19:52 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[MediaWiki]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=715</guid>
		<description><![CDATA[Last week-end, I finally took the time to upgrade Wiki4Games to MediaWiki 1.15.4. We&#8217;d been running it on 1.15.2 since, hm, a long time ago and never moved to 1.15.3 because the security issues fixed weren&#8217;t too big and wouldn&#8217;t affect members using things like the NoScript Firefox extension. 1.15.4 added extra fixes in the [...]]]></description>
			<content:encoded><![CDATA[<p>Last week-end, I finally took the time to upgrade <a href="http://www.wiki4games.com">Wiki4Games</a> to MediaWiki 1.15.4. We&#8217;d been running it on 1.15.2 since, hm, a long time ago and never moved to 1.15.3 because the security issues fixed weren&#8217;t too big and wouldn&#8217;t affect members using things like the <a href="https://addons.mozilla.org/en-US/firefox/addon/722/">NoScript</a> Firefox extension. 1.15.4 added extra fixes in the same field, but since the potential troubles included the possibility to change an imprudent user&#8217;s password, I thought it was time to do the update. Usually for minor updates I use the .patch file, but since 1. the patch file was a bit bigger than usual ; 2. I would need to apply two patches (1.15.3 then 1.15.4) ; and 3. MediaWiki 1.16 is on its way and should arrive &#8220;soon&#8221;, I thought it would be a good idea to finally (Wiki4Games was created more than 2 years ago, under MediaWiki 1.12.x) make an upgrade script. And here it is:</p>
<p><code>cd /home/wiki4games<br />
wget http://download.wikimedia.org/mediawiki/1.15/mediawiki-1.15.4.tar.gz<br />
tar xf mediawiki-1.15.4.tar.gz<br />
mv wwwOLD wwwOLD2<br />
mv mediawiki-1.15.4 wwwNEW</p>
<p>echo "Cleaning up wwwNEW (removing extensions and images folders)"<br />
rm wwwNEW/images/README<br />
rm wwwNEW/images<br />
rm wwwNEW/extensions/README<br />
rm wwwNEW/extensions<br />
mv www/.htaccess www/.temphtaccess<br />
cp sd/down/.downhtaccess www/.htaccess</p>
<p>mv www/00files wwwNEW<br />
mv www/0custom wwwNEW<br />
mv www/extensions wwwNEW<br />
mv www/images wwwNEW<br />
mv www/skins/0custom wwwNEW/skins<br />
cp www/404.php wwwNEW<br />
cp www/AdminSettings.php wwwNEW<br />
cp www/LocalSettings.php wwwNEW<br />
cp www/.temphtaccess wwwNEW<br />
mv www wwwOLD<br />
mv wwwNEW www<br />
cd www/maintenance<br />
php update.php<br />
cd ../..<br />
rm www/.htaccess<br />
mv www/.temphtaccess www/.htaccess</p>
<p>echo "All done. You can also delete wwwOLD2, www/config and www/docs"</code></p>
<p><strong>Of course, to apply it to your own MediaWiki installation, you&#8217;ll need to do some customization</strong>. Let&#8217;s give some explanations:</p>
<p><code>cd /home/wiki4games</code><br />
We move to the directory just higher than where MediaWiki is installed.</p>
<p><code>wget http://download.wikimedia.org/mediawiki/1.15/mediawiki-1.15.4.tar.gz<br />
tar xf mediawiki-1.15.4.tar.gz</code><br />
We download and uncompress MediaWiki 1.15.4.</p>
<p><code>mv wwwOLD wwwOLD2</code><br />
wwwOLD is a folder where I keep the previous version, so we move it to wwwOLD2 to free the wwwOLD name (that&#8217;s where we&#8217;ll move the current installation). wwwOLD2 can be deleted manually at the end of the process. I chose not to place any kind of <code>rm -r</code> command in this script, which is why I don&#8217;t delete wwwOLD but rename it instead.</p>
<p><code>mv mediawiki-1.15.4 wwwNEW</code><br />
We move MediaWiki to a folder with a more friendly name.</p>
<p><code>echo "Cleaning up wwwNEW (removing extensions and images folders)"<br />
rm wwwNEW/images/README<br />
rm wwwNEW/images<br />
rm wwwNEW/extensions/README<br />
rm wwwNEW/extensions</code><br />
We remove the <em>extensions</em> and <em>images</em> folders from the standard installation, so that we can later move our own extensions and images folder in their place)</p>
<p><code>mv www/.htaccess www/.temphtaccess<br />
cp sd/down/.downhtaccess www/.htaccess</code><br />
Here I replace the production .htaccess file with a maintenance one. Our maintenance .htaccess file redirects all trafic to down.wiki4games.com/maintenance.htm, but you can use one which just denies all access (order allow, deny; deny from all). The important thing here is that noone loads the wiki during the sensitive moves (this will result in a very short down time, hardly noone will notice it, it&#8217;s just the time needed to move some folders around&#8230; plus to apply the database patches, which might be a bit longer from a major version to another).</p>
<p><code>mv www/00files wwwNEW<br />
mv www/0custom wwwNEW<br />
mv www/extensions wwwNEW<br />
mv www/images wwwNEW<br />
mv www/skins/0custom wwwNEW/skins<br />
cp www/404.php wwwNEW<br />
cp www/AdminSettings.php wwwNEW<br />
cp www/LocalSettings.php wwwNEW<br />
cp www/.temphtaccess wwwNEW</code><br />
We move the big things and copy the small individual files.</p>
<p><code>mv www wwwOLD<br />
mv wwwNEW www</code><br />
The current MediaWiki becomes OLD, the NEW one becomes current.</p>
<p><code>cd www/maintenance<br />
php update.php</code><br />
We run the maintenance database update script. On a large wiki, this may take a while (unless there is no database scheme change).</p>
<p><code>cd ../..<br />
rm www/.htaccess<br />
mv www/.temphtaccess www/.htaccess</code><br />
And we restore the original .htaccess, the new wiki is opened <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If you got no error message during the script, it&#8217;s probably up and working. If you did get error messages, you can still check if it works but you&#8217;ll probably need to do some fixing.</p>
<p><code>echo "All done. You can also delete wwwOLD2, www/config and www/docs"</code><br />
Those are useless folders, but I didn&#8217;t place a removal command for them in the script because I didn&#8217;t want to use rm -r.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/715/mediawiki-automated-upgrade-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash 10.1 final for portable browsers</title>
		<link>http://notepad.patheticcockroach.com/718/flash-10-1-final-for-portable-browsers/</link>
		<comments>http://notepad.patheticcockroach.com/718/flash-10-1-final-for-portable-browsers/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 17:39:33 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Chrome/Chromium]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[portable software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=718</guid>
		<description><![CDATA[Not so long ago I posted links to portable versions of Flash 10.1 RC6 and RC7. I thought I&#8217;d make a separate post for the final thing. So here they are, the famous NPSWF32.dll and flashplayer.xpt files for Flash 10.1 final. In case you missed the posts about this, here is a very concise summary [...]]]></description>
			<content:encoded><![CDATA[<p>Not so long ago I posted links to portable versions of <a href="http://notepad.patheticcockroach.com/678/flash-10-1-rc-6-for-portable-browsers/">Flash 10.1 RC6 and RC7</a>. I thought I&#8217;d make a separate post for the final thing. So here they are, the famous <a href="http://www.megaupload.com/?d=N57ZAIUP">NPSWF32.dll and flashplayer.xpt</a> files for Flash 10.1 final. In case you missed the posts about this, here is a very concise summary of where to place those files for the different portable browsers:</p>
<ul>
<li>Firefox Portable: <em>Data/plugins</em></li>
<li>Opera USB: <em>program/plugins</em></li>
<li>Iron Portable: <em>Iron/plugins</em></li>
<li>Chrome Portable: <em>get Iron you freak!</em> :p</li>
</ul>
<p>Note that this is <strong>not</strong> an official release from <a href="http://get.adobe.com/flashplayer/">Adobe</a>, it&#8217;s a custom, &#8220;home-made&#8221; package.<br />
Also, note that Flash is not 100% portable: some sites will leave <a href="http://en.wikipedia.org/wiki/Local_Shared_Object">Local Shared Objects</a> (LSO) on the computer where you use it. To remove them, you can either use the <a href="https://addons.mozilla.org/en-US/firefox/addon/6623/">BetterPrivacy</a> Firefox extension or Adobe&#8217;s <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html">Global Storage Settings panel</a> (to disable future storing of LSOs) and Adobe&#8217;s <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html">Website Storage Settings panel</a> (to delete already stored LSOs).</p>
<div style="text-align:center;"><a href="http://www.megaupload.com/?d=N57ZAIUP"><img src="http://i260.photobucket.com/albums/ii8/patheticcockroach/logo_flash_player.jpg" alt="Flashlogo" width="128" height="128"/><br />
Flash 10.1 final for portable browsers</a></div>
<p>If you don&#8217;t want to grab 7-Zip portable, here are the same <a href="http://www.megaupload.com/?d=TWOOBECX">Flash files but in a ZIP archive</a>.</p>
<p>As requested in a comment, here are the <a href="http://www.megaupload.com/?d=WN5OGKGQ">SHA 512 checksums</a>:<br />
SHA512 of file: NPSWF32.dll<br />
dcdf4dccb5359a36 607a85c3034ef6f0 7a3597c0af00d42f bebee5c12af534fa<br />
39ff83f8a3bc9f15 802cb3d18a138d44 41292b8f9032e758 73ef55d530ea1400</p>
<p>SHA512 of file: flashplayer.xpt<br />
494146bb31cf0e11 5a6e1c632a8ed560 8046f5a8b2bbc900 832befb07b8f1425<br />
81483c222067e440 5fc2755b5acf722d 576ac04b2b6d9f79 6e5a872fd5c7ddc9</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/718/flash-10-1-final-for-portable-browsers/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Flash 10.1 (RC 6) for portable browsers</title>
		<link>http://notepad.patheticcockroach.com/678/flash-10-1-rc-6-for-portable-browsers/</link>
		<comments>http://notepad.patheticcockroach.com/678/flash-10-1-rc-6-for-portable-browsers/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 06:37:49 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[portable software]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=678</guid>
		<description><![CDATA[Update: Flash 10.1 final is now available too, in this separate post. A couple of weeks ago I posted about installing Flash on portable Firefox, Opera and Iron. By that time I was too lazy to mirror the necessary files myself and pointed you to third-party websites to grab the ready-to-unpack Flash files. Well, I [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: Flash 10.1 final is now available too, in <a href="http://notepad.patheticcockroach.com/718/flash-10-1-final-for-portable-browsers/">this separate post</a>.</em></p>
<p>A couple of weeks ago I posted about installing Flash on portable Firefox, Opera and Iron. By that time I was too lazy to mirror the necessary files myself and pointed you to third-party websites to grab the ready-to-unpack Flash files. Well, I recently tried the sixth release candidate of Flash 10.1, and couldn&#8217;t find a portable-ready version, so this time I uploaded mine.<br />
Here it is: <a href="http://www.megaupload.com/?d=CT2ELHOS">Flash 10.1 RC6 &#8211; NPSWF32.dll + flashplayer.xpt</a>.</p>
<p>The instructions to use this are the same as with the previous versions (see for <a href="http://notepad.patheticcockroach.com/589/how-to-install-flash-player-on-firefox-portable-or-opera-usb/">Firefox Portable / Opera-USB</a> or <a href="http://notepad.patheticcockroach.com/615/how-to-install-flash-player-on-chromeiron-portable/">Chrome and Iron Portable</a>).<br />
You can always find the latest Flash prerelease version at <a href="http://labs.adobe.com/downloads/flashplayer10.html">Adobe Labs</a> (not portable-ready as far as Windows is concerned &#8211; the Linux version is portable).</p>
<h2>Update: Flash 10.1 RC 7</h2>
<p>The seventh release candidate was published today. Here&#8217;s the portable version of it: <a href="http://www.megaupload.com/?d=VCV77GUL">Flash 10.1 RC7 &#8211; NPSWF32.dll + flashplayer.xpt</a>. It will <a href="http://kb2.adobe.com/cps/155/tn_15507.html">test</a> as version 10,1,53,64.<br />
On a side note, as of version 10.1 Flash installs itself in <code>C:\WINDOWS\system32\Macromed\Flash</code> (at least in Windows XP).</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/678/flash-10-1-rc-6-for-portable-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
