<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>iCoder.ME</title>
	<link>http://icoder.me</link>
	<description>C/C++, Python, ... Data structures and Algorithms</description>
	<lastBuildDate>Thu, 02 Sep 2010 02:19:53 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0.1" -->

	<item>
		<title>Grepping for tabs</title>
		<description><![CDATA[在grep中无法转义\t，因此grep直接将\t认为是字母t，而不是我们希望的tab。 要想在grep中用tab，需要直接在终端输入tab，输入方法是：Ctrl+v 然后在按 tab.]]></description>
		<link>http://icoder.me/2010/09/02/grepping-for-tabs/</link>
			</item>
	<item>
		<title>xcscope</title>
		<description><![CDATA[USAGE ;; All keybindings use the "C-c s" prefix, but are usable only while ;; editing a source file, or in the cscope results buffer: ;; C-c s s Find symbol. ;; C-c s d Find global definition. ;; C-c s g Find global definition (alternate binding). ;; C-c s G Find global definition without [...]]]></description>
		<link>http://icoder.me/2010/08/18/xcscope/</link>
			</item>
	<item>
		<title>Linux下写动态链接库.so</title>
		<description><![CDATA[Linux下的动态链接库是.so文件，即：Shared Object，下面是一个简单的例子说明如何写.so以及程序如何动态载入.so中的函数和对象。 testso.h: #ifndef _TESTSO_H #define _TESTSO_H extern "C" { int myadd(int a, int b); typedef int myadd_t(int, int); // myadd function type } #endif // _TESTSO_H testso.cpp: #include "testso.h" extern "C" int myadd(int a, int b) { return a + b; } 编译so： g++ -shared -fPIC -o testso.so testso.cpp 注意，-shared参数和-fPIC参数非常重要： -shared 告诉gcc要生成的是动态链接库； -fPIC 告诉gcc生成的生成的代码是非位置依赖的，方面的用于动态链接。 [...]]]></description>
		<link>http://icoder.me/2010/08/13/write-so-on-linux/</link>
			</item>
	<item>
		<title>iPhone 3G的GPS不工作的修复方法</title>
		<description><![CDATA[今天早上刷完机以后，发现iPhone 3G的GPS不工作了，不管用什么软件都定位不了。在国外的论坛找到了fix的办法，非常有效，转过来： - Go to settings, general, auto-lock, change it from 1 Minute to NEVER - Go to settings, general, reset, reset network settings (THIS WILL REBOOT YOUR IPHONE) - Go outside, in a clear place with NO tree&#8217;s, buildings, or anything blocking your view of the sky - Open &#8220;MAPS&#8221;, click NO on all [...]]]></description>
		<link>http://icoder.me/2010/07/24/fix-gps-on-iphone-3g/</link>
			</item>
	<item>
		<title>OpenSSH公钥授权方式</title>
		<description><![CDATA[用公钥授权（Public key Authentication）的方式可以实现ssh服务器与本机之间的配对，实现不用输入密码联入SSH服务器。 具体做法： 1) 在本机（ssh客户机）生成密钥文件： client$ cd ~/.ssh client$ ssh-keygen -q -f id_rsa -t rsa Enter passphrase (empty for no passphrase): Enter same passphrase again: 在提示输入密码阶段时(Enter passphrase&#8230;)，直接Enter，这样以后在本机就不用输入密码了。 这样，在.ssh/目录下就会生产2个文件：id_rsa 和 id_rsa.pub . 注意：保密好这两个文件！ 2) 分发公钥文件： 将你的公钥文件 (id_rsa.pub) 分发到你的SSH服务器上： # Step 1: 将你的id_rsa.pub文件上传到服务器上 client$ scp ~/.ssh/id_rsa.pub user@your.ssh.server:~/.ssh/ # Step 2: 在服务器上安装公钥文件 server$ chmod 700 ~/.ssh server$ [...]]]></description>
		<link>http://icoder.me/2010/07/05/openssh-public-key-authentication/</link>
			</item>
	<item>
		<title>iPhone上手动安装deb软件</title>
		<description><![CDATA[1. 下载deb软件，并通过scp或者ftp传到iphone上。 2. 安装deb： dpkg -i /full/path/to/filename.deb 例如：在iphone上安装vim： dpkg -i vim_7.1-3_iphoneos-arm.deb PS: 下面是一些可以下载iphone deb软件的地方： Cydia的saurik源： http://apt.saurik.com/cydia/debs/ saurik源下软件列表：http://apt.saurik.com/dists/tangelo-3.7/main/binary-iphoneos-arm/Packages]]></description>
		<link>http://icoder.me/2010/06/29/install-deb-on-iphone/</link>
			</item>
	<item>
		<title>用SSH链接iPhone</title>
		<description><![CDATA[Step 0. 前提条件 你的iPhone是越狱过的(即你的iPhone里有Cydia软件)，如果还没有，可以见这篇文章进行越狱：http://icoder.me/2010/06/24/how-to-jailbreak-and-unlock-ios-4-on-mac/ Step 1. 通过Cydia下载并安装OpenSSH OpenSSH程序是一个后台程序，安装完后桌面没有多任何图标，我们需要继续安装其他工具来控制开启/关闭OpenSSH，见Step 2. Step 2. OpenSSH开关工具 可以在Cydia中选择下面3个工具的任何一个（或者都选）： 1. Toggle SSH (推荐) 2. SBSetting (推荐) 3. Boss Prefs Step 3. 打开OpenSSH 开启wifi，记住你的IP。可以在下面软件中看到iphone的IP或者在wifi设置中点右边的箭头看到IP地址。 1. 在Toggle SSH中直接点&#8221;Enable SSH&#8221;开启SSH。 2. 在SBSetting中点SSH图标使其变绿即开启了SSH。 3. 略。 然后在 Settings &#187; General &#187; Auto Lock 中设置自动锁屏时间为 &#8220;Never&#8221;. Step 4. 通过SSH客户端软件链接iphone 在Mac下直接在终端中输入：（将&#8221;YOUR.IPHONE.IP&#8221;替换成上面记下来的IP地址） ssh root@YOUR.IPHONE.IP 在Win下可以通过SSH软件链接，如puTTY。 Username: root Password: alpine [...]]]></description>
		<link>http://icoder.me/2010/06/29/connect-iphone-via-ssh/</link>
			</item>
	<item>
		<title>iOS 4越狱+解锁教程 (Mac)</title>
		<description><![CDATA[作者：Wuxi (欢迎来我的博客： http://iCoder.me/) ============ 本教程介绍在Mac系统下如何越狱和解锁iOS 4，适用于iPhone 3G/3GS和iPod touch 2G（我仅在我的iPhone 3G上试过）。如果你是Win系统请找别的教程。 特别感谢iPhone Dev-Team的Hacker们为自由事业作出的贡献！ 同时感谢RedmondPie网站[1]提供了非常详细的教程，喜欢看E文的同学可以直接去这个网站。 一、越狱iOS 4 iPhone Dev-Team在他们的博客里宣布更新了PwnageTool 4.01[2]，可以定制和越狱iOS 4官方版（非之前的4.0GM版）。不管你是已经越狱解锁过的iphone还是没有甚至没有激活的iphone(我的3G就是处于未激活状态），通过PwnageTool 4.01定制完的iOS 4都能越狱。 Step 1 下载并安装最新的iTunes. Step 2 下载iOS 4正式版，下载地址： 苹果官网的正式版iOS 4下载地址： iPhone 3G iOS 4下载地址 http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone4/061-7436.20100621.58Yt4/iPhone1,2_4.0_8A293_Restore.ipsw iPhone 3GS iOS 4下载地址 http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone4/061-7437.20100621.5urG8/iPhone2,1_4.0_8A293_Restore.ipsw iPhone 4 iOS 4下载地址 http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone4/061-7380.20100621,Vfgb5/iPhone3,1_4.0_8A293_Restore.ipsw iPod Touch 2代 iOS 4下载地址 http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone4/061-7435.20100621.tr49t/iPod2,1_4.0_8A293_Restore.ipsw iPod Touch 3代 iOS [...]]]></description>
		<link>http://icoder.me/2010/06/24/how-to-jailbreak-and-unlock-ios-4-on-mac/</link>
			</item>
	<item>
		<title>1. “Hello world” ── 引导程序(Boot loader)</title>
		<description><![CDATA[table.quicknav { width:100%; border:none; } table.quicknav td.prev { width:40%; text-align:left;} table.quicknav td.next { width:40%; text-align:right; } table.quicknav td.top { text-align:center; } &#171; Previous TOP &#187; Next ====== 1. “Hello world” ── 引导程序(Boot loader) 做好了准备工作，现在可以开始写操作系统了。一般学习编程的第一个程序都是“hello world”，因此我们的操作系统也不例外。下面看看用10分钟的时间如何写一个可以在裸机（虚拟机）上直接运行的“操作系统”。 我们的 &#8220;Hello world&#8221; 操作系统 ;; File : t1.asm ;; Author : wuxi ;; Date : 2010.6.9 ;; Tutorial: http://icoder.me/osdev-tutorial/ ;; [...]]]></description>
		<link>http://icoder.me/2010/06/10/bootloader/</link>
			</item>
	<item>
		<title>Chrome + Switchy! + SSH Tunnel 自动翻墙</title>
		<description><![CDATA[感谢党、感谢国家！我们在日常上网生活中学会了很多网络技术，其中翻墙是最常用的一种。 1. 安装chrome Switchy! 插件。 2. 设置一个SSH tunnel：见我的另一篇BLOG：http://icoder.me/2010/04/21/ssh-tunnel/ 3. 设置 Switchy! 的 socks 代理： 4. 让 Switchy! 根据被 GFW 强的网站自动翻墙： gfwlist.txt 地址： http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 注意： 第一次使用的时候 &#8220;Reload Every&#8221; 设置成15分钟，当翻墙成功后可以设成3小时。 5. 最后将 Switchy! 代理设成 &#8220;Auto Switch Mode&#8220;，这样就大功告成了！以后 Switchy! 就会根据GFW列表自动启用代理了。]]></description>
		<link>http://icoder.me/2010/05/26/chrome-switchy-ssh-tunnel/</link>
			</item>
</channel>
</rss>
