摘要:
LOAD DATA LOCAL INPATH '${env:HOME}/california-employees'OVERWRITE INTO TABLE employeesPARTITION (country = 'US', state = 'CA');If the LOCAL keyword is used, the path is assumed to be in the local filesystem. The datais copied into the final location. If LOCAL is omitted, the 阅读全文
阅读排行榜
About Lua And Nginx
2014-02-12 17:23 by briller, 320 阅读, 收藏,
摘要:
在控制结构的条件中除了 false 和 nil 为假,其他值都为真。所以 Lua 认为 0 和空串都是真location /report.gif { default_type image/gif; set $u_uid ''; set $u_sid ''; set $u_lsid ''; set $u_appsid ''; access_log /var/log/nginx/lua/lua.log tick; access_by_lua_file /etc/nginx/lua/log.lua; add_header Expires 阅读全文
python sb 问题
2014-06-20 10:32 by briller, 313 阅读, 收藏,
摘要:
PROGRAM_MAX_LENGTH = 60*60*3 #3 hoursskiptimes = 0TOTALTIMES = 0def xxx(): print TOTALTIMES #fine consider it as constant #TOTALTIMES += 1 #N... 阅读全文
web 粘贴到vim 的内容格式化
2014-07-21 17:29 by briller, 312 阅读, 收藏,
摘要:
14.6. How do I format/indent an entire file?You can format/indent an entire file using the gg=G command, where gg - Goto the beginning of the file ... 阅读全文
Python tip 题目笔记
2014-11-04 12:32 by briller, 299 阅读, 收藏,
摘要:
翻转字符串 x = '123456' y = x[::-1]给你一字典a,如a={1:1,2:2,3:3},输出字典a的key,以','链接,如‘1,2,3'。 print ','.join([str(i) for i in a])给你一个字符串 a, 输出字符奇数位置的字符... 阅读全文
浙公网安备 33010602011771号