<?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/"
	>

<channel>
	<title>The RoLLing cOde</title>
	<atom:link href="http://blog.rollingcode.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rollingcode.org</link>
	<description>Rumor, crap and --un--original</description>
	<pubDate>Tue, 24 Jan 2012 11:16:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[Safari Extension] Share to GReader 1.1</title>
		<link>http://blog.rollingcode.org/2011/06/26/safari-extension-share-to-greader-11/</link>
		<comments>http://blog.rollingcode.org/2011/06/26/safari-extension-share-to-greader-11/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 05:54:44 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=119</guid>
		<description><![CDATA[Minor fix:

always use HTTPS;
fix bug when sharing page with iframes.

Download or install from Apple Safari Extensions.
]]></description>
			<content:encoded><![CDATA[<p>Minor fix:</p>
<ul>
<li>always use HTTPS;</li>
<li>fix bug when sharing page with iframes.</li>
</ul>
<p><a href="http://www.rollingcode.org/app/share2greader/share2greader.safariextz">Download</a> or install from <a href="https://extensions.apple.com/">Apple Safari Extensions</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2011/06/26/safari-extension-share-to-greader-11/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Input Methods on Mac OS X</title>
		<link>http://blog.rollingcode.org/2011/02/20/input-methods-on-mac-os-x/</link>
		<comments>http://blog.rollingcode.org/2011/02/20/input-methods-on-mac-os-x/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 08:14:11 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[SunPinyin]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=105</guid>
		<description><![CDATA[
Ever since my upgrade to Snow Leopard in 2009, it has long been a pain that input methods freeze my MBP from time to time, usually when there&#8217;s high work load like indexing (mds). I filed a bug report (radar 7757239) to Apple, attached all necessary process dumps as asked and even recorded a video [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://t.co/ihq3MMS"><img src="http://code.google.com/p/sunpinyin/logo" alt="Sun Pinyin" /></a></p>
<p>Ever since my upgrade to Snow Leopard in 2009, it has long been a pain that input methods freeze my MBP from time to time, usually when there&#8217;s high work load like indexing (mds). I filed a bug report (radar 7757239) to Apple, attached all necessary process dumps as asked and even recorded a video to explain the user experience, got back hardly helpful.</p>
<p>So I decided to go after that myself. The first thing I tried is switching to <em>use same Input Source in all document</em> in Text Input Preference, this has some effect but does not help too much. Secondly, a notable difference between 10.5 and 10.6 on text input is a new visual input method switcher when you push and hold Cmd+Space, which is called TISwitcher. Disable it via launchd, everything seems back to normal.</p>
<pre name="code" class="python">
sudo su -
killall TISwitcher
cd /System/Library/LaunchAgents/
defaults write com.apple.tiswitcher.plist Disabled -bool yes
chmod 644 com.apple.tiswitcher.plist
</pre>
<p>Also for those who are not quite fond of fancy new features in FIT or QIM, here&#8217;s <a href="http://t.co/ihq3MMS">SunPinyin 2.0.3 for Mac</a>, my private build for latest update of the simple and handy input method.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2011/02/20/input-methods-on-mac-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Trip around Bayern</title>
		<link>http://blog.rollingcode.org/2010/11/13/trip-around-bayern/</link>
		<comments>http://blog.rollingcode.org/2010/11/13/trip-around-bayern/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 14:26:36 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<category><![CDATA[germany]]></category>

		<guid isPermaLink="false">http://blog.rollingcode.org/?p=97</guid>
		<description><![CDATA[Made a trip to Germany in the other week, mostly travelled and stayed in München and Köln. Elegancy of architectures and efficiency of travel system impressed me a lot. Churches are gorgeous, though I spent most of my time in museums.
Quite a few Andy Warhol works in München museums, as well as other US artists, [...]]]></description>
			<content:encoded><![CDATA[<p>Made a trip to Germany in the other week, mostly travelled and stayed in München and Köln. Elegancy of architectures and efficiency of travel system impressed me a lot. Churches are gorgeous, though I spent most of my time in museums.</p>
<p>Quite a few Andy Warhol works in München museums, as well as other US artists, that fed me well bc I did miss those.</p>
<p><img src="http://www.moma.org/images/dynamic_content/exhibition_page/25928.jpg" alt="" width="200" height="148" /></p>
<p>Also got a glimpse for real 20th Anniversary Mac and many other old models for the first time, sweet. Oh, wait, they don&#8217;t have <a href="http://www.gallerywarhol.com/andy-warhol-ads-apple-1985-FS-II.359.htm">this one</a> in München <img src='http://blog.rollingcode.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Even though it might possess smaller collection than moma in ny, Ludwig Museum in Köln is such a well designed and utilized space that you feel just like entering the wonderland of modern arts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/11/13/trip-around-bayern/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sign IPA with installed Apple developer license</title>
		<link>http://blog.rollingcode.org/2010/07/28/sign-ipa-with-installed-developer-license/</link>
		<comments>http://blog.rollingcode.org/2010/07/28/sign-ipa-with-installed-developer-license/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:00:59 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=83</guid>
		<description><![CDATA[
You should have iOS SDK, iPhone/iPad developer certification and provision profile installed on your Mac before trying this script.
Download
Note: Only tested with a few .IPA files myself so far, use it properly at your own risk.
Updated: added support for key chain, moved to Gist.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://devimages.apple.com/news/images/mac-app-store.png" alt="iOS app" /></p>
<p>You should have <a href="http://developer.apple.com/iphone/">iOS SDK</a>, <a href="http://developer.apple.com/programs/start/standard/">iPhone/iPad developer certification</a> and provision profile installed on your Mac before trying this script.</p>
<p><a href="https://gist.github.com/1669673">Download</a></p>
<p>Note: Only tested with a few .IPA files myself so far, use it properly at your own risk.</p>
<p>Updated: added support for key chain, moved to <a href="https://gist.github.com/1669673">Gist</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/07/28/sign-ipa-with-installed-developer-license/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Attack of the Clone of Clone</title>
		<link>http://blog.rollingcode.org/2010/07/11/attack-of-the-clone-of-clone/</link>
		<comments>http://blog.rollingcode.org/2010/07/11/attack-of-the-clone-of-clone/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 16:53:35 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=74</guid>
		<description><![CDATA[There were two famous funny abbr about Chinese internet industry:
ICP = Internet Copy Paste.
C2C = Copy to China.
Today, we seems to get a new one: TCP = Tencent Copied Perfectly.
Mu Rongjun, a staff at MeiTuan, complained on his twitter about their website being copied pixel-by-pixel by Tencent.



Following images shows how identical their pages are in [...]]]></description>
			<content:encoded><![CDATA[<p>There were two famous funny abbr about Chinese internet industry:<br />
ICP = Internet Copy Paste.<br />
C2C = Copy to China.</p>
<p>Today, we seems to get a new one: TCP = Tencent Copied Perfectly.</p>
<p>Mu Rongjun, a staff at <a href="http://meituan.com/">MeiTuan</a>, complained on <a href="http://twitter.com/murj">his twitter</a> about their website being copied pixel-by-pixel by Tencent.</p>
<blockquote><p>
<img src="http://cl.ly/dabc54c615b9470a5edf/content" alt="Murj" />
</p></blockquote>
<p>Following images shows how identical their pages are in both texts and screen shots.</p>
<p>Help page about &#8220;how to avoid false spam alert in GMail&#8221; on meituan.com:<br />
<img src="http://cl.ly/8a23cad6f765980986e7/content" alt="meituan" /></p>
<p>Help page about &#8220;how to avoid false spam alert in GMail&#8221; on tuan.qq.com:<br />
<img src="http://cl.ly/573490785483df060248/content" alt="qq tuan" /></p>
<p>By take a careful stare to the fonts in the two screen shots, you can see the email address in the second shot, which is from Tencent, is definitely handcrafted by image editing not a real screen shot.</p>
<p>The fun part here is: MeiTuan is one of the earliest clones of groupon in China; Tencent, the 3rd largest internet company in the world(by mkt cap), joins the <a href="http://techcrunch.com/2010/06/27/making-sense-of-chinas-100-groupon-clones/">clone war of groupon</a> recently; so it turns out Tencent has just done a clone of clone.</p>
<p>Since China is a <a href="http://en.wikipedia.org/wiki/Harmonious_society">Harmonious Society</a> and MeiTuan is just a small startup, I think this story will just end up nowhere.  On the other hand, because most people in this society are all comfortable with downloading and consuming digital content for free, there might not be any powerful moral motivation to accuse others for cloning and pirating.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/07/11/attack-of-the-clone-of-clone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FanRadio + AppleScript</title>
		<link>http://blog.rollingcode.org/2010/07/03/fanradio-applescript/</link>
		<comments>http://blog.rollingcode.org/2010/07/03/fanradio-applescript/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 04:03:00 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=72</guid>
		<description><![CDATA[Check update or Download.
shuffle : shuffle or skip to next song
current track : title of current track → text
current album : title of current album → text
current artist : name of current artist → text
For ppl who ask features like updating Last.fm/MSN/Gtalk/Twitter status, you can now do it yourselves.
Here&#8217;s a small piece you can start [...]]]></description>
			<content:encoded><![CDATA[<p>Check update or <a href="http://www.rollingcode.org/app/fanradio/FanRadio.dmg">Download</a>.</p>
<p><strong>shuffle</strong> : shuffle or skip to next song<br />
<strong>current track</strong> : title of current track → text<br />
<strong>current album</strong> : title of current album → text<br />
<strong>current artist</strong> : name of current artist → text</p>
<p>For ppl who ask features like updating Last.fm/MSN/Gtalk/Twitter status, you can now do it yourselves.<br />
Here&#8217;s <a href="http://gist.github.com/462306">a small piece</a> you can start with, in case you are new to <a href="http://developer.apple.com/applescript/">AppleScript</a>.</p>
<p>Want to share the current playing song with your Adium friends? Install <a title="Now Playing in Fan Radio.AdiumScripts.zip" href="http://cl.ly/edd966f20f07ba27b79c">Now Playing in Fan Radio.AdiumScripts</a> and type <strong><em>%_fanradio_playing</em></strong> in your status or chat message.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/07/03/fanradio-applescript/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FanRadio: Free Music For Mac</title>
		<link>http://blog.rollingcode.org/2010/06/20/fanradio-1/</link>
		<comments>http://blog.rollingcode.org/2010/06/20/fanradio-1/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 13:33:33 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<category><![CDATA[Douban]]></category>

		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=65</guid>
		<description><![CDATA[Plays free tracks from Douban Radio

Requires Mac OSX Leopard or Snow Leopard
Growl integration
AppleScript support
Global hotkey
(v1.1.0) Save login info in OS X Keychain


Download &#124; 下载
]]></description>
			<content:encoded><![CDATA[<p>Plays free tracks from <a href="http://douban.fm">Douban Radio</a></p>
<ul>
<li>Requires Mac OSX Leopard or Snow Leopard</li>
<li><a href="http://growl.info/">Growl</a> integration</li>
<li><a href="http://blog.rollingcode.org/2010/07/03/fanradio-applescript/">AppleScript support</a></li>
<li>Global hotkey</li>
<li>(v1.1.0) Save login info in OS X Keychain</li>
</ul>
<p><img src="http://img.skitch.com/20100627-dcwxq1xyg5d72ww4ssnt3shj42.png" alt="Screen Shot" /></p>
<p><a href="http://www.rollingcode.org/app/fanradio/FanRadio.dmg">Download | 下载</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/06/20/fanradio-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Safari Extension: Share to Google Reader</title>
		<link>http://blog.rollingcode.org/2010/06/10/safari-extension-share-to-google-reader/</link>
		<comments>http://blog.rollingcode.org/2010/06/10/safari-extension-share-to-google-reader/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 19:16:34 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/2010/06/10/safari-extension-share-to-google-reader/</guid>
		<description><![CDATA[Requires Safari 5.0 or later
Download here
]]></description>
			<content:encoded><![CDATA[<p>Requires Safari 5.0 or later<br />
Download <a href="http://is.gd/cJAFi">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/06/10/safari-extension-share-to-google-reader/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress full export script</title>
		<link>http://blog.rollingcode.org/2010/04/17/wordpress_export_script/</link>
		<comments>http://blog.rollingcode.org/2010/04/17/wordpress_export_script/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 09:57:14 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=58</guid>
		<description><![CDATA[Add the script to crontab so that backup scheduled everyday.
Python code follows.

#!/usr/bin/python
import cookielib, urllib2, urllib, sys
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
urllib2.install_opener(opener)

def export(url, login, passwd):
	u = &#34;wp-login.php&#34;
	l = {&#34;log&#34;:login, &#34;pwd&#34;:passwd}
	r = urllib2.Request(url + &#34;wp-login.php&#34;, urllib.urlencode(l))
	v = urllib2.urlopen(r).read()
	r = urllib2.Request(url+&#34;wp-admin/export.php?author=all&#38;download=true&#34;);
	v = urllib2.urlopen(r).read()
	return v

def main(argv):
	if len(argv)&#60;4:
		sys.stderr.write(&#34;Usage: %s http://your.wordpress.com/ user pass\n&#34; % (argv[0]))
	else:
		print export(argv[1], argv[2], argv[3])

if __name__ == &#34;__main__&#34;:
  [...]]]></description>
			<content:encoded><![CDATA[<p>Add the script to crontab so that backup scheduled everyday.<br />
Python code follows.</p>
<pre name="code" class="python">
#!/usr/bin/python
import cookielib, urllib2, urllib, sys
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
urllib2.install_opener(opener)

def export(url, login, passwd):
	u = &quot;wp-login.php&quot;
	l = {&quot;log&quot;:login, &quot;pwd&quot;:passwd}
	r = urllib2.Request(url + &quot;wp-login.php&quot;, urllib.urlencode(l))
	v = urllib2.urlopen(r).read()
	r = urllib2.Request(url+&quot;wp-admin/export.php?author=all&amp;download=true&quot;);
	v = urllib2.urlopen(r).read()
	return v

def main(argv):
	if len(argv)&lt;4:
		sys.stderr.write(&quot;Usage: %s http://your.wordpress.com/ user pass\n&quot; % (argv[0]))
	else:
		print export(argv[1], argv[2], argv[3])

if __name__ == &quot;__main__&quot;:
    sys.exit(main(sys.argv))
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/04/17/wordpress_export_script/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AdBlock plugin for OmniWeb</title>
		<link>http://blog.rollingcode.org/2010/04/05/adblock-plugin-for-omniweb/</link>
		<comments>http://blog.rollingcode.org/2010/04/05/adblock-plugin-for-omniweb/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 12:49:22 +0000</pubDate>
		<dc:creator>freewizard</dc:creator>
		
		<category><![CDATA[Crap]]></category>

		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://freewizard.72pines.com/?p=53</guid>
		<description><![CDATA[Current OmniWeb has an ad-block feature, and this plugin makes it possible to automatically update the filter list from EasyList and etc.
Install SIMBL if not yet.
Download, unzip and copy Safari AdBlock.bundle to /Library/Application Support/SIMBL/Plugins/
For OmniWeb 5.x users, run following commands in Terminal to activate Safari AdBlock for OmniWeb:

defaults write -app OmniWeb ABIsEnabled -int 1
defaults write -app OmniWeb ABSubscriptions [...]]]></description>
			<content:encoded><![CDATA[<p>Current OmniWeb has an ad-block feature, and this plugin makes it possible to automatically update the filter list from <a href="http://easylist.adblockplus.org/" target="_blank">EasyList</a> and etc.</p>
<p>Install <a href="http://www.culater.net/software/SIMBL/SIMBL.php">SIMBL</a> if not yet.</p>
<p><a href="http://github.com/downloads/freewizard/safariadblock/Safari%20AdBlock-0.4.0-RC3-OmniWeb.zip" target="_blank">Download</a>, unzip and copy <em>Safari AdBlock.bundle</em> to <em>/Library/Application Support/SIMBL/Plugins/</em></p>
<p><em></em>For OmniWeb 5.x users, run following commands in Terminal to activate Safari AdBlock for OmniWeb:</p>
<div>
<blockquote><p>defaults write -app OmniWeb ABIsEnabled -int 1<br />
defaults write -app OmniWeb ABSubscriptions -array -string en<br />
defaults write -app OmniWeb OWAddressFilteringEnabled -int 1</p></blockquote>
<ul>
<li>works for Safari &amp; Webkit too</li>
<li>no preference UI in OmniWeb, turn on/off by using built-in AdBlock switch of OW</li>
<li>built-in ad block of OmniWeb still works, use that as customized block list if you wish</li>
<li>only tested on OSX 10.6.3 / OW 5.10.2-r128512, might also be ok for earlier versions though</li>
</ul>
<p><a href="http://github.com/freewizard/safariadblock/tree/omniweb">Source</a></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollingcode.org/2010/04/05/adblock-plugin-for-omniweb/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

