<?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>dopefish.de &#187; Tech</title>
	<atom:link href="http://www.dopefish.de/archives/category/tech/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dopefish.de</link>
	<description>Headquaters of the evil genius</description>
	<lastBuildDate>Mon, 23 Jan 2012 13:34:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to build an efficient GeoIP SQL table</title>
		<link>http://www.dopefish.de/archives/1037</link>
		<comments>http://www.dopefish.de/archives/1037#comments</comments>
		<pubDate>Mon, 22 Aug 2011 19:17:48 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[GeoIP]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1037</guid>
		<description><![CDATA[This here is a very handy little script I threw together to generate a geoip.sql table for quickly determining which country a IP is from. I already hear you saying &#8220;Just convert the IP to an INT and use BETWEEN, how hard can it be&#8221;. And you are right, that works. And it may even [...]]]></description>
			<content:encoded><![CDATA[<p>This here is a very handy little script I threw together to generate a geoip.sql table for quickly determining which country a IP is from. I already hear you saying &#8220;Just convert the IP to an INT and use BETWEEN, how hard can it be&#8221;. And you are right, that works. And it may even be your easiest solution, but it just isn&#8217;t fast. And if you are planning on hammering the table with thousands of queries you are going to end up looking for something fast.</p>
<p>A while back I found a very interesting posting at www.<a href="http://jcole.us/blog/archives/2007/11/24/on-efficiently-geo-referencing-ips-with-maxmind-geoip-and-mysql-gis/" target="_blank">jcole.us</a>&nbsp;that described how to use <a href="http://dev.mysql.com/doc/refman/5.0/en/creating-spatial-indexes.html" target="_blank">Spacial Indexes</a>&nbsp;together with <a href="http://dev.mysql.com/doc/refman/5.0/en/spatial-extensions.html" target="_blank">MySQL&#8217;s GIS</a> to speed up the queries. The posting has been online for a while and both it and the replies are worth reading.</p>
<p>All I did was make a small bash script to download the current &#8220;lite&#8221; version of GeoIP CSV file from maxmind.com, use the information from the posting to throw/transform it into a local database table and dump out a .sql file that can be easily imported into any other database. The script isn&#8217;t failproof though, it expects your user to be able to use mysql and have permission to create databases/tables and &#8220;load data local infile&#8221;.</p>
<p><strong><a href="http://dopefish.de/bash/generate_geoip_sql.sh" target="_blank">generate_geoip_sql.sh</a></strong></p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#===============================================================================</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#          FILE: generate_geoip_sql.sh</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#         USAGE: ./generate_geoip_sql.sh</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#   DESCRIPTION: Generates a optimized sql dump with geoipdata from maxmind.com</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#         USAGE: import sql into a database</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#  REQUIREMENTS: mysql database rights to create databases and LOAD DATA LOCAL INFILE</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       EXAMPLE:</span>
<span style="color: #666666; font-style: italic;">#                 SELECT country_code,country_name</span>
<span style="color: #666666; font-style: italic;">#                 FROM   geo_ip</span>
<span style="color: #666666; font-style: italic;">#                 WHERE  MBRCONTAINS(ip_poly, POINTFROMWKB(POINT(INET_ATON('1.2.3.4'), 0)))</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#                 SELECT country_code,country_name</span>
<span style="color: #666666; font-style: italic;">#                 FROM   geo_ip</span>
<span style="color: #666666; font-style: italic;">#                 WHERE  INET_ATON('1.2.3.4') </span>
<span style="color: #666666; font-style: italic;">#                 BETWEEN ip_from AND ip_to;</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#        AUTHOR:  Ryan Schulze (rs), ryan@dopefish.de</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#===============================================================================</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-o</span> nounset                              <span style="color: #666666; font-style: italic;"># Treat unset variables as an error</span>
&nbsp;
<span style="color: #007800;">CSVFile</span>=<span style="color: #ff0000;">&quot;GeoIPCountryWhois.csv&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #800000;">${CSVFile}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
  <span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-en</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #007800;">${CSVFile}</span> already exists, download a newer version? [Y/n]: &quot;</span>
  <span style="color: #c20cb9; font-weight: bold;">read</span> answer
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(echo $answer|tr &quot;N&quot; &quot;n&quot;)</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;n&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
  <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #800000;">${CSVFile}</span>
  <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-e</span> <span style="color: #800000;">${CSVFile}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #007800;">tmpfile</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">mktemp</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
  <span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-O</span> <span style="color: #800000;">${tmpfile}</span> http:<span style="color: #000000; font-weight: bold;">//</span>geolite.maxmind.com<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>geoip<span style="color: #000000; font-weight: bold;">/</span>database<span style="color: #000000; font-weight: bold;">/</span>GeoIPCountryCSV.zip
  <span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #800000;">${tmpfile}</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #800000;">${tmpfile}</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>generating geoip.sql&quot;</span>
&nbsp;
mysql <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;create database if not exists temp&quot;</span>
mysql <span style="color: #660033;">-D</span> temp <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;drop table if exists geo_ip&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'
CREATE TABLE geo_ip
(
  id           INT UNSIGNED  NOT NULL auto_increment,
  ip_poly      POLYGON       NOT NULL,
  ip_from      INT UNSIGNED  NOT NULL,
  ip_to        INT UNSIGNED  NOT NULL,
  country_code CHAR(2)       NOT NULL,
  country_name CHAR(50)      NOT NULL,
  PRIMARY KEY (id),
  SPATIAL INDEX (ip_poly)
);
LOAD DATA LOCAL INFILE &quot;GeoIPCountryWhois.csv&quot;
INTO TABLE geo_ip
FIELDS
  TERMINATED BY &quot;,&quot;
  ENCLOSED BY &quot;\&quot;&quot;
LINES
  TERMINATED BY &quot;\n&quot;
(
  @ip_from_string, @ip_to_string,
  @ip_from, @ip_to,
  @country_code, @country_string
)
SET
  id      := NULL,
  ip_from := @ip_from,
  ip_to   := @ip_to,
  ip_poly := GEOMFROMWKB(POLYGON(LINESTRING(
    /* clockwise, 4 points and back to 0 */
    POINT(@ip_from, -1), /* 0, top left */
    POINT(@ip_to,   -1), /* 1, top right */
    POINT(@ip_to,    1), /* 2, bottom right */
    POINT(@ip_from,  1), /* 3, bottom left */
    POINT(@ip_from, -1)  /* 0, back to start */
  ))),
  country_code := @country_code,
  country_name := @country_string
;
'</span> <span style="color: #000000; font-weight: bold;">|</span> mysql <span style="color: #660033;">-D</span> temp
&nbsp;
mysqldump <span style="color: #660033;">--opt</span> temp geo_ip <span style="color: #000000; font-weight: bold;">&gt;</span> geoip.sql
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>done generating geoip.sql&quot;</span></pre></td></tr></table></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1037/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win7 system restore &#8230; aaarrrrgggh</title>
		<link>http://www.dopefish.de/archives/1032</link>
		<comments>http://www.dopefish.de/archives/1032#comments</comments>
		<pubDate>Thu, 28 Jul 2011 22:49:40 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[junctions]]></category>
		<category><![CDATA[system restore]]></category>
		<category><![CDATA[user directory]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1032</guid>
		<description><![CDATA[Warning: this is mainly me just ranting about Microsoft stupidity and a warning for anyone using junctions.
About a month or two ago I built myself a new PC (old one was dying) and installed Win7 on it.  Since I was previously still on WinXP there were a few things to get used to, but all [...]]]></description>
			<content:encoded><![CDATA[<p>Warning: this is mainly me just ranting about Microsoft stupidity and a warning for anyone using junctions.</p>
<p>About a month or two ago I built myself a new PC (old one was dying) and installed Win7 on it.  Since I was previously still on WinXP there were a few things to get used to, but all in all I enjoyed the update. There were of course some strange Windows pitfalls involved, moving your users directory to a different drive really isn&#8217;t straightforward, but works if you use junctions to link the directories.</p>
<p>Since Virtualbox drops the guests in a subfolder of the users directory I decided to move my users directory to one of the larger mechanical disks in my system, to keep the windows drive (a SSD disk) with plenty of space.</p>
<p>Now fast forward to yesterday, where some software I installed decided to clear out most of my Start-&gt;All Programs folder, leaving me with lots of installed softawre, and no Start Menu links. After trying some stuff out I finally caved in and used System Restore to get my Start Menu working again. System Restore actually worked fine, I got my Start Menu back &#8230; unfortunately it also corrupted my profile, and while googling to find out how to fix it I found a whole lot of people with the same problem.</p>
<p>Junction + User directory + System Restore = corrupt user, non repairable. Hello Microsoft, this is all original system software, no 3rd party stuff, breaking my user is totally uncool.</p>
<p>So after trying all kinds of crazy tips I found I gave up and followed the <a href="http://windows.microsoft.com/en-us/windows7/Fix-a-corrupted-user-profile" target="_blank">official instructions</a> (a.k.a. You are fucked, haha bye bye user registry). And right now I am copying stuff from my old profile to my new one and setting up all the software that had stored stuff in the registry. This time my Profile stays on C: without any junctions, it&#8217;s easier to repair Virtualbox if it breaks over the images being in a non-standard path than worrying about windows corrupting my whole profile if I touch System Restore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1032/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add file versions/history to iFolder</title>
		<link>http://www.dopefish.de/archives/1025</link>
		<comments>http://www.dopefish.de/archives/1025#comments</comments>
		<pubDate>Thu, 21 Jul 2011 03:34:19 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[iFolder]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1025</guid>
		<description><![CDATA[I&#8217;ve been using iFolder for about a month now and am pretty satisfied with the performance and features, but there is one feature I dearly miss: having access to older versions of a file.  To work around this problem I simply created a SVN repository for every iFolder user.  This allows the users to &#8220;check in&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a title="iFolder" href="http://www.kablink.org/ifolder" target="_blank">iFolder</a> for about a month now and am pretty satisfied with the performance and features, but there is one feature I dearly miss: having access to older versions of a file.  To work around this problem I simply created a <a title="Subversion" href="http://subversion.apache.org/" target="_blank">SVN</a> <a title="SVN epository" href="http://svnbook.red-bean.com/en/1.5/svn.basic.repository.html" target="_blank">repository</a> for every iFolder user.  This allows the users to &#8220;check in&#8221; files whenever they want to save a specific version of a file, they can tell SVN to ignore directories that they don&#8217;t need or want in the SVN system. And you can easily browse through the history of a file, pulling up versions from specific dates, or seeing what changed when in the file (obviously not for binary data).</p>
<p>I am fully aware that SVN may be a bit overkill and that I am only using a very small subset of the SVN features, but on the other hand it is very easy to set up, and there are clients for all the major OS out there that integrate seamlessly into the file managers. So even if I don&#8217;t need all the bells and whistles it does what I need it to do without any worries.</p>
<p>As with all workarounds this of course brings some limitations and implications with it.
<ul>
<li>First of all you will only have the history of a file on systems with a svn client, so no history if you are accessing the files via webinterface.</li>
<li>Situations where multiple people have access to the same files must be set up in the same consellation in SVN to ensure all users have access to file histories</li>
<li>Due to the usage of two systems (iFolder and SVN) the files will be stored in both systems</li>
</ul>
<div>Depending on your setup and needs the implications may turn out to be a dealbreaker. But if not it may be a viable &#8220;addon&#8221; to add some features you otherwise missed. I&#8217;m not going to go into &#8220;how to setup SVN&#8221;, since anything I write would be tuned to a specific installation. Just use google, there are plenty of Howtos out there, just find the one that meets your system.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1025/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install ruby 1.9.2 on Ubuntu 10.04</title>
		<link>http://www.dopefish.de/archives/1018</link>
		<comments>http://www.dopefish.de/archives/1018#comments</comments>
		<pubDate>Thu, 07 Jul 2011 18:49:52 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[LTS]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Ubuuntu]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1018</guid>
		<description><![CDATA[The current LTS version of Ubuntu is 10.04 and the most current version of ruby it ships with is 1.9.1. Unfurtunately 1.9.1 wasn&#8217;t that great of a release and anyone using the 1.9 branch really should use the stable 1.9.2.
After doing a bit of researching I found some information on how the best approach to [...]]]></description>
			<content:encoded><![CDATA[<p>The current <a title="Ubuntu LTS" href="https://wiki.ubuntu.com/LTS" target="_blank">LTS</a> version of Ubuntu is 10.04 and the most current version of ruby it ships with is 1.9.1. Unfurtunately 1.9.1 wasn&#8217;t that great of a release and anyone using the 1.9 branch really should use the stable 1.9.2.</p>
<p>After doing a bit of researching I found some information on how the best approach to get ruby installed is. Downloading the source, compiling it and registering the installed version with the package manager.</p>
<p>The following little bash script takes care of installing ruby 1.9.2 on a ubuntu or debian based system (or any other version if you change the $Version variable in the script). The script just consolidates information found online and wraps it up into a nice bashscript</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#===============================================================================</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#          FILE:  install_ruby_1.9.sh</span>
<span style="color: #666666; font-style: italic;"># </span>
<span style="color: #666666; font-style: italic;">#         USAGE:  ./install_ruby_1.9.sh </span>
<span style="color: #666666; font-style: italic;"># </span>
<span style="color: #666666; font-style: italic;">#        AUTHOR: Ryan Schulze (rs), ryan@dopefish.de</span>
<span style="color: #666666; font-style: italic;">#       CREATED: 07/07/2011 11:59:37 AM CDT</span>
<span style="color: #666666; font-style: italic;">#===============================================================================</span>
&nbsp;
<span style="color: #007800;">Version</span>=<span style="color: #ff0000;">&quot;1.9.2-p180&quot;</span>
<span style="color: #007800;">GZFile</span>=<span style="color: #ff0000;">&quot;ruby-<span style="color: #007800;">${Version}</span>.tar.gz&quot;</span>
<span style="color: #007800;">Download</span>=<span style="color: #ff0000;">&quot;http://ftp.ruby-lang.org/pub/ruby/1.9/<span style="color: #007800;">${GZFile}</span>&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(id -u)</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;You need root permission to execute this script&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-q</span> update
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-qy</span> upgrade
<span style="color: #c20cb9; font-weight: bold;">apt-get install</span> <span style="color: #660033;">-qy</span> build-essential <span style="color: #c20cb9; font-weight: bold;">wget</span> zlib1g-dev libssl-dev libffi-dev <span style="color: #c20cb9; font-weight: bold;">autoconf</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-e</span> <span style="color: #800000;">${GZFile}</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #800000;">${Download}</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzf</span> <span style="color: #800000;">${GZFile}</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ruby-<span style="color: #800000;">${Version}</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">autoconf</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-ruby-version</span>=<span style="color: #800000;">${Version}</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--program-suffix</span>=<span style="color: #800000;">${Version}</span> 
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #800000;">${Version}</span><span style="color: #000000; font-weight: bold;">/</span>bin
&nbsp;
update-alternatives \
	<span style="color: #660033;">--install</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby ruby <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #800000;">${Version}</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #800000;">${Version//./}</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d-</span> -f1<span style="color: #7a0874; font-weight: bold;">&#41;</span> \
	<span style="color: #660033;">--slave</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>man<span style="color: #000000; font-weight: bold;">/</span>man1<span style="color: #000000; font-weight: bold;">/</span>ruby.1.gz ruby.1.gz <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>man<span style="color: #000000; font-weight: bold;">/</span>man1<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #800000;">${Version}</span>.1 \
	<span style="color: #660033;">--slave</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>bin        gem-bin   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #800000;">${Version}</span><span style="color: #000000; font-weight: bold;">/</span>bin \
	<span style="color: #660033;">--slave</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>erb  erb  <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>erb<span style="color: #800000;">${Version}</span> \
	<span style="color: #660033;">--slave</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>irb  irb  <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>irb<span style="color: #800000;">${Version}</span> \
	<span style="color: #660033;">--slave</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rdoc rdoc <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rdoc<span style="color: #800000;">${Version}</span> \
	<span style="color: #660033;">--slave</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ri   ri   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ri<span style="color: #800000;">${Version}</span> \
	<span style="color: #660033;">--slave</span>   <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem  gem  <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem<span style="color: #800000;">${Version}</span> \
&nbsp;
update-alternatives <span style="color: #660033;">--config</span> ruby
update-alternatives <span style="color: #660033;">--display</span> gem <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> update-alternatives <span style="color: #660033;">--remove-all</span> gem
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;[+] Done installing&quot;</span>
ruby <span style="color: #660033;">-v</span></pre></div></div></div>

<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1018/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using iFolder as an open source Dropbox alternative</title>
		<link>http://www.dopefish.de/archives/1012</link>
		<comments>http://www.dopefish.de/archives/1012#comments</comments>
		<pubDate>Sat, 25 Jun 2011 20:51:09 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[iFolder]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=1012</guid>
		<description><![CDATA[I&#8217;ve had a few posting here in my blog over the years about trying to keep data synced over various computers. Nowadays it has gotten easier since it seems everyone is chruning out their own online storage. Classics like Dropbox or SugarSync, and then we have the big companies  Google, Microsoft and Ubuntu trying their [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a few posting here in my blog over the years about trying to keep data synced over various computers. Nowadays it has gotten easier since it seems everyone is chruning out their own online storage. Classics like Dropbox or SugarSync, and then we have the big companies  Google, Microsoft and Ubuntu trying their luck. Basically they all provide you with 2-5Gb free storage, and more space and features for more money. But they all have one downside, whether encrypted or not, you are leaving your own files to the mercy of an external company. There is not really any voodoo in the whole system, basically you just have some space online, a bit of encryption, and some way to ensure that all clients of a user are synced, nonetheless building your own service can be a hassle as I have found out.</p>
<p>Currently I&#8217;m using SVN as a workaround. I just sometimes forget to commit, which leads to me having old data and no access to updated files. Instead of starting from scratch and build strange stuff with rsync I had a look if there were any open source solutions out there. And I was pleased to find a few. Unfortunately they are almost all in the &#8220;I have an idea and a few mockups&#8221; stage, maybe even some beta version that does something, but nothing really &#8220;production&#8221; level. Another downside was that most of them either supported Linux or Windows, but often not both.</p>
<p>One open source solution I stumbled across is <a title="iFolder" href="http://www.kablink.org/ifolder/features" target="_blank">iFolder</a>,  seasoned software supported by Novell, with clients for Windows, Linux and Mac. And if all else fails you can use the web interface to access your files. Admin and User web interface are both easy to use. I don&#8217;t remember how I stumbled across it, but I do know that it&#8217;s not one of the main products you see named when searching for alternatives to Dropbox.</p>
<p>If you have SuSE as an OS, then installing the software is immensely simplified due to SuSE belonging to Novell, just follow the <a title="Suse Install" href="http://www.kablink.org/ifolder/get_started" target="_blank">SuSE instructions</a> on the website. I prefer debian based installations and found <a href="https://help.ubuntu.com/community/iFolderInstall" target="_blank">Ubuntu instructions</a> at help.ubuntu.com that were written mainly for Ubuntu, but should work with any debian deviate.</p>
<p>I&#8217;m not going to repeat anything from the installation instructions, they already did a fine job of documenting everything. One thing is important however: the Client 3.8.0.0 just plain doesn&#8217;t work. unfortunately it is the one linked from the website. Go to the sourceforge repository, and download the newer 3.8.03 client. That one works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/1012/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to easily add colored text output in bash scripts</title>
		<link>http://www.dopefish.de/archives/969</link>
		<comments>http://www.dopefish.de/archives/969#comments</comments>
		<pubDate>Tue, 31 May 2011 22:29:36 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=969</guid>
		<description><![CDATA[Here is small snippet that can give your shell scripts some nice output: colortext.sh As with the debug.sh script, just download it to the same directory as your own script and add it with

Select All Code:. colortext.sh

It contains one simple function called text with the syntax text &#60;color&#62; &#8220;text to be output&#8221;. Color can be red, [...]]]></description>
			<content:encoded><![CDATA[<p>Here is small snippet that can give your shell scripts some nice output: <a href="http://www.dopefish.de/files/colortext.sh" target="_blank">colortext.sh</a> As with the <a href="http://www.dopefish.de/archives/873" target="_blank">debug.sh</a> script, just download it to the same directory as your own script and add it with</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">. colortext.sh</pre></div></div></div>

<p>It contains one simple function called <span style="color: #0000ff;">text</span> with the syntax <span style="color: #0000ff;">text &lt;color&gt; &#8220;text to be output&#8221;</span>. Color can be red, green, yellow, blue or grey. The function does not automatically add a linebreak to the putput, so pop a <span style="color: #0000ff;">\n</span> in there if you need it. I prefer using it together with printf for clean and easy color output.</p>
<p>Here are some examples of how the function can be used, and below the corresponding output:</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">. colortext.sh
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;normal text&quot;</span>
text blue <span style="color: #ff0000;">&quot;blue text, &quot;</span>
text yellow <span style="color: #ff0000;">&quot;yellow text<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Using it together with echo</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Status of script: [&quot;</span>;text <span style="color: #c20cb9; font-weight: bold;">red</span> <span style="color: #ff0000;">&quot;ERROR&quot;</span>;<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;]&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># more elegant usage with printf</span>
<span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">&quot;Status of script: [%s]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>text green <span style="color: #ff0000;">&quot;OK&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div></div>

<p>Output:</p>
<blockquote><p>normal text<br />
<span style="color: #0000ff;">blue text</span>, <span style="color: #808000;">yellow text<br />
</span> Status of script: [<span style="color: #ff0000;">ERROR</span>]<br />
Status of script: [<span style="color: #339966;">OK</span>]</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/969/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get Teamspeak 3 running on a current Linux</title>
		<link>http://www.dopefish.de/archives/944</link>
		<comments>http://www.dopefish.de/archives/944#comments</comments>
		<pubDate>Tue, 24 May 2011 04:18:04 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[teamspeak 3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=944</guid>
		<description><![CDATA[Teamspeak is know for lagging a bit behind with development.
The last few days I have been upgrading my servers to current distributions, today the Voice servers were on the list to get Debian 6 / Ubuntu 11.04. And again I ran into problems with Teamspeak, turns out they won&#8217;t work with libmysqlclient 16 libraries and [...]]]></description>
			<content:encoded><![CDATA[<p>Teamspeak is know for lagging a bit behind with development.</p>
<p>The last few days I have been upgrading my servers to current distributions, today the Voice servers were on the list to get Debian 6 / Ubuntu 11.04. And again I ran into problems with Teamspeak, turns out they won&#8217;t work with libmysqlclient 16 libraries and require the good old 15 version (which isn&#8217;t available out-of-the-box in the latest Debian and Ubuntu release).</p>
<p>So anybody running into the same problem (do a <span style="color: #3366ff;"><em>ldd libts3db_mysql.so</em></span> to check), can hop on over to <a href="http://packages.debian.org/lenny/libmysqlclient15off">http://packages.debian.org/lenny/libmysqlclient15off</a> and download the package for your architecture and install it with <span style="color: #3366ff;"><em>dpkg -i &lt;filename&gt;</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/944/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What plugins is that website running?</title>
		<link>http://www.dopefish.de/archives/916</link>
		<comments>http://www.dopefish.de/archives/916#comments</comments>
		<pubDate>Wed, 18 May 2011 13:50:27 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[cms-explorer]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[nikito]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=916</guid>
		<description><![CDATA[While having a look at nikito yesterday I stumbled accross cms-explorer. It&#8217;s an interesting little program that checks the themes/modules/plugins installed in common CMS systems (Drupal, WordPress, Joomla! and Mambo), with automatic exploration for Drupal and WordPress. It also has some nice bonus features like providing a list of known issues for plugins found by [...]]]></description>
			<content:encoded><![CDATA[<p>While having a look at <a href="http://cirt.net/nikto2" target="_blank">nikito</a> yesterday I stumbled accross <a href="http://code.google.com/p/cms-explorer/" target="_blank">cms-explorer</a>. It&#8217;s an interesting little program that checks the themes/modules/plugins installed in common CMS systems (<a href="http://drupal.org/" target="_blank">Drupal</a>, <a href="http://wordpress.org/" target="_blank">WordPress</a>, <a href="http://www.joomla.org/" target="_blank">Joomla!</a> and <a href="http://mambo-foundation.org/" target="_blank">Mambo</a>), with automatic exploration for Drupal and WordPress. It also has some nice bonus features like providing a list of known issues for plugins found by accessing the <a href="http://osvdb.org/" target="_blank">OSVDB.org</a> database.</p>
<p>Example output:</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Plugin Installed:		wp-content/plugins/hello.php
	URL			http://www.dopefish.de/wp-content/plugins/hello.php
	SVN			http://svn.wp-plugins.org/wp-content/plugins/hello.phptrunk/
	http://osvdb.org/22654	WordPress wp-content/plugins/hello.php Direct Request Path Disclosure
	http://osvdb.org/62684	WordPress wp-content/plugins/hello.php add_action() Function Path Disclosure
Plugin Installed:		wp-content/plugins/devformatter/
	URL			http://www.dopefish.de/wp-content/plugins/devformatter/
	SVN			http://svn.wp-plugins.org/wp-content/plugins/devformatter/trunk/</pre></div></div></div>

<p>Running it against my own webspace revealed a possible SQL injection I was unaware of. *) Fixed that, will probably replace that plugin completely this week, anything that has stuff so obviously bad in it is generally not all too sane.</p>
<p>*) I normally look at plugins before I install them, must have missed this one. @ PHP programmers: anyone who passes on the content of a $_REQUEST directly to a SQL query without any sanity checking deserves to be flogged with his own code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/916/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add debugging to shellscripts</title>
		<link>http://www.dopefish.de/archives/873</link>
		<comments>http://www.dopefish.de/archives/873#comments</comments>
		<pubDate>Wed, 04 May 2011 21:44:13 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[debug]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=873</guid>
		<description><![CDATA[Debugging bash scripts is pretty straightforward, throwing around a couple echo and set -x quickly gives you what you need. But what if you want to add a nice breakpoint,  debugging to lots of paces in the code or turn all debugging on or off at once? Then this little script I wrote is the [...]]]></description>
			<content:encoded><![CDATA[<p>Debugging bash scripts is pretty straightforward, throwing around a couple <span style="color: #3366ff;">echo</span> and <span style="color: #3366ff;">set -x</span> quickly gives you what you need. But what if you want to add a nice breakpoint,  debugging to lots of paces in the code or turn all debugging on or off at once? Then this little script I wrote is the right thing for you: <a href="http://www.dopefish.de/files/debug.sh" target="_blank">debug.sh</a> just download it to the same directory as your script and include it with the following line:</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">. debug.sh</pre></div></div></div>

<p>It contains 4 simple functions that will make your bash coding easier.<br />
<span style="color: #3366ff;">debug</span> and <span style="color: #3366ff;">breakpoint</span> both print the argument with a timestamp to STDERR<br />
You can turn off all the functions by adding a <span style="color: #3366ff;">DEBUG=false</span> into your code</p>
<p>Example:</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
. debug.sh
&nbsp;
debug_on
<span style="color: #7a0874; font-weight: bold;">echo</span> foo
debug_off
&nbsp;
debug <span style="color: #ff0000;">&quot;I am a test&quot;</span>
&nbsp;
breakpoint <span style="color: #ff0000;">&quot;wait for a bit&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000; font-weight: bold;">done</span></pre></div></div></div>

<p>Output:</p>

<div class="my_syntax_box"><span class="my_syntax_selecall"><a href="javascript:;" onclick="selectCode(this); return false;">Select All</a> </span><span class="my_syntax_Bar">Code:</span><div class="my_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">+ <span style="color: #7a0874; font-weight: bold;">echo</span> foo
foo
+ debug_off
+ <span style="color: #c20cb9; font-weight: bold;">true</span>
+ <span style="color: #000000; font-weight: bold;">set</span> +x
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">16</span>:<span style="color: #000000;">37</span>:<span style="color: #000000;">47</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> I am a <span style="color: #7a0874; font-weight: bold;">test</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">16</span>:<span style="color: #000000;">37</span>:<span style="color: #000000;">47</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #660033;">-breakpoint-</span> <span style="color: #7a0874; font-weight: bold;">wait</span> <span style="color: #000000; font-weight: bold;">for</span> a bit
press any key to <span style="color: #7a0874; font-weight: bold;">continue</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/873/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disemvoweling</title>
		<link>http://www.dopefish.de/archives/864</link>
		<comments>http://www.dopefish.de/archives/864#comments</comments>
		<pubDate>Mon, 02 May 2011 19:21:06 +0000</pubDate>
		<dc:creator>dopefish</dc:creator>
				<category><![CDATA[Internet Stuff]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[disemvoweling]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.dopefish.de/?p=864</guid>
		<description><![CDATA[Talk about weird words &#8230; ok, according to Wikipedia disemvoweling is the term for replacing or removing vowels from words. Commonly used as a tool for moderating.  I&#8217;m pretty sure everyone has run across  certain disemvoweled  words on the internet like f*ck or sh*t. Anyway I went and made a pure html/javascript page that does just that, [...]]]></description>
			<content:encoded><![CDATA[<p>Talk about weird words &#8230; ok, according to <a href="http://en.wikipedia.org/wiki/Disemvoweling" target="_blank">Wikipedia</a> disemvoweling is the term for replacing or removing vowels from words. Commonly used as a tool for moderating.  I&#8217;m pretty sure everyone has run across  certain disemvoweled  words on the internet like f*ck or sh*t. Anyway I went and made a pure html/javascript page that does just that, removes any vowels from an inputted text. The usefullness can certainly be argued, it was more for me to brush up on my javascript and css skills.</p>
<p><a href="http://www.dopefish.de/projects/disemvoweling/" target="_blank">http://www.dopefish.de/projects/disemvoweling/</a></p>
<p><a href="http://www.dopefish.de/projects/disemvoweling/" target="_blank"><img class="size-full wp-image-867 alignnone" title="disemvoweling" src="http://www.dopefish.de/wp-content/uploads/2011/05/20110502_disemvoweling.jpg" alt="" width="300" height="176" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dopefish.de/archives/864/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.dopefish.de @ 2012-02-08 10:46:52 by W3 Total Cache -->
