V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wynemo  ›  全部回复第 11 页 / 共 26 页
回复总数  515
1 ... 7  8  9  10  11  12  13  14  15  16 ... 26  
2014-11-25 09:51:28 +08:00
回复了 GDGshanghai 创建的主题 程序员 Google 为中国开发者使用 Google Play 特设绿色通道!
啥时候google play国内能直接上呀?
2014-09-24 23:24:37 +08:00
回复了 wynemo 创建的主题 git git rebase 是不是有可能丢 commit
@dullwit 这个原则我在git官网上也看到了 一直用intellij的git插件 没去用cgywin的git 也没有太留心inteillij的git日志窗口 不知道老出现提交过的东西又被改回去是什么个情况
2014-09-24 23:22:18 +08:00
回复了 wynemo 创建的主题 git git rebase 是不是有可能丢 commit
@Julyyq 是的 但是比如之前已经修复过的bug 后面又出现了 文件被改回去了 很无语
2014-09-05 16:13:18 +08:00
回复了 yueyoum 创建的主题 程序员 是否有用 Thunderbird 的? 有经验/心得 分享?
thunderbird conversations 扩展 还有些用
2014-08-28 21:05:54 +08:00
回复了 raincious 创建的主题 Chrome 今天被 Chrome 逼回 Firefox 了
今天手贱升级了 发现有些站部分中文显示不出来 在chrome://flags关掉DirectWrite就好了 3年的机器估计显卡太老了
2014-06-26 10:48:08 +08:00
回复了 cbsw 创建的主题 程序员 Autoproxy 是死了吗,Firefox 下还有什么好用的代理插件
2014-06-23 21:21:53 +08:00
回复了 1989922yan 创建的主题 Python [相对导入]
直接运行包里的东西 比如这样 python h/out.py 会报“Attempted relative import in non-package”
而这样 python -m h.out 会报"Attempted relative import beyond toplevel package"
真要跑就照一楼这样跑吧。。。
要把整个这一坨当成一个包 才能用relative import
2014-06-22 15:23:53 +08:00
回复了 187j3x1 创建的主题 Python 写了个随机种子文件改名来骗百度云的脚本
readme里的 “python lutorrent.py av.torrent ”
2014-06-22 15:06:59 +08:00
回复了 loser 创建的主题 成都 [吐槽] 亚行评出中国环境最宜居城市:成都
成都吃喝也不算便宜 吃个冒菜要十几块 套饭/米粉/面10来块 口味的话要看个人喜好 当然外地不喜欢吃辣吃麻的就没得法了
其他用的东西跟外面差不多吧 电子产品要比外面贵
租房子要自己在网上找房子很困难 中介奇多 一般要各收半个月的中介费 还说这是最低的良心价
公交和brt上下班挤得很 地铁只有两条 神奇的是早上出城时有时候都会堵车(双流机场高速路)
好处是城市不大 我上班从二环走到三环才50多分钟
空气的话和东部差不多
至于水的话可以参照这个。。。
http://img1.gtimg.com/9/952/95250/9525083_980x1200_0.jpg
反正我个人觉得成都这个自来水放出来好脏 好多颗粒物 不过一想可能是心理作用 上游都这个样子 下游那不是。。。
2014-05-10 11:27:06 +08:00
回复了 qinyang 创建的主题 成都 成都使用 Nodejs 的公司多吗?主要都是些什么公司?
据说成都游戏工场有在用
2014-04-06 12:17:42 +08:00
回复了 shoumu 创建的主题 Python 大家来列一下 python tools 吧
排名不分先后左右忠奸 大家也补充 让大python共荣圈更加繁荣

virtualenv a tool to create isolated Python environments

pip python包管理器

scons 类似make的工具(执行速度可能比make慢 但是可以用python写嘛)

sphinx 文档生成工具

build-bot 持续集成

swig 写python扩展包

boost python 让你程序更简单的内嵌python

pytest: a mature full-featured Python testing tool

tox: automate and standardize testing in Python

https://github.com/audreyr/cookiecutter-pypackage

django tornado twisted flask web.py pyramid

sqlalkemy Cookiecutter template for a Python package

hg 源码管理

Fabric 部署 系统管理

supervisor 进程管理

SQLAlchemy - The Database Toolkit for Python

http://stutzbachenterprises.com/blist/: an asymptotically faster list-like type for Python

https://github.com/gareth-rees/minipy: Python minifier

https://github.com/miguelgrinberg/Flask-SocketIO Socket.IO integration for Flask applications

https://github.com/fxsjy/jieba 结巴中文分词

https://github.com/tamentis/rpdb remote debug

https://github.com/google/pyringe Debugger capable of attaching to and injecting code into python processes.

https://github.com/halgari/clojure-py : A implementation of Clojure in pure (dynamic) Python

https://pypi.python.org/pypi/guppy Heapy : python memory profiler

https://github.com/mikeal/request Simplified HTTP request client.

https://github.com/docopt/docopt Pythonic command line arguments parser, that will make you smile

https://pypi.python.org/pypi/Whoosh Fast, pure-Python full text indexing, search, and spell checking library.

https://github.com/amoffat/sh Python process launching

http://rg3.github.io/youtube-dl/ youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites.

参考文章: http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
2013-11-13 09:48:31 +08:00
回复了 NFSwind 创建的主题 Google App Engine goAgent报403错误了呢???
其实就是g.cn [203.208.37.17] 的IP不能用了
换appspot.com的IP就可以了
2013-11-10 19:02:06 +08:00
回复了 duhastmich 创建的主题 JavaScript 又一个翻译成js的语言Wisp
没人用这个吗 觉得还行 不用搞JVM 编译就简单的命令可以搞定
$ wisp <foo.wisp >foo.js
2013-10-26 21:41:58 +08:00
回复了 tommark 创建的主题 Python python用subprocess调用外部exe如何实时捕捉stdout输出
其实stdout=sys.stdout 应该就可以了吧。。。
2013-08-27 21:40:12 +08:00
回复了 hustlzp 创建的主题 Python 有点迷糊,headers_set[:] = [status, response_headers]
直接在嵌套函数里些headers_set = [status, response_headers] 会认为在嵌套函数里新声明了一个headers_set 作用范围就在嵌套函数里 不改变外层headers_set的值
headers_set[:] 这样是给headers_set赋值 会改变外层的值

具体用locals看

def test():
....a = []
....def test_t():
........print locals()
........a.extend([1,3])
....test_t()
....print a

test()

def test():
....a = []
....def test_t():
........print locals()
........a = [1, 3]
....test_t()
....print a

test()
1 ... 7  8  9  10  11  12  13  14  15  16 ... 26  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2829 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms · UTC 12:47 · PVG 20:47 · LAX 05:47 · JFK 08:47
Developed with CodeLauncher
♥ Do have faith in what you're doing.