<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[etosun]]></title> 
<description><![CDATA[南瓜小米粥的博客]]></description>
<link>http://www.etosun.com/</link>
<language>zh-cn</language>
<generator>www.emlog.net</generator>
<item>
	<title>洛阳亲友如相问 就说我在扣电池</title>
	<link>http://www.etosun.com/post/125</link>
	<description><![CDATA[<p>公司内网上的贴子，写的太欢乐了，忍不住拿出来分享一下：</p>
<p><img src="/content/uploadfile/201204/4a47a0db6e60853dedfcfdf08a5ca24920120428154234.png" border="0" 、=""></p>
<p style="text-indent:0;">日日思君不见君， 共同扣电池。</p>
<p style="text-indent:0;">A：你的电池～<br />
B：不，是你的电池～</p>
<p style="text-indent:0;">春眠不觉晓 处处抠电池</p>
<p style="text-indent:0;">A：你怎么又抠我的电池啊？你的呢？<br />
B：我的都让我老爸给抠了～～～～</p>
<p style="text-indent:0;">人生愁恨何能免？扣电池我情何限！</p>
<p style="text-indent:0;">阿里长云暗雪山<br />
屌丝遥望手机关<br />
黄蜂百战抠电池<br />
不破后盖终不还</p>
<p style="text-indent:0;">小楼一夜扣电池，深巷明朝卖机壳。</p>
<p style="text-indent:0;">东风夜放花千树，更吹落，星如雨<br />
宝马雕车香满路，凤箫声动，玉壶光转，一夜鱼龙舞<br />
蛾儿雪柳黄金缕，笑语隐隐暗香去<br />
众里寻他千百度，蓦然回首，那人却在抠电池！！！<br />
抠电池啊抠电池！！！！</p>
<p style="text-indent:0;">《抠客行》<br />
十步抠一池 千里不留行<br />
了事盖后盖 深藏功与名</p>
<p style="text-indent:0;">山无陵 江水为竭 冬雷震震 扣电池</p>
<p style="text-indent:0;">人生自古谁无死，来生继续扣电池</p>
<p style="text-indent:0;">欲把西湖比西子 淡妆浓抹扣电池</p>
<p style="text-indent:0;">唧唧复唧唧 木兰扣电池</p>
<p style="text-indent:0;">皇上，您还记得那年大明湖畔的扣电池吗？</p>
<p style="text-indent:0;">自从扣了电池呀，腰不疼，腿不软，一口气上五楼，不费劲</p>
<p style="text-indent:0;">阿里巴巴 ，让天下没有难抠的电池！</p>
<p style="text-indent:0;">今天你抠了吗？</p>
<p style="text-indent:0;">出师未捷身先死，原来他忘扣电池！</p>
<p style="text-indent:0;">惊喜，从扣电池开始</p>
<p style="text-indent:0;">假如生活欺骗了你，不要悲伤，请扣电池。</p>
<p style="text-indent:0;">永远的大黄蜂，独一无二的扣电池</p>
<p style="text-indent:0;">千里之行，始于扣电池</p>
<p style="text-indent:0;">但使龙城飞将在，朕与爱卿抠电池！</p>
<p style="text-indent:0;">要想身体好，早晚扣电池</p>
<p style="text-indent:0;">不选贵的，只爱扣电池</p>
<p style="text-indent:0;">扣电池，我就喜欢</p>
<p style="text-indent:0;">身无彩凤双飞翼 ，心有灵犀扣电池</p>
<p style="text-indent:0;">杨家有女初长成,留在深宫抠电池.</p>
<p style="text-indent:0;">君子坦荡荡，小人抠电池。<br />
商女不知亡国恨，一天到晚抠电池。<br />
举头望明月，低头抠电池。<br />
洛阳亲友如相问，就说我在抠电池。<br />
少壮不努力，老大抠电池。<br />
垂死病中惊坐起，今天还没抠电池。<br />
生当作人杰，死亦抠电池。<br />
人生自古谁无死，来生继续抠电池。<br />
众里寻他千百度，蓦然回首，那人正在抠电池。</p>
<p style="text-indent:0;">A:我是你的什么？<br />
B:你是我的大黄蜂！<br />
A:原来我是手机啊？！<br />
B:这样我就可以扣电池了！</p>
<p style="text-indent:0;">举头写代码，低头扣电池</p>
<p style="text-indent:0;">经流年，梦回aliway，看众生扣电池。</p>
<p style="text-indent:0;">阿里云，扣扣更健康～</p>
<p style="text-indent:0;">今天你扣了么？</p>
<p style="text-indent:0;">几处早莺争暖树，上树马上扣电池<br />
商女不知物价贵，买来手机扣电池<br />
两岸猿声啼不住，互相提醒扣电池<br />
今人不见古时月，古人也在扣电池<br />
李白乘舟将欲行，大喊忘记扣电池<br />
青天有月来几时，来了就要扣电池<br />
飞流直下三千尺，带了电池没带纸<br />
千呼万唤屎出来，出来使劲扣电池<br />
故人西辞黄鹤楼，再也不去扣电池</p>
<p style="text-indent:0;">君不见黄河之水天上来，黄蜂电池多难扣<br />
众里寻他千百度，那人却在手机电池难扣处</p>
<p style="text-indent:0;">安扣电池千万次，大庇天下馋士俱欢颜，风雨不动安如山。呜呼！何时大伙不再扣电池，吾在墙角独扣死亦足！</p>
<p style="text-indent:0;">扣扣，更健康</p>
<p style="text-indent:0;">故不扣电池，无以至千里！不扣电池，无以成江海！</p>
<p style="text-indent:0;">慨当以慷，忧思难忘。何以解忧？唯扣电池~</p>
<p style="text-indent:0;">你不扣电池，大黄蜂不理你</p>
<p style="text-indent:0;">做女人真好，扣电池挺好</p>
<p style="text-indent:0;">你扣不扣电池，手机就在那里 不开不关</p>
<p style="text-indent:0;">桃花潭水深千尺，汪伦替我扣电池。</p>
<p style="text-indent:0;">夜来幽梦忽还乡 小轩窗 正梳妆 相顾无言 唯有扣电池</p>
<p style="text-indent:0;">采菊东山下，悠然抠电池。</p>
<p style="text-indent:0;">床前明月光，疑是扣电池</p>
<p style="text-indent:0;">扣电池挺好。。。</p>
<p style="text-indent:0;">孤帆远影碧空尽，唯见他在扣电池。</p>
<p style="text-indent:0;">一二三四，来扣电池<br />
二二三四，你扣一次<br />
三二三四，我扣一次<br />
四二三次，再来一次</p>
<p style="text-indent:0;">劝君更饮一杯酒，出去只能扣电池！</p>
<p style="text-indent:0;">君子坦荡荡，蜂人抠电池。<br />
商女不知亡国恨，一天到晚抠电池。<br />
举头望明月，低头抠电池。<br />
洛阳亲友如相问，就说我在抠电池。<br />
少壮不努力，老大抠电池。<br />
垂死病中惊坐起，今天还没抠电池。<br />
生当作人杰，死亦抠电池。<br />
人生自古谁无死，来生继续抠电池。<br />
众里寻他千百度，蓦然回首，那人正在抠电池。</p>
<p style="text-indent:0;">垂死病中惊坐起，今天忘了扣电池。</p>
<p style="text-indent:0;">日出江花红胜火,我在一边抠电池</p>
<p style="text-indent:0;">莫愁前路无扣友，天下谁人不识君</p>
<p style="text-indent:0;">为伊消得人憔悴，电池扣坏终不悔。。。</p>
<p style="text-indent:0;">忘长城内外，尽在扣电池。</p>
<p style="text-indent:0;">黄蜂虐我千百遍；我待黄蜂如初恋。</p>
<p style="text-indent:0;">十年生死两茫茫，不思量，forever young，千里孤坟，everything;s gone。纵使相逢应不识，尘满面，hair;s long。 昨夜幽梦忽还乡，小轩窗，sing sad song，相顾无言，抠电池忙~</p>
<p style="text-indent:0;">哥，扣的不是电池！是寂寞。</p>
<p style="text-indent:0;">王师腾云驾雾时，加薪勿忘扣电池。</p>
<p style="text-indent:0;">飞雪连天大黄蜂，笑书神侠扣电池</p>
<p style="text-indent:0;">花谢花飞花满天，黄蜂死机有谁怜！<br />
红酥手，按电钮,总是死机有木有！</p>
<p style="text-indent:0;">扣着扣着就习惯了</p>
<p style="text-indent:0;">抠，抠，抠，水流满地。</p>
<p style="text-indent:0;">XX牌大黄蜂，玩多了，肚子烫，饭后扣一扣；睡久了，不开机，饭后扣一扣；想上网，能通话，家中常备江中牌保姆扣电池。江中手机股份有限公司，饭后扣一扣</p>
<p style="text-indent:0;">扣一扣电池，我不带一点意外的迟到鸟····</p>
<p style="text-indent:0;">周围的同学不是扣电池就是在准备扣电池， <br />
你要是不扣电池呀， <br />
你都不好意思跟人家打招呼， <br />
你说这种时髦动作，一天得扣多少次？ <br />
我觉得怎么着也得扣上2,3次吧！ <br />
两三次那是起码的， <br />
四次起， <br />
你别嫌多还不能少， <br />
你得研究机主的使用心理， <br />
愿意扣2次的机主， <br />
根本不在乎再多扣2次</p>
<p style="text-indent:0;">不扣不知道，一扣吓一跳。<br />
哇，一扣就好！<br />
哇，原来是大黄峰！</p>
<p style="text-indent:0;">《最炫扣电池》<br />
……<br />
我们要扣就要扣的最痛快<br />
你是我天边最美的云彩<br />
让我用心把你扣下来</p>
<p style="text-indent:0;">大家扣才是真的扣，阿里好扣~</p>
<p style="text-indent:0;">阿里云，让天下没有难扣的电池！</p>
<p style="text-indent:0;">哪里不爽抠哪里！so  easy！</p>
<p style="text-indent:0;">从此手就爱上了电池,好基友好理由</p>
<p style="text-indent:0;">家国兴旺自有时，<br />
躲在公司扣电池，<br />
你妈叫你吃饭去，<br />
回家继续扣电池。</p>
<p style="text-indent:0;">云深不知处，我在扣电池……<br />
庭院深深深几许，我在院子里扣电池……</p>
<p style="text-indent:0;">此机可待成追忆,就岂在扣扣电池而已?</p>
<p style="text-indent:0;">路遥知马力，日久扣电池~</p>
<p style="text-indent:0;">葡萄美酒夜光杯，欲开手机扣电池。<br />
醉卧路上君莫笑，只因手机开不了？</p>
<p style="text-indent:0;">窈窕电池,君子好扣</p>
<p style="text-indent:0;">扣102年的电池</p>
<p style="text-indent:0;">故人买黄蜂，邀我扣电池。后盖侧面合，闷骚壳外斜。开盖面电池，把酒话扣扣。待到重阳日，还来扣电池。</p>
<p style="text-indent:0;">对，你绝对没有听错，只要扣电池，只要扣电池，只要你一把电池扣下来，什么死机，什么闹钟，什么乱七八糟的问题统统都解决。赶紧拿起你的手机扣起来</p>
<p style="text-indent:0;">安得广厦千万间，辟天下寒士扣电池</p>
<p style="text-indent:0;">山映斜阳天接水，黄蜂无情，更在扣电池。</p>
<p style="text-indent:0;">清明时间雨纷纷，不扣电池欲断魂。</p>
<p style="text-indent:0;">春眠不觉晓，清晨扣电池</p>
<p style="text-indent:0;">空持百千偈，不如扣电池</p>
<p style="text-indent:0;">小扣怡情，大扣伤机，强扣灰飞烟灭<br />
先刷茹特，后刷米油，百刷不得返现<br />
横批: 不扣不刷不舒服斯基</p>
<p style="text-indent:0;">忽如一夜春风来，阿里人在扣电池</p>
<p style="text-indent:0;">其实第一次听说要扣电池我是拒绝的，因为，你不能让我扣，我就马上去扣，第一我要试一下，因为我不愿意扣完了以后再加上其他处理方法，手机“咣”一下，很好、很强大，这样观众出来一定会骂我，根本没有这样的扣法，就证明上面那个是假的。后来我也经过证实确实扣电池是可以解决问题的，我扣了大概一个星期左右，感觉还不错，后来我在扣的时候也要求他们不要用其他处理方法，因为我要让观众看到，我扣完之后是这个样子，你们扣完之后也会是这个样子！</p>
<p style="text-indent:0;">亲，我不是在剥螃蟹，我是在抠电池！</p>
<p style="text-indent:0;">大家扣，才是真的扣哦，亲！！！</p>
<p style="text-indent:0;">呐 做人呢 最重要的就是要扣电池<br />
发生这种天天扣的事，大家都不想的<br />
所谓吉人自有天相，扣扣就会好的...饿不饿，我扣碗电池给你吃.... </p>
<p style="text-indent:0;">青山隐隐水迢迢，秋尽江南草未凋。二十四桥明月夜，玉人窗前扣电池</p>
<p style="text-indent:0;">借问扣友何处有？牧童遥指大黄蜂</p>
<p style="text-indent:0;">欲穷千里目，我没扣电池</p>
<p style="text-indent:0;">一枝红杏出墙来，我却在家抠电池<br />
早上天天抠电池，不如自挂东南枝</p>
<p style="text-indent:0;">我居浙地时多云<br />
也道楚天常日昏<br />
来晚孤灯风和雨<br />
扣门犬吠夜归人</p>
<p style="text-indent:0;">漠然回首，那人正在扣电池</p>
<p style="text-indent:0;">春花秋月何时了，心碎知多少。楼主昨夜又黄蜂，今晨不堪回首抠电池中。</p>
<p style="text-indent:0;">衣带渐宽终不悔。黄蜂消得人憔悴。阿里亲友如相问，就说我在扣电池。</p>]]></description>
	<pubDate>Sat, 28 Apr 2012 15:03:55 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/post/125</guid>

