V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ccbikai  ›  全部回复第 37 页 / 共 91 页
回复总数  1810
1 ... 33  34  35  36  37  38  39  40  41  42 ... 91  
2015-08-04 17:41:49 +08:00
回复了 xiaobetty 创建的主题 推广 晒出你最蠢的一段代码,送 Cherry 鼠标垫
var sql = mysql.format('select count(1) as count,\'t1\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t2\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t3\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t3\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline > ?) t1 where t1.type=\'cmic04\' ', [getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 43200, getTimestamp() - 86400]);
sql += mysql.format(' union select count(1) as count,\'t4\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t5\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t6\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t6\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ? and lastonline > ?) t1 where t1.type=\'cmic04\' ', [getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400, getTimestamp() - 86400 * 7]);

sql += mysql.format(' union select count(1) as count,\'t7\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t8\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t9\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t9\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and lastonline < ?) t1 where t1.type=\'cmic04\'', [getTimestamp() - 43200, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400 * 7, getTimestamp() - 43200, getTimestamp() - 86400 * 7]);

sql += mysql.format(' union select count(1) as count,\'t10\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic01\' union select count(1) as count,\'t11\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic02\' union select count(1) as count,\'t12\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic03\' union select count(1) as count,\'t12\' from (select substr(did,1,6) as type from mysql.mm_statusccc where updatedat > ? and updatedat < ?) t1 where t1.type=\'cmic04\'', [getTimestamp() - 86400, getTimestamp() - 3600, getTimestamp() - 86400, getTimestamp() - 3600, getTimestamp() - 86400, getTimestamp() - 3600, getTimestamp() - 86400, getTimestamp() - 3600]);
2015-08-04 11:03:57 +08:00
回复了 zhicheng 创建的主题 程序员 [福利] 我来给小伙伴们送书了,有 100 余本,以技术书为主
@zhicheng 那就改图解密码技术吧
2015-08-04 09:53:11 +08:00
回复了 lsylsy2 创建的主题 问与答 酷云关门想到的——有适合家人用的网盘么?
@outing 当年看好坚果与云诺,现在……
2015-08-03 20:58:11 +08:00
回复了 chuanper 创建的主题 问与答 请问下知乎日报现在还能用的 RSS 抵制有什么啊?谢谢
2015-08-03 09:28:21 +08:00
回复了 spencerqiu 创建的主题 问与答 好奇心日报、 VICE 这样的站点如何盈利?
@alect PR? 你是在逗吗? 这基本上都不更新了
2015-08-02 21:55:08 +08:00
回复了 wireshark 创建的主题 宽带症候群 有南京 V 友用联通的宽带吗? 速度到底如何?
用的联通20M,访问国外网站快点,女朋友看视频也不卡,一年 720 挺划算的
2015-08-01 15:28:02 +08:00
回复了 zhicheng 创建的主题 程序员 [福利] 我来给小伙伴们送书了,有 100 余本,以技术书为主
使用Haraka搭建邮件发送服务器

https://www.textarea.com/ccbikai/shiyong-haraka-dajian-youjian-fasong-fuwuqi-56/

如果有用,可以点个星星
2015-07-31 17:52:23 +08:00
回复了 aheadlead 创建的主题 生活 实习生个税 800 以上 20%有人吐槽吗?
没交
@banri 好巧,我也想去了解一下
2015-07-30 09:46:22 +08:00
回复了 banri 创建的主题 旅行 鬼门关里走一遭,我也是经历过生死的人了
换了头像竟然没有发现是你
2015-07-28 14:23:09 +08:00
回复了 hzlzh 创建的主题 分享创造 公众号「MacTips」开始更新啦,分享 Mac 相关技巧
工作时间好像没写
南京的,支持 下,不知道还缺不缺前端
2015-07-24 13:13:18 +08:00
回复了 Kilerd 创建的主题 问与答 都是 WHOIS 的锅
建国以来最大的网络赌博案 。。。。。。。。。

怎么不说是自秦始皇起以来 最大的网络赌博案 。。。。。。。。。
2015-07-22 09:39:05 +08:00
回复了 dopcn 创建的主题 Android 来搞个笑,你会对用 MacBook 加 iPhone 的 Android 开发抱有偏见吗
你会对使用 iPhone 的 Android APP 设计抱有偏见吗?
专业 :计算机
工作 :WEB开发
2015-07-20 18:42:31 +08:00
回复了 coolicer 创建的主题 音乐 人老了就喜欢听老歌
这与爷爷喜欢听戏一样的道理吧
@heathermhuang 只支持那几个邮箱吗? 公司的微软企业邮箱不能用吧
2015-07-12 09:01:07 +08:00
回复了 justjavac 创建的主题 分享发现 [linkmoji 🍕💩] 将链接转换为 emoji http://www.xn--vi8hiv.ws
正在尝试注册
2015-07-11 18:42:03 +08:00
回复了 smilingsun 创建的主题 程序员 在公司里真的敢用机械键盘?求推荐
RACE2 茶轴
1 ... 33  34  35  36  37  38  39  40  41  42 ... 91  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5003 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 60ms · UTC 09:18 · PVG 17:18 · LAX 02:18 · JFK 05:18
Developed with CodeLauncher
♥ Do have faith in what you're doing.