This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//tab | |
$.fn.TabADS = function() { | |
var obj = $(this); | |
var currentClass = "select"; | |
var tabs = obj.find(".tab_hd").find("li"); | |
var conts = obj.find(".tab_cont"); | |
var t; | |
tabs.eq(0).addClass(currentClass); | |
conts.hide(); | |
conts.eq(0).show(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name download.deliverkindle.com; | |
#charset koi8-r; | |
access_log /var/log/nginx/download.access.log main; | |
location /static/ { | |
alias /data/htdocs/static/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings--->Network-->ssh client: | |
"C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe" -l yongHuMing -pw miMa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
修改配置文件:sublime-settings的选项{"default_line_ending": "unix"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= name %> to <%- name %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
进入DFU模式刷机 具体:Power+Home10秒 黑屏2秒后,放开Power,继续Home5秒 iTunes监测到有处于恢复模式的iPod。你就成功了。 然后点恢复。等待其完成就OK了 有固件的话就Shift+恢复。选择固件。等待其完成 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
按Ctrl+`调出console | |
粘贴以下代码到底部命令行并回车: | |
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()) | |
重启Sublime Text 2。 | |
如果在Perferences->package settings中看到package control这一项,则安装成功。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding:utf-8 | |
#!/usr/bin/env python | |
import xapian | |
import sys | |
import string | |
from collections import defaultdict | |
from mmseg.search import seg_txt_search,seg_txt_2_dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
最近在忙这开发一个网站,开发平台从nodejs的Express到python的django. 开发风格迥异,这个网站目前叫[梦想读书社区][1],说是社区,其实读者间,还没有什么交互。这也是目前要考虑的问题。还有让我顾虑的是里面图书的版权问题,一直在想是不是去做博客之类的在线阅读且推送服务。为了开发,这两个月,少了许多时间陪家里的孩子老婆,让我很惭愧。而且开发完后,还有面临很多的问题。不管许多了。在这里先贴几张丫头儿子的照片吧。 | |
![晚上散步,丫头在骑单车][2] | |
![enter image description here][3] | |
> Blockquote | |
> Written with [StackEdit](https://stackedit.io/). | |
[1]: http://www.deliverkindle.com/ | |
[2]: https://lh5.googleusercontent.com/-DJfvUuUJejE/UncGUFcZ66I/AAAAAAAAFRU/udcEY_KbobA/s0/2013-11-03%25252020.55.06.jpg "2013-11-03%2020.55.06.jpg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum groupinstall "Development Libraries" | |
yum groupinstall "Development Tools" |
OlderNewer