</item>
<item>
	<title>打造便携版sublime text2</title>
	<link>http://www.etosun.com/post/123</link>
	<description><![CDATA[<p>好刀是磨出来的，sublime text2这样的编辑器也不是专为前端而写的。因为以前是用editplus的，尽管sublime text2有着丰富的插件，但是装完了直接用的话，势必需要一段适应期。而且同时在公司机器、自己电脑上用，也需要保障2者配置能同步。</p>
<p>sublime text2中文解决方案 <a href="/sublime_text2_zh_cn.html" target="_blank">上一篇</a>&nbsp;已经说过了，这里就不再解释了。</p>
<p>安装完sublime text2，在第一次运行的时候，sublime text2 会在%appdata%目录下生成一个Sublime Text 2的文件夹，用于存放配置文件，以及后面安装的各种插件(所以第一次打开sublime text2时会比较慢)</p>
<p><img border="0" alt="点击查看原图" src="/content/uploadfile/201204/77a44578dc254e0f2abeda3f160b422220120404122808.png" /></p>
<p>要做的第一件事情就是把这个文件移动安装目录，便于设置完后打包。</p>
<p><strong>第一步：安装完sublime text2后，不要直接运行。<br />
</strong>&nbsp;&nbsp;&nbsp; 找到sublime text2的安装目录，并在该目录下新建 Data 文件夹(注意大小写)。如果已经运行了，请先在地址栏输入 %appdata%&nbsp;&nbsp;然后删除该目录下的sublime text2文件夹。</p>
<p>完成这一步之后再打开sublime text2所有的配置文件都会被生成在Data文件夹中了</p>
<p><img border="0" alt="点击查看原图" src="/content/uploadfile/201204/77a44578dc254e0f2abeda3f160b422220120404124342.png" /></p>
<p><strong>第二步：安装你需要的插件<br />
&nbsp;&nbsp;&nbsp; </strong>这就没什么好说的了，还是默认的安装方式。安装后的插件可以在sublime text2安装目录下的 Data/Packages下找到。</p>
<p><strong>第三步：打包sublime text2文件夹<br />
&nbsp;&nbsp;&nbsp; </strong>打包的文件就可以在其他电脑上直接使用了。</p>
<p>&nbsp;</p>
<p>附：</p>
<p><strong>1. sublime text2代码高亮文件类型修改办法：</strong><br />
&nbsp;&nbsp;&nbsp; 打开sublime text2安装目录下的Pristine Packages文件夹，把用不着的全删掉，我是留下了这些文件：<br />
<img border="0" alt="点击查看原图" src="/content/uploadfile/201204/b3470ceb620036d8fb5124f74f3efcc520120404125517.png" /></p>
<p>&nbsp;&nbsp;&nbsp; 删除后的运行截图：</p>
<p><img border="0" alt="点击查看原图" src="/content/uploadfile/201204/fb5c81ed3a220004b71069645f11286720120404125812.png" /></p>
<p><strong>2. sublime text2 “破解”办法：<br />
</strong>&nbsp;&nbsp;&nbsp; 下载本篇文章后的附件，覆盖sublime text2目录下的同名文件(覆盖前请备份)</p>]]></description>
	<pubDate>Wed, 04 Apr 2012 12:03:49 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/post/123</guid>

