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
# encoding: utf-8 | |
# 用于生成user_id对应的邀请码, user_id唯一 | |
# user_id 在35进制中的表示唯一, 则对应在35位的邀请码唯一 | |
# 将整数转换成35进制字符串所使用的默认密码本 | |
# 密码本字符串(x)长度35, 且须满足密码本字符唯一 | |
# 密码本不能包括 ``0``, (``0`` 用于补足) | |
INT_2_BASE35_CODEBOOK = '此处时26个字符+1-9个数字的混用长度为35的密码本' | |
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
""" | |
from case import func | |
从 case 引入 func 时, func() 将会被执行. | |
""" | |
""" | |
case.py | |
def func(): | |
print 'excute func' |
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
""" | |
我发现我是如此的讨厌资本市场的惺惺作态, 我要做一个自由的人, 做一个不受资本市场控制的产品. | |
""" | |
""" | |
Html 结构 | |
Css 样式 | |
js 动作 | |
做自由的人, 做自由自在, 不受资本, 不受权利控制的人, 做自由自在的乌鸦, 不做笼子里的白鸽. | |
""" |
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
""" | |
set 'name' 100 | |
memory usage 'name' | |
48 字节数. | |
""" |
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
""" | |
elk 家族 | |
""" |
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
""" | |
1 查询缓存, Mysql函数会使mysql默认不开启查询缓存. | |
2 explain, explain你的select查询. | |
3 一行数据时, 使用limit 1. | |
4 为搜索字段建立索引. | |
5 join表的时候使用相当类型的例, 并将其索引. |
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
""" | |
github 上第一个人flowing了我, 不知道怎么说, 好开森. | |
""" |
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
""" | |
苍天啊, vim配置文件误删除了给, 我嘞个去. | |
""" |
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
""" | |
如何实战一步步的增强自己的技术落地能力. | |
1 了解一门技术, 技术的适用场景及实现架构. | |
2 实战最简单实现. | |
3 实战通用实现. | |
4 实战特例实现. | |
5 实战工程化实现, 在具体项目中的嵌入和应用. | |
""" |
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
""" | |
把一个类实例的生成写成类方法放入类里面, 你直接定义一个函数好不好, 叫获取类实例, 好么. | |
神烦!!! | |
""" |
OlderNewer