摘要:
mongodb与sql聚合对应图 M - CSDN博客 http://blog.csdn.net/u011930016/article/details/49422425 SQL Terms, Functions, and Concepts MongoDB Aggregation Operators
阅读全文
posted @ 2017-12-06 13:43
papering
阅读(288)
推荐(0)
posted @ 2017-12-06 12:44
papering
阅读(194)
推荐(0)
摘要:
package equals;public class EqualsTest { public static void main(String[] args) { Employee alice1 = new Employee("Alice Adams", 75000, 1987, 12, 15); Employee alice2 = alice1; ...
阅读全文
posted @ 2017-12-06 00:53
papering
阅读(398)
推荐(0)
摘要:
crontab -l 57 */1 * * * python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_ordertab_notexpire.py &> /dev/null
阅读全文
posted @ 2017-12-05 20:01
papering
阅读(882)
推荐(0)
摘要:
import osfor i in range(1, 10): if i % 3 == 0: print(i) s = 'python %s' % (__file__) os.system(s) os._exit(123)ps -aux | grep python | grep -v grep |cut -c 9-15 | xargs k...
阅读全文
posted @ 2017-12-05 19:34
papering
阅读(505)
推荐(0)
摘要:
SELECT COUNT(1) FROM ask WHERE title LIKE '%哪里%'UNION ALL SELECT COUNT(1) FROM ask WHERE title LIKE '%哪家%'UNION ALL SELECT COUNT(1) FROM ask WHERE tit
阅读全文
posted @ 2017-12-05 18:15
papering
阅读(200)
推荐(0)
摘要:
铜像雕塑哪里有加工厂华强北哪里可以解ID锁?我的苹果ipadmini2忘记屏幕密码了,刷机后需要原始appleID激活深圳小吃培训哪家好?东莞哪里有小吃培训的?禅城哪里有收纳箱专卖店?篷房就是帐篷吗?上海哪里有专门做篷房租赁的公司?上海智能机器人培训在哪里?上海哪里有上门回收烟酒,回收香烟的正规公司
阅读全文
posted @ 2017-12-05 17:43
papering
阅读(457)
推荐(0)
摘要:
class myBook(): def __init__(self, book): self.book = book def readbook(self): print(self.book, '--GOOD')d = eval("myBook('Java Book')")if hasattr(d,
阅读全文
posted @ 2017-12-05 15:23
papering
阅读(163)
推荐(0)
摘要:
标准库内部如何实现接口的 io.Copy(实现了io.Writer接口的值,实现了io.Reader接口的值) sendNotification 接受一个实现了notifier接口的值并发送通知 方法集定义了接口的接受规则 如果使用指针接收者来实现一个接口,则只有指向那个类型的指针才能实现对应的接口
阅读全文
posted @ 2017-12-05 14:25
papering
阅读(272)
推荐(0)
摘要:
Information:javac 1.8.0_91 was used to compile java sources D:\myjdk\bin\java "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\lib\idea_r
阅读全文
posted @ 2017-12-05 13:06
papering
阅读(302)
推荐(0)
posted @ 2017-12-05 13:04
papering
阅读(127)
推荐(0)
摘要:
Java 虚拟机面试题全面解析(干货) - Yano_nankai的博客 - CSDN博客 http://m.blog.csdn.net/Yano_nankai/article/details/50957578
阅读全文
posted @ 2017-12-05 12:36
papering
阅读(141)
推荐(0)
摘要:
jruby Java 虚拟机面试题全面解析(干货) - Yano_nankai的博客 - CSDN博客 http://m.blog.csdn.net/Yano_nankai/article/details/50957578
阅读全文
posted @ 2017-12-05 12:20
papering
阅读(178)
推荐(0)
摘要:
设置时间 date -s "2017-12-05 11:59:00";
阅读全文
posted @ 2017-12-05 11:59
papering
阅读(191)
推荐(0)
posted @ 2017-12-05 08:41
papering
阅读(141)
推荐(0)
posted @ 2017-12-05 08:17
papering
阅读(135)
推荐(0)
posted @ 2017-12-05 07:53
papering
阅读(183)
推荐(0)
摘要:
http://www.learn4master.com/programming-language/python/python-queue-for-multithreading
阅读全文
posted @ 2017-12-04 23:40
papering
阅读(231)
推荐(0)
摘要:
https://docs.python.org/3.6/library/queue.html https://github.com/python/cpython/blob/3.6/Lib/queue.py The queue module implements multi-producer, mul
阅读全文
posted @ 2017-12-04 23:18
papering
阅读(263)
推荐(0)
摘要:
[Spark性能调优] 第四章 : Spark Shuffle 中 JVM 内存使用及配置内幕详情 - 無情 - 博客园 https://www.cnblogs.com/jcchoiling/p/6494652.html
阅读全文
posted @ 2017-12-04 19:23
papering
阅读(151)
推荐(0)
摘要:
http://m.blog.csdn.net/wl_ldy/article/details/5935528
阅读全文
posted @ 2017-12-04 14:00
papering
阅读(186)
推荐(0)
摘要:
http://192.168.2.51:4041 http://hadoop1:8088/proxy/application_1512362707596_0006/executors/ Executors Executors Executors Show Additional Metrics Sum
阅读全文
posted @ 2017-12-04 13:13
papering
阅读(430)
推荐(0)
posted @ 2017-12-04 12:14
papering
阅读(143)
推荐(0)
摘要:
实践: windows如何开放端口_1440!的博客-CSDN博客_windows 开放端口 https://blog.csdn.net/younghaiqing/article/details/83617018 首先,打开电脑的控制面板,然后在控制面板中找到防火墙; 高级安全设置中,我们点击选择左
阅读全文
posted @ 2017-12-04 02:28
papering
阅读(952)
推荐(0)
摘要:
SimpleHTTPServer python -m SimpleHTTPServer 8989
阅读全文
posted @ 2017-12-04 02:18
papering
阅读(162)
推荐(0)
摘要:
python 创建使用虚拟环境python -m venv ./venvsudo apt install python3-virtualenvsudo apt install python3.12-venvvirtualenv venvsource venv/bin/activate https:/
阅读全文
posted @ 2017-12-04 00:31
papering
阅读(230)
推荐(0)
摘要:
rest服务器的搭建 - CSDN博客 http://blog.csdn.net/zhanghaotian2011/article/details/8760794 REST的架构设计 REST(Representational State Transfer)是一种轻量级的Web Service架构风
阅读全文
posted @ 2017-12-04 00:16
papering
阅读(665)
推荐(0)
摘要:
https://github.com/cesanta/mongoose http://ltp.ai/docs/ltpserver.html LTP Server在轻量级服务器程序mongoose基础上开发。在编译LTP源码之后,运行`./bin/ltp_server`就可以启动LTP Server。
阅读全文
posted @ 2017-12-04 00:08
papering
阅读(546)
推荐(0)
摘要:
http://ltp.ai/docs/ltptest.html 一般来讲,基于统计机器学习方法构建的自然语言处理工具通常包括两部分,即:算法逻辑以及模型。模型从数据中学习而得,通常保存在文件中以持久化;而算法逻辑则与程序对应。
阅读全文
posted @ 2017-12-03 23:55
papering
阅读(220)
推荐(0)
摘要:
http://ltp.ai/demo.html
阅读全文
posted @ 2017-12-03 23:45
papering
阅读(190)
推荐(0)
posted @ 2017-12-03 23:30
papering
阅读(134)
推荐(0)
摘要:
http://192.168.2.51:4040/executors/ http://192.168.2.51:4040/executors/ ssh://root@192.168.2.51:22/usr/bin/python -u /root/.pycharm_helpers/pydev/pyde
阅读全文
posted @ 2017-12-03 21:50
papering
阅读(440)
推荐(0)
摘要:
Spark on Yarn提交任务时报ClosedChannelException解决方案_服务器应用_Linux公社-Linux系统门户网站 http://www.linuxidc.com/Linux/2017-01/140068.htm <property> <name>yarn.nodeman
阅读全文
posted @ 2017-12-03 21:37
papering
阅读(1156)
推荐(0)
摘要:
cat logs/hadoop-root-datanode-hadoop1.log ************************************************************/2017-12-03 21:05:25,361 INFO org.apache.hadoop.
阅读全文
posted @ 2017-12-03 21:11
papering
阅读(418)
推荐(0)
摘要:
问题现象: shell窗口卡,换IP的登录窗,不开; 猜测: 内存耗尽 spider_url,py 修改爬虫代码: [root@hadoop1 ~]# free -g total used free shared buff/cache availableMem: 15 14 0 0 0 0Swap:
阅读全文
posted @ 2017-12-03 18:55
papering
阅读(964)
推荐(0)
摘要:
启动文件 /etc/profile ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc
阅读全文
posted @ 2017-12-02 20:21
papering
阅读(166)
推荐(0)
摘要:
printenv set echo alias 设置常用命令的快捷键 0-查询已有 alias -p 1-回家 cd ~ 2-bash文件,找到定义的脚本 [root@hadoop1 ~]# ll -as总用量 3519796 4 dr-xr-x . 20 root root 4096 12月 6
阅读全文
posted @ 2017-12-02 19:59
papering
阅读(204)
推荐(0)
摘要:
[root@hadoop1 ~]# kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR111) SIGSEGV 12) SIG
阅读全文
posted @ 2017-12-02 19:54
papering
阅读(360)
推荐(0)
posted @ 2017-12-02 18:32
papering
阅读(128)
推荐(0)
摘要:
# Python implementation of the MySQL client-server protocol # http://dev.mysql.com/doc/internals/en/client-server-protocol.html # Error codes: # http://dev.mysql.com/doc/refman/5.5/en/error-messages...
阅读全文
posted @ 2017-12-02 18:19
papering
阅读(1736)
推荐(0)