</item>
<item>
	<title>让sublime text2显示中文的解决方案</title>
	<link>http://www.etosun.com/sublime_text2_zh_cn.html</link>
	<description><![CDATA[<p>2008年7月30开始抛弃Dreamweaver，改用editplus写代码，一晃3年多过去了。editplus的自动完成跟zencoding比起来也许毫无优势，但是我已经习惯了自动完成，常用的代码片段也都是用自动完成来保存的。</p>
<p>当初选editplus是因为启动、打开文件的速度快(DW只能用笨重来形容)，而且有自动完成。但是editplus的插件不够丰富(基本上没有)。这也是为什么现在想换sublime text2的原因。</p>
<p>对我这种英语不好的人，除非没的选，不然绝对不会天天对着一堆字母。所以换编辑器的第一件事，一定是找个sublime text2中文版或者sublime text2汉化版之类的。中文版截图：<br />
&nbsp;<img border="0" alt="点击查看原图" src="/content/uploadfile/201203/77987d6d718493e1a36c53465c5cacde20120331151827.png" /></p>
<p>sublime text2中文汉化包使用方法：</p>
<p align="left">1. 点 <a href="/content/uploadfile/201203/d6e04c0a0cc3fc902eed0dc488cf322620120331153647.rar" target="_blank">这里</a> 下载中文包<br />
2. 关闭sublime text2。开始 运行 输入%appdata%，用压缩包中的文件夹覆盖Sublime Text 2/Packages目录下的同名文件夹<br />
重启(也许不用)下sublime text2就能看到中文的菜单了</p>]]></description>
	<pubDate>Sat, 31 Mar 2012 15:10:03 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/sublime_text2_zh_cn.html</guid>

