翼图南

故九萬里,則風斯在下矣,而後乃今培風;背負青天而莫之夭閼者,而後乃今將圖南

Menu

Skip to content
  • Home
  • GPG
  • CV
  • Categories
    • Code
    • Devops
    • Django
    • 分享链接
    • 机器学习
    • MachineLearning
    • Others
    • Productivity
    • Python
  • Tags
  • Social
    • Twitter
    • GitHub
    • StackOverflow
    • 微信二维码
  • Feed

Category: 分享链接

A guide to analyzing Python performance

Posted on Sep 18, 2013 by Leonardo Zhou

链接

一篇 Python 性能分析方面的好文,介绍了分别用 unix time命令和 context manager 来粗略/精细地测试 Python 脚本的运行时间; 使用 line_profiler 库 精细衡量每行代码的执行时间; 使用 memory_profiler ...

Continue reading →

Migrating to a Custom User Model in Django

Posted on Aug 26, 2013 by Leonardo Zhou

链接

这篇 blog 详尽阐述了把现有的 UserModel 迁移到 Django 1.5 的 Custom User Model 所需的十几个步骤和注意事项。

对打算迁移 UserModel 的同学来说,是一份很不错的checklist!

Continue reading →

Golang Weekly Go语言周报

Posted on Feb 22, 2013 by Leonardo Zhou

images/golangweekly.png

Golang Newsletter

介绍最新的Go语言和社区动态,每月大概有1-2封,对Go感兴趣的同学可以关注下

Continue reading →

为什么有些网址中使用“utf8=✓”而不是“utf8=true”?

Posted on Jan 18, 2013 by Leonardo Zhou

IE又中枪了。 老版本的IE浏览器 (< IE9) 提交 form 数据时,会尽可能地使用Latin-1编码, 而不是群众喜闻乐见的 utf-8 编码。

✓这个无法用Latin-1编码的字符会迫使IE使用 utf-8,从而简化了server端的实现。

同理,Ruby on ...

Continue reading →
© 2019 翼图南
Powered by Pelican & Graphy, hosted on GitHub.