摘要: usefull urls https://blog.csdn.net/weixin_46124208/article/details/108483355 > db.sales.find(){ "_id" : ObjectId("77f02ee61df85c423b6a4e79"), "client" 阅读全文
posted @ 2020-11-04 14:53 voh99800 阅读(1937) 评论(0) 推荐(0) 编辑
摘要: ....占位 copy from https://www.jianshu.com/p/10c857270947 https://www.jianshu.com/p/55b0b8126e40?utm_campaign=studygolang.com&utm_medium=studygolang.com 阅读全文
posted @ 2020-10-26 01:38 voh99800 阅读(1539) 评论(0) 推荐(0) 编辑
摘要: from https://blog.csdn.net/duzilonglove/article/details/80111753 你可能对于 Linux 的负载均值(load averages)已有了充分的了解。负载均值在 uptime 或者 top 命令中可以看到,它们可能会显示成这个样子: lo 阅读全文
posted @ 2020-10-09 16:20 voh99800 阅读(321) 评论(0) 推荐(0) 编辑
摘要: emacs 报错: gpg: 无法检查签名:没有公钥 解决:1.无法自动更新gnu elpa公钥,需要到官网手动下载新的文件http://elpa.gnu.org/packages/gnu-elpa-keyring-update.html 2.emacs直接打开tar包# emacs gnu-elp 阅读全文
posted @ 2020-09-28 11:21 voh99800 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1, dump.js {}{} 前边括号是条件, 后边括号筛选输出 var c = db.ws5f1171ae8e32c7098cbbfd1a.find({ status: 1 },{"rowid":1,"rc5f1179e58e32c7098cbc0042":1,_id:0}) while(c.h 阅读全文
posted @ 2020-09-24 10:27 voh99800 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1,占位 uos@uos-PC:~/go/huzh_web$ tree . ├── conf │ └── app.conf ├── controllers │ ├── default.go │ └── fileopt.go ├── go.mod ├── go.sum ├── huzh_web ├── 阅读全文
posted @ 2020-08-25 18:07 voh99800 阅读(363) 评论(0) 推荐(0) 编辑
摘要: tar -zxf mysql-xxx.gz cp -r mysql-xx /usr/local/mysql cd /usr/local/mysql/bin mkdir -pv /data/mysql/{log,run,tmp,data} mkdir -pv /data/mysql/log/{iblo 阅读全文
posted @ 2020-07-09 00:53 voh99800 阅读(206) 评论(0) 推荐(0) 编辑
摘要: ...占位 # -*- coding:utf-8 -*- # date:20200616 # auth:hxx@uniontech.com # description: 后台计算期间,打印一堆无效内容, 查询完成后,停止无效打印, 输出有效内容 from mdiso.dbcon import DBC 阅读全文
posted @ 2020-06-26 19:16 voh99800 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1, 占位 type func interface 范式 type myFunc func(int) int func (f myFunc) sum (a, b int) int { res := a + b return f(res) } func sum10(num int) int { ret 阅读全文
posted @ 2020-05-26 20:24 voh99800 阅读(218) 评论(0) 推荐(0) 编辑
摘要: rsync -avz rsync://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/ /data/mirror/ 阅读全文
posted @ 2020-05-22 18:02 voh99800 阅读(172) 评论(0) 推荐(0) 编辑
摘要: ...占位 説明 Redhat系 Debian系 更新缓存 yum makecache apt-get update 更新包 yum update apt-get upgrade 检索包 yum search apt-cache search 检索包内文件 yum provides apt-file 阅读全文
posted @ 2020-05-22 08:58 voh99800 阅读(198) 评论(0) 推荐(0) 编辑
摘要: dbus 概念 --翻遍了google和百度,就这个图对入门帮助最大,dbus的文档真难找 fcitx 概念 dbus-send 命令行 /inputmethod --对象路径 org.freedesktop.DBus.Properties --interface --dest=org.fcitx. 阅读全文
posted @ 2020-05-15 09:38 voh99800 阅读(740) 评论(0) 推荐(0) 编辑
摘要: 此时此刻0526,这个靠谱 from https://stackoverflow.com/questions/49926467/you-are-using-mariadb-as-an-anonymous-user?noredirect=1 > update mysql.user set passwo 阅读全文
posted @ 2020-05-14 10:12 voh99800 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 禁用系统输入法切换使用 ctrl + spaece(空格),可以使用ctrl+shift 在emacs 内使用ctrl + space 即可选中 选中操作移动鼠标 复制操作 alt+w 移动鼠标到要粘贴的位置 粘贴操作 ctrl + y 阅读全文
posted @ 2020-05-11 14:31 voh99800 阅读(2065) 评论(0) 推荐(0) 编辑
摘要: 队列 https://blog.csdn.net/qq_21383435/article/details/82659947 部署模式 https://blog.csdn.net/qq_26222859/article/details/80557082 写的比较容易理解 https://www.cnb 阅读全文
posted @ 2019-12-05 15:05 voh99800 阅读(273) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/geekmao/p/8541817.html 阅读全文
posted @ 2019-12-03 11:21 voh99800 阅读(114) 评论(0) 推荐(0) 编辑
摘要: ref https://www.cnblogs.com/bigdatasafe/p/10784523.html 配置文件 core-site.xml 1,start all zk 2,start journalnode on each vm hadoop start journalnode 3, h 阅读全文
posted @ 2019-11-23 21:09 voh99800 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 其中deploy-mode是针对集群而言的,是指集群部署的模式,根据Driver主进程放在哪分为两种方式:client和cluster,默认是client,下面我们就详细研究一下这两种模式的区别 1. client mode 首先明白几个基本概念:Master节点就是你用来提交任务,即执行bin/s 阅读全文
posted @ 2019-11-16 21:19 voh99800 阅读(127) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/qingyunzong/p/8671153.html create 'myHbase',{NAME => 'myCard',VERSIONS => 5} 创建了一个名为myHbase的表,表里面有1个列簇,名为myCard,保留5个版本信息 creat 阅读全文
posted @ 2019-11-16 14:48 voh99800 阅读(102) 评论(0) 推荐(0) 编辑
摘要: mycode consumer https://blog.csdn.net/YHYR_YCY/article/details/85016112 、 阅读全文
posted @ 2019-11-16 13:18 voh99800 阅读(132) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/qingyunzong/p/8994494.html 阅读全文
posted @ 2019-11-16 09:35 voh99800 阅读(134) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/baby123/p/10875249.html 阅读全文
posted @ 2019-11-11 00:06 voh99800 阅读(81) 评论(0) 推荐(0) 编辑
摘要: -- copy from Internet https://www.cnblogs.com/wxplmm/p/7239342.html NameNode:是Master节点,有点类似Linux里的根目录。管理数据块映射;处理客户端的读写请求;配置副本策略;管理HDFS的名称空间; Secondary 阅读全文
posted @ 2019-10-22 11:03 voh99800 阅读(175) 评论(0) 推荐(0) 编辑
摘要: note 写的认真 Relational DB ⇒ Databases ⇒ Tables ⇒ Rows ⇒ Columns Elasticsearch ⇒ Indices ⇒ Types ⇒ Documents ⇒ Fields https://www.cnblogs.com/aaanthony/p 阅读全文
posted @ 2019-08-29 23:04 voh99800 阅读(152) 评论(0) 推荐(0) 编辑
摘要: input and output drop -A INPUT -p tcp -m tcp --dport 22 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT-A INPUT -p tcp -m tcp --sport 22 -m state - 阅读全文
posted @ 2019-08-25 00:41 voh99800 阅读(615) 评论(0) 推荐(0) 编辑
摘要: nmcli connection add type ethernet autoconnect yes con-name con-huzh-n3 ifname eno16777728 ip4 1.1.13.6/24 gw4 1.1.13.2 nmcli connection modify con-hu 阅读全文
posted @ 2019-08-24 22:46 voh99800 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-10 17:14 voh99800 阅读(224) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jyxbk/p/7651716.html firewall https://www.rootusers.com/how-to-use-firewalld-rich-rules-and-zones-for-filtering-and-nat/ kafka 阅读全文
posted @ 2019-07-04 18:08 voh99800 阅读(244) 评论(0) 推荐(0) 编辑
摘要: note : delet the default route of user_pc and server or namespace first DNAT with docker DNAT 地址变化记忆: user 和防火墙之间dst和src正常 防火墙到内网dst变为内网server地址 内网ser 阅读全文
posted @ 2019-03-03 19:34 voh99800 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 快速排序 //理解参考go的快速排序 result huzh@DESKTOP-LFIDO1U ~/code/python/python2$ python quc.py[1, 3, 4, 7, 8, 20, 21, 25, 26, 27] 选择排序 def sort(lst): if len(lst) 阅读全文
posted @ 2019-01-23 14:22 voh99800 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Go note1,Go语言中,空接口可以指向任何数据对象,所以可以使用interface{}定义任意类型变量,同时interface{}也是类型安全的。2,x, y := func(i, j int) (m, n int) { // x y 为函数返回值 return j, i }(1, 9) // 阅读全文
posted @ 2019-01-20 18:40 voh99800 阅读(340) 评论(0) 推荐(0) 编辑
摘要: problem:can't start anaconda-mode server package-install anaconda pip install -t .emacs.d/anaconda-mode/0.1.8/ anaconda_mode 阅读全文
posted @ 2017-04-22 15:39 voh99800 阅读(457) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-09-26 22:50 voh99800 阅读(6) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-08-02 18:06 voh99800 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 这个简单错误居然查到了报错E437: terminal capability "cm" required执行:# export TERM=xterm 阅读全文
posted @ 2015-07-20 17:44 voh99800 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 怎么可以这么全,哈哈from http://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.html实用命令实例默认启动tcpdump普通情况下,直接启动tcpdump将监视第一个网络接口上所有流过的数据包。监视指定网络接口的数据包tcpdu... 阅读全文
posted @ 2015-05-28 20:05 voh99800 阅读(190) 评论(0) 推荐(0) 编辑
摘要: from http://www.it165.net/admin/html/201312/2182.htmlDNS(Domain Name System域名系统)区域化管理分布式层次性域名空间结构1.根域(root)2.顶级域组织域国家或地区域3.二级域4.主机名FQDN(full qualified... 阅读全文
posted @ 2015-05-27 20:52 voh99800 阅读(1535) 评论(0) 推荐(0) 编辑
摘要: 1,磁盘online及介质保护Windows server 2008 增加的磁盘无法初始化-提示:介质受写入保护。插了下相关说明,在VMware的帖子找到了解决办法:开始-运行,cmd。打开命令提示符。要运行 Diskpart 实用程序,请运行以下命令:diskpart要获取有关每个磁盘的摘要信息,... 阅读全文
posted @ 2015-05-27 20:40 voh99800 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1,set proxy 10.100.1.76 :8888httpc:set_options([{proxy,{{"10.100.1.76",8888},[]}}]).2,set cookie enabled> httpc:set_options([{cookies,enabled}]). ok3,... 阅读全文
posted @ 2015-04-29 12:31 voh99800 阅读(1918) 评论(0) 推荐(0) 编辑
摘要: 一晚上终于找到对的东西,作者很专业,这里作为笔记,想学习好东西还是到作者那里^_^-----------------------------------------------------------背景发现使用Fiddler进行抓包时有一部分请求总是没抓到,查看了一下源代码,发现使用WinINET... 阅读全文
posted @ 2015-03-26 00:07 voh99800 阅读(314) 评论(0) 推荐(0) 编辑