</item>
<item>
	<title>设置Python默认编码为utf8</title>
	<link>http://www.etosun.com/post/120</link>
	<description><![CDATA[<div>python安装目录：/etc/python2.x/sitecustomize.py</div>
<div>&nbsp;</div>
<div><pre class="brush:python; toolbar: true; auto-links: true;">import sys
reload(sys)
sys.setdefaultencoding('utf-8')
try:
    import apport_python_hook
except ImportError:
    pass
else:
    apport_python_hook.install()</pre></div>
<div></div>
<div>可以在Python安装目录下的Lib/site-packages目录中，新建一个sitecustomize.py文件（也可以建在其它地方，然后手工导入，建在这里，每次启动Python的时候设置将自动生效），内容如下：</div>
<div><pre class="brush:python; toolbar: true; auto-links: true;">import sys
sys.setdefaultencoding('utf-8') #set default encoding to utf-8</pre>然后可以查看到改变已经生效</div>
<div><pre class="brush:python; toolbar: true; auto-links: true;">&gt;&gt;&gt; import sys
&gt;&gt;&gt; sys.getdefaultencoding()
'utf-8'</pre></div>
<div>此时运行程序，如果仍然报告之前的错误，只需要显示地设定输出的编码</div>
<div><pre class="brush:python; toolbar: true; auto-links: true;">print s.encode('utf-8')</pre></div>
<div>就可以看到正确显示。</div>]]></description>
	<pubDate>Thu, 29 Mar 2012 13:39:01 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/post/120</guid>

