<?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>... coding (the life) &#187; productivity</title>
	<atom:link href="http://www.marvinmarcelo.com/category/productivity/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marvinmarcelo.com</link>
	<description>Anything about programming, and a little about me.</description>
	<lastBuildDate>Thu, 22 Jul 2010 06:27:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Mobility</title>
		<link>http://www.marvinmarcelo.com/mobility/</link>
		<comments>http://www.marvinmarcelo.com/mobility/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 04:31:55 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[car-cla-inverter]]></category>
		<category><![CDATA[laptop]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/mobility/</guid>
		<description><![CDATA[New stuff for tele-commuting]]></description>
			<content:encoded><![CDATA[<p>New stuff for tele-commuting</p>
<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_6784837A-76C3-40B0-8FF8-ED3881F3639A.jpeg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_6784837A-76C3-40B0-8FF8-ED3881F3639A.jpeg" alt="" class="alignnone size-full" /></a></p>
<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_01127FF2-B02D-4CCD-9494-270CA8EF074D.jpeg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2010/07/l_1600_1200_01127FF2-B02D-4CCD-9494-270CA8EF074D.jpeg" alt="" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/mobility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting video for iPod / iPhone mp4 in Ubuntu</title>
		<link>http://www.marvinmarcelo.com/converting-video-for-ipod-iphone-mp4-in-ubuntu/</link>
		<comments>http://www.marvinmarcelo.com/converting-video-for-ipod-iphone-mp4-in-ubuntu/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 23:24:05 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[not about code]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1355</guid>
		<description><![CDATA[First, you need to follow installing these packages on your ubuntu machine. Mine was installed on Hardy, haven&#8217;t tested the command yet now that I have upgraded to Lucid. ffmpeg -i &#34;Output_Video_File.flv&#34; -vcodec libx264 -b 512k -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 0 -flags2 +mixed_refs -coder [...]]]></description>
			<content:encoded><![CDATA[<p>First, you need to follow <a href="http://ubuntuforums.org/showpost.php?p=6963607&amp;postcount=360">installing</a> these packages on your ubuntu machine. Mine was installed on Hardy, haven&#8217;t tested the command yet now that I have upgraded to Lucid.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-i</span> <span style="color: #ff0000;">&quot;Output_Video_File.flv&quot;</span> <span style="color: #660033;">-vcodec</span> libx264 <span style="color: #660033;">-b</span> 512k <span style="color: #660033;">-flags</span> +loop+mv4 <span style="color: #660033;">-cmp</span> <span style="color: #000000;">256</span> <span style="color: #660033;">-partitions</span> +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex <span style="color: #660033;">-subq</span> <span style="color: #000000;">7</span> <span style="color: #660033;">-trellis</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-refs</span> <span style="color: #000000;">5</span> <span style="color: #660033;">-bf</span> <span style="color: #000000;">0</span> <span style="color: #660033;">-flags2</span> +mixed_refs <span style="color: #660033;">-coder</span> <span style="color: #000000;">0</span> -me_range <span style="color: #000000;">16</span> <span style="color: #660033;">-g</span> <span style="color: #000000;">250</span> -keyint_min <span style="color: #000000;">25</span> -sc_threshold <span style="color: #000000;">40</span> -i_qfactor <span style="color: #000000;">0.71</span> <span style="color: #660033;">-qmin</span> <span style="color: #000000;">10</span> <span style="color: #660033;">-qmax</span> <span style="color: #000000;">51</span> <span style="color: #660033;">-qdiff</span> <span style="color: #000000;">4</span> <span style="color: #ff0000;">&quot;Output_Video_File.mp4&quot;</span></pre></div></div>

<p>This also works on .avi and .mpg as the source video.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/converting-video-for-ipod-iphone-mp4-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Not matching charset reloads page twice</title>
		<link>http://www.marvinmarcelo.com/not-matching-charset-reloads-page-twice/</link>
		<comments>http://www.marvinmarcelo.com/not-matching-charset-reloads-page-twice/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 08:02:49 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[basic html]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[quirksmode]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1413</guid>
		<description><![CDATA[I noticed this when I uploaded an entire project files from dev server to production server. Using Web Developer plugin for Firefox, I had a clue to compare the Content-Type from the response header and the one I have in &#60;meta&#62; tags in my HTML. 1 2 3 4 5 6 7 8 9 10 [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed this when I uploaded an entire project files from dev server to production server. Using <a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer</a> plugin for Firefox, I had a clue to compare the <tt>Content-Type</tt> from the response header and the one I have in <tt>&lt;meta&gt;</tt> tags in my HTML.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="text" style="font-family:monospace;">Date: Wed, 25 Nov 2009 01:32:28 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch
X-Powered-By: PHP/5.2.4-2ubuntu5.7
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 6572
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
&nbsp;
200 OK</pre></td></tr></table></div>

<p>And it was really it! Though they both have <tt>text/html</tt>, they had different character set values. Server responses with ISO-8859-1, but the <tt>&lt;meta&gt;</tt> instructs the browser to use utf-8, as it is declared in the document.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;</pre></div></div>

<p>And so the second load of page occurs, its sort of trying to correct page encoding on the client-side. In the script I was working, I needed to pass some session values to the next page and clear it on page load, but when it reloads the second time, the session value had been emptied.</p>
<p>Hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/not-matching-charset-reloads-page-twice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Torrent session via terminal</title>
		<link>http://www.marvinmarcelo.com/torrent-session-via-terminal/</link>
		<comments>http://www.marvinmarcelo.com/torrent-session-via-terminal/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 13:00:55 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[transmission]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1509</guid>
		<description><![CDATA[I&#8217;ve been looking on how to start a torrent session on another machine lately (on *nix flavor), and I thought there&#8217;s probably a command-line for it, and I was right. Since I can SSH thru in my Ubuntu machine at home, this sounds like a fit option. The need arises when I&#8217;m in the office, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking on how to start a torrent session on another machine lately (on *nix flavor), and I thought there&#8217;s probably a command-line for it, and I was right. Since I can SSH thru in my Ubuntu machine at home, this sounds like a fit option.</p>
<p>The need arises when I&#8217;m in the office, working of course, and a movie title suddenly pops in my head and I get eager watching it. So I&#8217;d search for torrent for that movie with good remarks, at least watchable quality. Download it then SCP that to my machine at home and start session torrent on CLI. Takes at least a minute of my time to fire it up, but most importantly, it&#8217;s finished downloading when I get home. And watch on dinner I guess.</p>
<p>So, if you&#8217;re using Ubuntu, transmission is commonly installed there. But we need the <tt>transmission-cli</tt> package installed, which includes <tt>transmission-daemon</tt> and <tt>transmission-remote</tt> for starting CLI torrent session. First fire up the daemon, then use remote to add torrent file, like this one below</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">marvin@localhost:~/Desktop$ transmission-daemon
marvin@localhost:~/Desktop$ transmission-remote -a Avatar-2009-TELESYNC-XviD-ORC.torrent</pre></div></div>

<p>If it says <tt>The program 'transmission-daemon' is currently not installed</tt>, just type the suggested install command. It should be like this</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">marvin@localhost:~$ sudo apt-get install transmission-cli</pre></div></div>

<p>Now, if you want to find out download stats just add the <tt>-l</tt> or <tt>--list</tt> like the one below, will list all torrents and status.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">marvin@localhost:~/Desktop$ transmission-remote -l</pre></div></div>

<p>Use <tt>transmission-remote --help</tt> for other options. You can set upload and download limits too.</p>
<p>Here are useful links:</p>
<ul>
<li><a href="http://linux.die.net/man/1/transmission-remote">http://linux.die.net/man/1/transmission-remote</a></li>
<li><a href="http://www.transmissionbt.com/">http://www.transmissionbt.com/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/torrent-session-via-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If Windows, Linux and OSX Opened Cafes</title>
		<link>http://www.marvinmarcelo.com/if-windows-linux-and-osx-opened-cafes/</link>
		<comments>http://www.marvinmarcelo.com/if-windows-linux-and-osx-opened-cafes/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 03:58:10 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[work related]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[funky]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1395</guid>
		<description><![CDATA[What if really&#8230; LOL! I found this from DaniWeb, it&#8217;s short and entertaining! Read on&#8230; The New York Times reported today that Apple has opened its first Apple Store in Paris, underneath the Louvre no less, and just two weeks after Microsoft opened up a Windows 7 cafe in Paris in another location. The idea [...]]]></description>
			<content:encoded><![CDATA[<p>What if really&#8230; LOL! I found <a href="http://www.daniweb.com/news/story236836.html?urlhash=yp4q&amp;trk=nus_ritm-title">this</a> from <a href="http://www.daniweb.com">DaniWeb</a>, it&#8217;s short and entertaining! Read on&#8230;</p>
<p>The New York Times <a href="http://www.nytimes.com/reuters/2009/11/06/technology/tech-us-france-apple-louvre.html" target="_blank">reported today</a> that Apple has opened its first Apple Store in Paris, underneath the Louvre no less, and just two weeks after Microsoft opened up a <a href="http://www.engadget.com/2009/10/22/microsofts-windows-cafe-opens-its-doors-in-paris/" target="_blank">Windows 7 cafe</a> in Paris in another location. The idea of these two companies competing in a retail environment, and especially a Windows-themed cafe, got me thinking about what would happen if three cafes opened each run in the same style of the operating system it was named for. I figure it might look something like this:</p>
<h4>Windows Cafe</h4>
<p>The Windows Cafe is in a bland store front. The furniture consists of straight wooden chairs with tables with sharp angles. Unfortunately, every so often when you sit in a chair it crashes the to the floor, but you get used to this and figure it&#8217;s just part of the experience of going to the Windows Cafe. (To be fair they have been testing chairs from a new manufacturer and they are reportedly less prone to breaking in this fashion.) Pictures of a smiling Bill Gates and Windows logos adorn the walls. The coffee tastes fine most of the time, but a surprising number of patrons get sick there, so that it&#8217;s become standard practice to use <a href="http://www.daniweb.com/news/story236836.html?urlhash=yp4q&amp;trk=nus_ritm-title" target="_blank">hand sanitizer</a> before you go in to protect yourself. The coffee is expensive, and refills are definitely not free, but it&#8217;s a known quantity, and many people are comfortable going there.</p>
<h4>Linux Cafe</h4>
<p>The Linux Cafe is a funky place in an artsy neighborhood with eclectic furniture donated by the patrons. It doesn&#8217;t match, but it&#8217;s comfortable and the walls are covered with donated pictures and paintings by local artists. The coffee is free, served in black cups (or you can just bring your own), but you need to make it yourself. If you can&#8217;t do it yourself, the cafe has consultants available to help you for a fee. It&#8217;s great for people who know about coffee brewing, but many people are intimidated by the idea of making their own coffee and stay away, even though very few people ever get sick who go there.</p>
<h4>Apple Cafe</h4>
<p>The Apple Cafe is a modern, state-of-the-art facility. The tables are stainless steel and the chairs are ultra-contemporary. Shrines to Apple CEO <a href="http://www.daniweb.com/news/story236836.html?urlhash=yp4q&amp;trk=nus_ritm-title#" target="_blank">Steve Jobs</a> are dotted around the wide space. The cups are cool and come in a variety of bright colors. The coffee is well made by a highly trained staff, and even though it costs a lot more, people line up around the block for a chance to drink it. Just don&#8217;t ask the staff about their coffee-making techniques because they are extremely tight lipped about this. People occasionally get sick there, but it&#8217;s rare enough for the cafe to brag about its safety record.</p>
<p>So there you have it. Three cafes with three distinct personalities just like the operating systems they represent</p>
<p>Source: <a href="http://www.daniweb.com/news/story236836.html?urlhash=yp4q&amp;trk=nus_ritm-title">http://www.daniweb.com/news/story236836.html?urlhash=yp4q&amp;trk=nus_ritm-title</a> by <a href="http://www.daniweb.com/news/writer313540.html">Ron Miller</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/if-windows-linux-and-osx-opened-cafes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quickie Visitors Country WP Plugin</title>
		<link>http://www.marvinmarcelo.com/quickie-visitors-country-wp-plugin/</link>
		<comments>http://www.marvinmarcelo.com/quickie-visitors-country-wp-plugin/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 02:14:54 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[job]]></category>
		<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[work related]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1382</guid>
		<description><![CDATA[This plugin is dependent on WP/GeoTrack by Johannes Lietz, this is NOT a stand-alone plugin, it won&#8217;t work if WP/GeoTrack is not installed anyway, so it&#8217;s safe. And don&#8217;t look for it in WP Plugins repo, you won&#8217;t find it there 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [...]]]></description>
			<content:encoded><![CDATA[<p>This plugin is dependent on <a title="Visit plugin site" href="http://dadabase.de/weblog/archives/2006/05/23/wordpress-geotrack-plugin">WP/GeoTrack</a> by <a title="Visit author homepage" href="http://dadabase.de/">Johannes Lietz</a>, this is NOT a stand-alone plugin, it won&#8217;t work if <a title="Visit plugin site" href="http://dadabase.de/weblog/archives/2006/05/23/wordpress-geotrack-plugin">WP/GeoTrack</a> is not installed anyway, so it&#8217;s safe.</p>
<p>And don&#8217;t look for it in <a href="http://wordpress.org/extend/plugins/">WP Plugins</a> repo, you won&#8217;t find it there <img src='http://www.marvinmarcelo.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>

<div class="wp_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
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*
Plugin Name: Top Visitors Flag
Plugin URI: http://www.marvinmarcelo.com/
Description: This plugin displays visitors on sidebar as widget dependent on &lt;a href=&quot;http://dadabase.de/weblog/archives/2006/05/23/wordpress-geotrack-plugin&quot;&gt;WP/GEO-Track plugin&lt;/a&gt;.
Author: Marvin Marcelo
Author URI: http://www.marvinmarcelo.com/
Version: 1.0.0
*/</span>
<span style="color: #000000; font-weight: bold;">function</span> tvf_get_topvisits<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">,</span> <span style="color: #000088;">$table_prefix</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;select count(*) as `rows` , `country` , `flagname` from `&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$table_prefix</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;geotrack` group by `country` order by `rows` desc limit 0 , 12&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$flagstats</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_results</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$html</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;li id='top-country-flags'&gt;&lt;h2&gt;Top Visiting Countries&lt;/h2&gt;&lt;div&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/*  id string */</span>
  <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$flagstats</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$cf</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$cf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">rows</span> <span style="color: #339933;">=</span> <span style="color: #990000;">number_format</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">rows</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;,&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$html</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span> GEOTRACK_URL <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;flags/&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$cf</span><span style="color: #339933;">-/&gt;</span>flagname <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;.png<span style="color: #000099; font-weight: bold;">\&quot;</span> alt=<span style="color: #000099; font-weight: bold;">\&quot;</span>Flag of <span style="color: #006699; font-weight: bold;">$cf-&gt;country</span> with <span style="color: #006699; font-weight: bold;">$cf-&gt;rows</span> visits<span style="color: #000099; font-weight: bold;">\&quot;</span> title=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$cf-&gt;country</span> with <span style="color: #006699; font-weight: bold;">$cf-&gt;rows</span> visits<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000088;">$html</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;/div&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$html</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> init_tvf_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	register_sidebar_widget<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Top Visitors Flags&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;tvf_get_topvisits&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">defined</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'GT_NOT_INSTALLED'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;!-- You need <span style="color: #000099; font-weight: bold;">\&quot;</span>http://dadabase.de/weblog/archives/2006/05/23/wordpress-geotrack-plugin<span style="color: #000099; font-weight: bold;">\&quot;</span> installed first--&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
  add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;plugins_loaded&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;init_tvf_init&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Also, you have to forgive the function, constants, and variables names, we all struggle for a better and sensible one <img src='http://www.marvinmarcelo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/quickie-visitors-country-wp-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Social, didn&#8217;t complain</title>
		<link>http://www.marvinmarcelo.com/windows-social-didnt-complain/</link>
		<comments>http://www.marvinmarcelo.com/windows-social-didnt-complain/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 00:55:56 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[productivity]]></category>
		<category><![CDATA[work related]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1366</guid>
		<description><![CDATA[Ok, this is actually the first post I did about Windows. I haven&#8217;t used it as my working platform for more than 2 years, though honestly, it&#8217;s also where I started, back in Windows 95 in my school years. Even if that&#8217;s the only available version we had in 1999, it was huge then! I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-1380" title="2qa6yp0" src="http://www.marvinmarcelo.com/wp-content/uploads/2009/10/2qa6yp0-150x150.png" alt="2qa6yp0" width="150" height="150" />Ok, this is actually the first post I did about <a href="http://www.microsoft.com/windows/">Windows</a>. I haven&#8217;t used it as my working platform for more than 2 years, though honestly, it&#8217;s also where I started, back in Windows 95 in my school years. Even if that&#8217;s the only available version we had in 1999, it was huge then! I am now more in the FOSS community, and have been enjoying doing my stuff in <a href="http://www.ubuntu.com/products/WhatIsUbuntu/desktopedition">Ubuntu Desktop</a>. But what I really wanted to point out in this post is the new <a href="http://www.microsoft.com/windows/social/">Windows Social</a>, it is just like any social media but it runs real time feeds, &#8220;popping in&#8221; every second into the stream area with streams coming from different major social media out there &#8211; Facebook, Flickr, Twitter, etc. And that is a &#8220;WOW&#8221;, I admit. That&#8217;s the feature Facebook Developers haven&#8217;t really implemented in full capacity. But Facebook already rolled out their version with that feature, sort of saying &#8220;we&#8217;re on the way!&#8221;, as they had also announced in that release.</p>
<p><a href="http://www.microsoft.com/windows/social/"><img class="alignnone size-full wp-image-1371" title="Screenshot" src="http://www.marvinmarcelo.com/wp-content/uploads/2009/10/Screenshot1.png" alt="Windows Social" width="670" height="419" /></a></p>
<p>I still remember way back the upgrade of MSN&#8217;s Hotmail (or not exactly sure if older versions work smoothly on Firefox), it was always complaining that it&#8217;s not compatible with my browser. But this one, this one is really good, so Kudo&#8217;s to <a href="http://www.microsoft.co/windows/social/">Windows Social</a> team. When I found this in the Twitter&#8217;s box in popurls, posts just started popping in, sweet! Though I suppose it would do the same as on MS and IE platform. But if someone knew of a &#8220;flaw&#8221;, &#8220;fail&#8221; or &#8220;weak link&#8221;, complain about it properly to their support, and if you can bother to let me know <img src='http://www.marvinmarcelo.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  LOL</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/windows-social-didnt-complain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mastering CSS Coding: Getting Started (Smashing Magazine)</title>
		<link>http://www.marvinmarcelo.com/mastering-css-coding-getting-started/</link>
		<comments>http://www.marvinmarcelo.com/mastering-css-coding-getting-started/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 00:30:35 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[work related]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1333</guid>
		<description><![CDATA[I&#8217;ve been practicing strict CSS rules for years now, but it was only this year that I changed the way I fix floated containers inside another container, to stretch the height down to the bottom of the floated inner container. I guess almost everyone started with &#60;br /&#62; with &#8216;clear&#8217; or the next element with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been practicing strict CSS rules for years now, but it was only this year that I changed the way I fix floated containers inside another container, to stretch the height down to the bottom of the floated inner container. I guess almost everyone started with &lt;br /&gt;  with &#8216;clear&#8217; or the next element with CSS &#8216;clear&#8217; in it to fix the issue, but we all know it&#8217;s &#8216;dirty&#8217;.</p>
<p>I found this <a href="http://www.smashingmagazine.com/2009/10/05/mastering-css-coding-getting-started/">great tutorial</a> that would make a &#8216;css nobody&#8217; become a &#8216;big guy&#8217; on CSS, and I myself is going to keep this page available when needed.</p>
<p><img class="alignnone size-full wp-image-1334" title="6_b" src="http://www.marvinmarcelo.com/wp-content/uploads/2009/10/6_b.jpg" alt="6_b" width="500" height="254" /></p>
<p><a href="http://www.smashingmagazine.com/2009/10/05/mastering-css-coding-getting-started/">Mastering CSS Coding: Getting Started covers:</a></p>
<ol>
<li>Padding vs. Margin
<ul>
<li>What Is Padding and Margin?</li>
<li>Margin and Padding Values</li>
<li>Quick Tip</li>
</ul>
</li>
<li>Floats</li>
<li>Center Alignment
<ul>
<li>Horizontal Alignment</li>
<li>Vertical Alignment</li>
</ul>
</li>
<li>Ordered vs. Unordered Lists
<ul>
<li>Customizing Unordered Lists</li>
<li>Using Unordered Lists for Navigation</li>
</ul>
</li>
<li>Styling Headings</li>
<li>Overflow
<ul>
<li>What Is Overflow?</li>
</ul>
</li>
<li>Position
<ul>
<li>Adding Flavor With CSS</li>
</ul>
</li>
<li>Background Images
<ul>
<li>Using Large Backgrounds</li>
<li>Text Replacement</li>
<li>CSS Sprites</li>
</ul>
</li>
<li>Image Enhancement</li>
<li>PSD to HTML</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/mastering-css-coding-getting-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arial and Helvetica &#8211; WhatTheFont!</title>
		<link>http://www.marvinmarcelo.com/arial-and-helvetica-whatthefont/</link>
		<comments>http://www.marvinmarcelo.com/arial-and-helvetica-whatthefont/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 01:00:10 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[arial]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[helvetica]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1310</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1311" title="JvVkK" src="http://www.marvinmarcelo.com/wp-content/uploads/2009/09/JvVkK.png" alt="JvVkK" width="500" height="647" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/arial-and-helvetica-whatthefont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPAnywhere &#8211; edit PHP from browser</title>
		<link>http://www.marvinmarcelo.com/phpanywhere-edit-php-from-browser/</link>
		<comments>http://www.marvinmarcelo.com/phpanywhere-edit-php-from-browser/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 05:37:55 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[job]]></category>
		<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[work related]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1224</guid>
		<description><![CDATA[Found this post from Smash!ng Apps PHPanywhere is a new online service that&#8217;s changing the way people develop on the web. They enable users to develop and maintain their php/html projects online using any standard web browser. This is a web based free Integrated Development Environment or IDE for the PHP language, in other words [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Found this post from <a href="http://tr.im/xLMy">Smash!ng Apps</a></p></blockquote>
<p><a href="http://phpanywhere.net/">PHPanywhere</a> is a new online service that&#8217;s changing the way people develop on the web. They enable users to develop and maintain their php/html projects online using any standard web browser.</p>
<p>This is a web based free Integrated Development Environment or IDE for the PHP language, in other words it is an application that gives developers all the code editing capabilities they need to develop PHP applications online. It includes a real-time syntax code editor with support for all web formats and a powerful FTP editor.</p>
<p><img class="alignnone" src="http://www.smashingapps.com/wp-content/uploads/2009/09/phpanywhere.jpg" alt="" width="500" height="360" /></p>
<p>Because it works in a browser you can start coding right away, no need for installing anything and best of all you can work from anywhere, all you need is an internet connection and a web browser and you&#8217;re ready to go.</p>
<p>You can develop and maintain multiple projects with ease using PHPanywhere, because as soon as you log in all your projects (FTP servers) are immediately accessible. PHPanywhere even remembers what files you were working on and reopens them as well.</p>
<p><strong>Real-time syntax code editor</strong></p>
<p>The real-time syntax code editor is really what PHPanywhere is all about, so here is a list of just some of the things it does:</p>
<ul type="disc">
<li>Syntax highlighting</li>
<li>Smart indentation for each language</li>
<li>Code folding</li>
<li>Full internationalization</li>
<li>Unlimited undo/redo (now handled on client (browser) side, no more waiting for server response)</li>
<li>Unlimited tabs</li>
<li>Find and replace feature (New Feature)</li>
<li>Displays line numbers (New Feature)</li>
<li>Code auto completion, snippets (New Feature)</li>
<li>Displays line numbers (New Feature)</li>
<li>Code indention  (TAB key) (New Feature)</li>
</ul>
<p><span id="more-1224"></span><br />
<strong>Projects (New Feature)</strong></p>
<p>Create and use projects to group files you commonly use together, so you can easily open them next time you need to work on the project.</p>
<p><strong>File permissions (New Feature)</strong></p>
<p>Change your file and folder permissions using PHPanywhere&#8217;s ftp explorer.</p>
<p><strong>Messages Window (New Feature)</strong></p>
<p>Your every action is now logged in the window at bottom of the screen, so you can now easily track changes you made using PHPanywhere.</p>
<p><strong>Skins (New Feature)</strong></p>
<p>Choose from different skins to change the look and feel of PHPanywhere.</p>
<p><strong>Welcome Screen (New Feature)</strong></p>
<p>Besides giving you a nice and warm welcome <img src='http://www.marvinmarcelo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , it also displays shortcuts to your most common commands, and recently opened files and projects.</p>
<p><strong>Powerfull FTP explorer</strong></p>
<p>This is a full-blown FTP explorer. You can add as many servers as you like, edit files, create/delete files or folders and you can even edit the permissions on folders. It will definitely satisfy all you FTP needs.</p>
<p><strong>Work without restrictions</strong></p>
<p>PHPanywhere doesn&#8217;t install anything on your computer, so you can use it without asking your IT administrator for permission. Also since it isn&#8217;t on your computer, it works even if your corporate firewall is blocking the FTP port.</p>
<p><strong>Share your work</strong></p>
<p>Because all your projects are on our servers you can easily allow others to work on your project, without duplicating you files. Also PHPanywhere enables real-time document collaboration (**) which makes it the ideal work environment.</p>
<p>PHPanywhere can be comfortably run on Opera 9+ and Gecko-based browsers (Firefox, Camino, Seamonkey, &#8230;) on any OS. Support for IE and Safari/Chrome coming soon.</p>
<p>Source: <a href="http://tr.im/xLMy">http://www.smashingapps.com/2009/09/01/now-use-phpanywhere-to-code-directly-from-your-browser.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/phpanywhere-edit-php-from-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