</item>
<item>
	<title>可能的“小偷踩点符号”</title>
	<link>http://www.etosun.com/post/118</link>
	<description><![CDATA[<p>周六出门时发现的，一开始一位i是哪家的小孩乱涂乱画，突然联想到以前看过一个帖子说小偷喜欢在墙上留他们自己发明的“小偷踩点符号”。果断跑遍整层楼，果然除了顶层有一户门口被画了一个x之外，再也没有乱涂乱画的痕迹了。</p>
<p>年前为了应付上面的检查，小区的墙壁年前刚刚粉刷过一次，不可能是去年留下的。</p>
<p><img src="/content/uploadfile/201202/c44235a8dc7b5d19517f9ea8744a632820120227141331.jpg" alt="点击查看原图" border="0" /></p>
<p>对比下网上扒来的图，这里面有三角形、叉叉、菱形。意思就是这里无人居住(这个貌似不对)、单身女性居住(这个也不对)、计划行动(千万别)。</p>
<p>&nbsp;<img src="/content/uploadfile/201202/75b752e8d53d03cf7dd2cac3e1577e6b20120227143539.jpg" alt="点击查看原图" border="0" /><br />
为了安全起见晚上回来的时候已经把这坑坑洼洼的“踩点符号”刷掉了，刷子毛太硬，估计效果不太好，先这样凑活吧。</p>]]></description>
	<pubDate>Mon, 27 Feb 2012 14:04:08 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/post/118</guid>

</item>
<item>
	<title>zIndex - 混乱的三次元</title>
	<link>http://www.etosun.com/z-index.html</link>
	<description><![CDATA[<p>w3c关于z-index的<b>解释</b>如下：<br />
&nbsp; &nbsp;定义和用法：z-index 属性设置元素的<span style="color:#e56600;">堆叠顺序</span>。拥有更高堆叠顺序的元素总是会处于堆叠顺序较低的元素的前面。元素可拥有负的 z-index 属性值。z-index 仅能在定位元素上奏效（例如 position:absolute/relative;）<br />
&nbsp; &nbsp;说明：该属性设置一个定位元素沿 z 轴的位置，z 轴定义为垂直延伸到显示区的轴。如果为正数，则离用户更近，为负数则表示离用户更远。<br />
&nbsp; &nbsp;可能的值：auto/number/inherit&nbsp;</p>
<p>简单理解就是，z-index将二次元的web带入了三次元的空间。除了x、y轴之外，通过z-index我们还能操作z轴(在做3D变换时这非常重要)。&nbsp;</p>
<p>影响元素堆叠顺序都有哪些<b>因素</b>呢：<br />
&nbsp; &nbsp;1.文档流：默认情况下位于文档流后面的元素会覆盖前面的元素。<br />
&nbsp; &nbsp;2.定位：position不为static的元素，z-index越大，堆叠优先级越高。&nbsp;</p>
<p>混乱的<b>现状</b>：<br />
&nbsp; &nbsp;1.为了解决某些bug，不恰当的使用position属性；<br />
&nbsp; &nbsp;2.z-index值设置的过大，比如99999；<br />
&nbsp; &nbsp;3.设置position属性，却漏写z-index；<br />
&nbsp; &nbsp;4.js计算/设置z-index&nbsp;</p>
<p>混乱的<b>根源</b>：<br />
&nbsp; &nbsp; IE6/7对z-index的表现跟IE8及以上浏览器不一致。position值为非static时，如果不设置z-index属性，IE6/7下z-index默认为0，而IE8及以上浏览器z-index为auto，且zindex:auto的元素不参与堆叠优先级比较。</p>]]></description>
	<pubDate>Wed, 28 Dec 2011 14:42:37 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/z-index.html</guid>

</item>
<item>
	<title>阿里巴巴 国际站UED招聘</title>
	<link>http://www.etosun.com/post/116</link>
	<description><![CDATA[<p><img src="/content/uploadfile/201111/4a47a0db6e60853dedfcfdf08a5ca24920111129155258.png" alt="点击查看原图" border="0" /></p>
<div><span style="color:#666666;">地点：</span>杭州阿里巴巴总部</div>
<div><br />
</div>
<div><span style="color:#666666;">学历：</span>不限，作品和实力是你最好的证明</div>
<div><br />
</div>
<div><span style="color:#666666;">资历：</span>不限，我们提供平台，无论你是应届生还是设计专家</div>
<div><br />
</div>
<div><span style="color:#666666;">英文：</span>擅长是优势，不擅长是提升空间，不是障碍</div>
<div><br />
</div>
<div><span style="color:#666666;">招聘岗位：</span>交互设计师、视觉设计师、前端工程师、用户研究员</div>
<div><br />
</div>
<div><span style="color:#666666;">简历请至：</span><img src="/content/uploadfile/201111/0df8d972768cdb016e2f5d529e1d7b4720111129154952.png" alt="点击查看原图" border="0" /></div>
<div><br />
</div>
<div><br />
</div>
<div><br />
</div>
<div><br />
</div>]]></description>
	<pubDate>Tue, 29 Nov 2011 15:29:31 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/post/116</guid>

</item>
<item>
	<title>python项目部署时可能会遇到的问题汇总</title>
	<link>http://www.etosun.com/python_ascii_codec_can_not_decode_byte.html</link>
	<description><![CDATA[<p>项目环境：ubuntu+apache2+python+wsgi+webpy，开发环境下项目正常，部署到正式环境时出现以下问题：</p>
<p>1. import无效，无法导入其它包</p>
<p>&nbsp; &nbsp; 解决办法：</p>
<pre class="brush:python; toolbar: true; auto-links: true;">#在import自己的包之前要先把路径加到系统的path中
import os
import sys
abspath = os.path.dirname(__file__)
sys.path.append(abspath)
os.chdir(abspath)</pre> <p>2.报错：ascii codec can't decode byte 0xe8 in position 0:ordinal not in range(128)</p>
<p>解决办法：在Windows系统转Linux系统时，字符问题很容易出现，如果是单个文件报错，可以尝试这样解决：</p>
<pre class="brush:python; toolbar: true; auto-links: true;">import sys
reload(sys)
sys.setdefaultencoding('utf-8')</pre> <p>或者在Python安装目录下的Lib/site-packages目录中，新建一个sitecustomize.py文件（也可以建在其它地方，然后手工导入，建在这里，每次启动Python的时候设置将自动生效），内容如下：</p>
 <pre class="brush:python; toolbar: true; auto-links: true;">import sys
sys.setdefaultencoding('utf-8') #set default encoding to utf-8</pre>]]></description>
	<pubDate>Mon, 21 Nov 2011 13:46:04 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/python_ascii_codec_can_not_decode_byte.html</guid>

</item>
<item>
	<title>apache的一些小技巧</title>
	<link>http://www.etosun.com/apache_some_skills.html</link>
	<description><![CDATA[<p>windows下的apache：</p>
<p>如果apache的配置文件httpd.conf搞错了，启动时只会提示the requested operation has failed。可以用命令行模式启动apache，并带上参数，apache会提示你哪句有误，然后就可以针对性的解决，命令如下：&nbsp;</p>
<pre class="brush:shell; toolbar: true; auto-links: true;">httpd.exe -w -n "Apache2" -k start </pre> <p>linux下的apache启动、停止命令：</p>
<pre class="brush:shell; toolbar: true; auto-links: true;">/etc/init.d/apache2 start
/etc/init.d/apache2 stop</pre> <p>某些情况下service apache2 restart不好用时，可以尝试下这2种方法</p>]]></description>
	<pubDate>Sat, 19 Nov 2011 08:28:49 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/apache_some_skills.html</guid>

</item>
<item>
	<title>用google分析统计锚点点击</title>
	<link>http://www.etosun.com/google_analytics_statistical_anchor_click.html</link>
	<description><![CDATA[很多网站都用Google Analytics作为自己的分析工具，统一pv，加载速度等数据。除了这些基本的数据外，Google Analytics还有很多很好用的方法，比如统计如下tab的点击：<p></p>
<p><a target="_blank" href="/content/uploadfile/201111/267dc950f070a3d27806a1da7417d4a620111119075750.gif" id="ematt:131"><img src="/content/uploadfile/201111/267dc950f070a3d27806a1da7417d4a620111119075750.gif" alt="点击查看原图" border="0" /></a></p>
<p>怎么做呢？首先需要建立一个tab到虚拟页面的一对一的映射关系，比如：</p>
<pre class="brush:js; toolbar: true; auto-links: true;">var path = {
  product  : "/product_details/",
  shipping : "/shipping_packaging/",
  payment  : "/paymentterms/",
  feedback : "/feedback/"
}
// tabString是取tab的第一个小写单词，用来标识该tab
_gaq.push(['_setCookiePath', path[tabString]]);
_gaq.push(['_setAllowAnchor', true]);</pre> <p>等有数据以后，就可以到Google Analytics中通过过滤筛选出“<span class="Apple-style-span" style="font-family:monospace;white-space:pre;">/product_details/”这些虚拟路径的统计结果了</span></p>]]></description>
	<pubDate>Sat, 19 Nov 2011 07:56:18 +0000</pubDate>
	<author>南瓜小米粥</author>
	<guid>http://www.etosun.com/google_analytics_statistical_anchor_click.html</guid>

</item></channel>
</rss>
