自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(35)
  • 资源 (73)
  • 收藏
  • 关注

原创 Ubuntu 21.04取消鼠标移动即选中窗体功能

1/ 启动Tweaks -> Actitites -> Tweaks2/ 在启动后的Tweaks窗体中,选择 Click to Focus -> Tweaks -> Windows -> Window Focus -> Click to Focus...

2021-07-04 11:37:46 295

原创 Failed to start XMind 8 on Ubuntu1804

# vim XMind.ini to editXMind.iniand add these lines belowto the top:-vm/usr/lib/jvm/java-8-openjdk-amd64/bin

2020-04-05 20:36:48 299

转载 socat 使用

转原文链接: http://www.wenquan.name/?p=1158用socat试几个netcat常用的用法,对比如下:1. 听tcp 12345端口# nc -l 127.0.0.1 12345# socat tcp-listen:12345 -2. 向远处tcp 12345端口发点字# echo “test” | nc 127.0.0.1 12345# echo “t...

2019-03-15 03:40:10 1210

原创 centos 编译gdb发生错误 missing: line 81: makeinfo: command not found

问题: missing: line 81: makeinfo: command not found方法:sudo yum -y install texinfo编译过程:wget http://ftp.gnu.org/gnu/gdb/gdb-8.2.tar.gztar xvf gdb-8.2.tar.gzcd gdb-8.2./configure --with-pyth...

2019-03-14 01:44:21 7495

原创 安装pgAdmin4 AttributeError: 'module' object has no attribute 'GSSException'

出现问题:File "/usr/lib/python2.7/site-packages/paramiko/ssh_gss.py", line 55, in <module>GSS_EXCEPTIONS = (gssapi.GSSException,)AttributeError: 'module' object has no attribute 'GSSException'...

2019-03-09 11:56:02 1966 1

原创 kscope: cannot connect to X server

解决方法:su - rootxhost local:rootsudo DISPLAY=$DISPLAY gedit /etc/profileexitkscope

2019-03-03 21:36:18 456

转载 How to Install Visual Studio Code on CentOS 7

sudo rpm --import https://packages.microsoft.com/keys/microsoft.ascsudo vim /etc/yum.repos.d/vscode.repo[code]name=Visual Studio Codebaseurl=https://packages.microsoft.com/yumrepos/vscodeenabl...

2019-03-03 21:30:44 294

转载 GUN/linux(ubuntu)下修改电池充电阈值

原文地址:Thinkpad在GUN/linux(ubuntu)下修改电池充电阈值作者:星海拾贝者详见 http://www.thinkwiki.org/wiki/Tp_smapiref:https://www.2daygeek.com/check-laptop-battery-status-and-charging-state-in-linux-terminal/ 设置电池...

2019-03-02 16:07:39 3654 1

转载 ubuntu 1604源码安装postgresql11.1

# << A Tour of PostgreSQL Internals >># 下载postgresql11.1wget  https://ftp.postgresql.org/pub/source/v11.1/postgresql-11.1.tar.gz# 源码安装 tar zxvf postgresql-11.1.tar.gzmv postgresql-11....

2019-02-26 21:14:26 481

转载 ubuntu 16.04禁止开机自启动

1) sudo sysv-rc-conf2)systemctlsystemctl is-enabled servicename.service #查询服务是否开机启动systemctl enable *.service #开机运行服务systemctl disable *.service #取消开机运行systemctl start *.service #启动服务systemctl...

2019-02-26 21:10:40 2975

转载 命令sed替换文本

文本格式为 key=value用sed替换例如:mode=LOW(mode不一定为等于LOW),要替换成mode=HIGH可以用 sed -i "s/mode=\S*/\1HIGH/" test.conf-i 直接修改文件将不变的部分放入带反斜杠的一对括号 \(  \) 中并在替换时用 \1 引用。\S用于匹配除单个空格符之外的所有字符。原文:https://blog....

2019-02-13 16:14:24 538

转载 gdb scripting

Let's get started...The GDB configuration file is located in the user's home directory: ${HOME}/.gdbinit. When GDB starts, it sources this file -- if it exists -- meaning that it evaluates al...

2018-11-15 16:07:39 145

原创 gdb调试python

ref:https://blog.csdn.net/liangzhao_jay/article/details/47807183环境构建:Fedora:    #sudo yum install gdb python-debuginfoubuntu:    #sudo apt-get install gdb python3.5-dbg使用gdb:    #gdb python  ...

2018-08-28 11:43:47 2018

原创 ubuntu 1604安装pycharm

#sudo apt-get install python3#sudo apt-get install python3-pip#sudo snap install pycharm-community --classic若安装专业版#sudo snap install pycharm-professional --classic

2018-08-28 09:21:16 589

原创 串口minicom使用

ref: https://blog.csdn.net/huang_jinjin/article/details/74751881) 识别串口# ls /dev/ttyUSB* 2) 使用串口# sudo minicom s13) 设置串口#sudo minicom -s 

2018-08-27 14:41:08 225

转载 条件变量唤醒图

ref:https://segmentfault.com/q/1010000010421523/a-1020000010457503

2018-08-22 19:24:55 312

转载 EOS实际操作

参考:  https://bihu.com/article/179190ref:   https://www.jianshu.com/p/3f18aa973f7cref:  http://www.cnblogs.com/think8848/p/9215439.html 准备构建环境 依赖包与工具#sudo apt-get install clang-4.0 lldb-4.0 ...

2018-08-19 12:43:07 357

原创 ubuntu1604 lua读取json文件

创建环境#sudo aptitude install lua-cjson实现1)实现test.json{ "str":"hello world", "configs":[{ "user":"ubuntu", "password":"123456", "ip":".

2018-08-18 16:43:33 1838

转载 Git 基础 - 撤消操作

ref: https://git-scm.com/book/zh/v1/Git-%E5%9F%BA%E7%A1%80-%E6%92%A4%E6%B6%88%E6%93%8D%E4%BD%9CGit 基础 - 撤消操作撤消操作任何时候,你都有可能需要撤消刚才所做的某些操作。接下来,我们会介绍一些基本的撤消操作相关的命令。请注意,有些撤销操作是不可逆的,所以请务必谨慎小心,一旦失误,就有可...

2018-08-16 15:48:38 125

原创 warning: project ‘repo‘ branch ‘master‘ is not signed -- ubuntu1604

问题:warning: project 'repo' branch 'master' is not signedwarning: Skipped upgrade to unverified version假设工作目录为:/work/code#rm .repo -rf#rm * -rf#sudo apt-ge install gpgv2#repo init -u gi...

2018-08-16 15:12:37 6439 1

转载 How to push only one commit with Git

ref:  http://blog.dennisrobinson.name/push-only-one-commit-with-git/The other day at work I needed to push only one commit out of several I had made locally to the remote server, for a release build...

2018-08-16 11:10:27 229

原创 linux查看当前系统线程运行时间与耗时等

1)查看线程情况:#ps -T -A -o pid,ppid,pgid,etime,nice,rgroup,ruser,time,vsz,rss,args2)查看进程情况:#ps -A -o pid,ppid,pgid,etime,nice,rgroup,ruser,time,vsz,rss,args

2018-08-10 10:31:46 6646

原创 lua使用zmq和bson实现跨进程通信

下载bson-lua到本地https://github.com/tcoram/bson-lua参考:http://zeromq.org/bindings:luasudo apt-get install luasudo apt-get install luarockssudo luarocks install lzmqsudo luarocks install lua-llthreads2...

2018-08-09 19:36:50 1198

原创 python使用zeromq实现多进程简单poll复用

参考:https://learning-0mq-with-pyzmq.readthedocs.io/en/latest/pyzmq/multisocket/zmqpoller.html实现zmqpolling.py.pyimport zmqimport timeimport sysimport randomfrom multiprocessing import Process...

2018-08-08 20:59:47 1404

原创 python使用zeromq多进程简单交互

参考:https://learning-0mq-with-pyzmq.readthedocs.io/en/latest/pyzmq/multiprocess/multiprocess.html#实现request_reply_processes.pyimport zmqimport timeimport sysfrom multiprocessing import Process...

2018-08-08 20:46:04 1268

原创 lua使用zeromq实现 rep/req

参考:http://zeromq.org/bindings:lua安装环境sudo apt-get install luasudo apt-get install luarockssudo luarocks install lzmqsudo luarocks install lua-llthreads21) 实现rep.lua--require "zhelpers"local...

2018-08-08 20:37:40 476

转载 linux 高级测试性能工具

转自: http://blog.chinaunix.net/uid-28744904-id-5787513.html出于对Linux操作系统的兴趣,以及对底层知识的强烈欲望,因此整理了这篇文章。本文也可以作为检验基础知识的指标,另外文章涵盖了一个系统的方方面面。如果没有完善的计算机系统知识,网络知识和操作系统知识,文档中的工具,是不可能完全掌握的,另外对系统性能分析和优化是一个长期的系列。 ...

2018-08-08 19:18:51 7956

原创 zeromq4.2.3内存部分堆栈

回调zmq_free_fn堆栈#0  zmq_free_fn (data=0x1d64f610, hint=0x404538) at ×.cpp:742#1  0x0000007f954a77f8 in zmq::msg_t::close (this=0x1d2372b0) at src/msg.cpp:237#2  0x0000007f954d38e0 in zmq::encoder_ba...

2018-08-08 12:01:16 702

原创 zeromq4.2.3发送堆栈

主线程发送堆栈1:#0  zmq::mailbox_t::send (this=0x3a439b90, cmd_=...) at src/mailbox.cpp:62#1  0x0000007f97d01de4 in send_command (cmd_=..., this=<optimized out>) at src/object.cpp:474#2  zmq::object...

2018-08-08 10:48:58 412

转载 zeromq架构图--网络取得

引用: http://www.cnblogs.com/zengzy/p/5122634.html  #0  push (this=<optimized out>) at src/yqueue.hpp:113#1  write (incomplete_=false, value_=..., this=0x42ca88) at src/ypipe.hpp:86...

2018-08-07 20:27:34 1155

原创 linux测试网络带宽 iftop nload bmon iptraf

#sudo apt-get intall iftop#sudo apt-get intall nload#sudo apt-get intall bmon#sudo apt-get intall iptraf记忆:nethogs: 按进程查看流量占用iptraf: 按连接/端口查看流量ifstat: 按设备查看流量ethtool: 诊断工具tcpdump: 抓包...

2018-08-06 21:16:57 221

原创 AttributeError: module 'bson' has no attribute 'encode_document'

解决方法:#pip3 uninstall bson#pip3 install pymongo --user

2018-08-04 16:40:04 2139

原创 python3 安装bson 出现 Could not install packages due to an EnvironmentError: [Errno 13] 权限不够

#pip3 install bsonCould not install packages due to an EnvironmentError: [Errno 13] 权限不够: '/usr/local/lib/python3.5/dist-packages/dateutil解决方法:(能够解决的原因未知,方法如下)#pip3 install bson --user...

2018-08-04 15:44:55 3523 1

原创 makefile多条件写法

TARGET_ARCH ?= x86ifeq ($(TARGET_ARCH), arm)    LOCAL_SRC_FILES += ...else ifeq ($(TARGET_ARCH), x86)    LOCAL_SRC_FILES += ...else ifeq ($(TARGET_ARCH), mips)    LOCAL_SRC_FILES += ...else  ...

2018-08-02 17:25:34 1885 1

原创 opencv学习示例网站--Features2D+Homography查找已知对象

代码源自:https://www.w3cschool.cn/opencv/opencv-t1v62e9p.htmlhttps://www.w3cschool.cn/opencv/opencv-2gnx28u3.html #include <stdio.h>#include <iostream>#include "opencv2/core.hpp"#i...

2018-07-20 15:22:19 268

C++网络编程卷1和卷2.rar

C++网络编程卷1和卷2.rar ace的解读与使用

2013-06-04

高级编译器设计与实现.pdf

高级编译器设计与实现.pdf 编译界的经典著作

2013-06-04

Windows+WDM设备驱动程序开发指南.pdf

Windows+WDM设备驱动程序开发指南.pdf

2013-06-04

面向模式的软件体系结构卷3.pdf

面向模式的软件体系结构卷3.pdf 资源管理

2013-06-04

面向模式的软件体系结构 卷2-用于并发和网络化对象模式.pdf

面向模式的软件体系结构 卷2-用于并发和网络化对象模式.pdf

2013-06-04

企业集成模式.设计、构建及部署消息传递解决方案.pdf

企业集成模式.设计、构建及部署消息传递解决方案.pdf 消息中间件理想参考资料

2013-06-04

加密与解密 (第三版).pdf

加密与解密 (第三版) 看雪安全技术团队全力支持,提示软件加密与解密最核心

2013-06-04

unix网络编程和unix环境高级编程.zip

unix网络编程两卷和unix环境高级编程,中文版

2013-06-04

C+++设计新思维:泛型编程与设计模式之应用.pdf

C+++设计新思维:泛型编程与设计模式之应用 mcd 重量级

2013-06-04

cfront_Release 1.0.

cfront_Release 1.0 bj C++编译器第一版release

2013-06-04

C++标准-ISO_IEC_14882-v2011.pdf

C++标准-ISO_IEC_14882-v2011.pdf c++ std

2013-05-16

C++ Templates中文版

C++ Templates中文版.pdf C++ GP编程精品

2013-05-16

Boost程序库完全开发指南

Boost程序库完全开发指南.pdf Boost 1.43

2013-05-16

Functional Programming in C++

Functional Programming in C++

2013-05-06

数据模型资源手册 卷1_2 英文版

数据模型资源手册 the data model resource book, 卷1 卷2英文版,行业数据模型设计的理想参考书.

2013-05-03

ndis WinHec 2003.doc

Windows Platform Design Notes

2013-04-08

可变目标C编译器——设计与实现.pdf

可变目标C编译器——设计与实现.pdf 最好配合lcc编译器源代码查看阅读

2013-03-04

lcc 可变目标C编译器源码

lcc编译器源代码, 可变目标C编译器书籍应用

2013-02-21

the implementation of lua 5p0

the implementation of lua 5.0

2013-02-16

crashMe and exception handler

crashMe and exception handler, create minidump in windown

2013-01-24

实用Common.Lisp编程 .pdf

实用Common.Lisp编程 .pdf 如有侵权行为,请与原作者联系。请勿侵权

2014-05-29

计算机体系结构—量化研究方法

计算机体系结构—量化研究方法(第5版).pdf 观后即焚,请误侵权

2014-05-13

数据库系统基础教程

数据库系统基础教程 Jeffrey.D.Ullman.中文扫描版

2014-04-21

Imperfect C++.part2

Imperfect C++.part2 中文版,原书作者版权所有,请勿侵权

2014-01-14

Imperfect C++.part1

Imperfect C++.part1 中文版,原书作者版权所有,请勿侵权

2014-01-14

C++程序设计语言(特别版)]

[C++程序设计语言(特别版)].pdf BJ特别版经典著作

2013-12-17

Object-Oriented Programming With ANSI-C

Object-Oriented Programming With ANSI-C 另类C编程

2013-12-11

现代编译原理-c语言描述.pdf

现代编译原理-c语言描述.pdf 经典编译原理

2013-12-04

观止__微软创建NT和未来的夺命狂奔.pdf

观止__微软创建NT和未来的夺命狂奔.pdf

2013-12-04

libevent.pdf

libevent.pdf 国人源码分析的libevent,学习用

2013-10-25

rippled-develop

codes from: https://github.com/ripple/rippled/

2013-09-29

寒江独钓-Windows内核安全编程(清晰完整版).part3.rar

寒江独钓-Windows内核安全编程(清晰完整版).part3.rar 第三部分。如有侵权行为,请联系原作者。

2013-09-24

寒江独钓-Windows内核安全编程(清晰完整版).part2

寒江独钓-Windows内核安全编程(清晰完整版).part2 如有侵权行为,请联系原作者。

2013-09-24

寒江独钓-Windows内核安全编程(清晰完整版).part1

寒江独钓-Windows内核安全编程(清晰完整版).part1 文件较大,分三部分。如有侵权行为,请联系原作者.

2013-09-24

Windows内核原理与实现.part3

Windows内核原理与实现.part3 如有侵权行为,请联系原作者

2013-09-24

Windows内核原理与实现.part2

Windows内核原理与实现.part2 第二部分,如有侵权行为,请联系原作者。

2013-09-24

Windows内核原理与实现

Windows内核原理与实现 第一部分,文件较大,分三部分

2013-09-24

老码识途-从机器码到框架的系统观逆向修炼之路

老码识途-从机器码到框架的系统观逆向修炼之路,如有侵权行为,请联系原作者。

2013-09-22

nginx vs2005

nginx 1.14.17 vs2005 compile

2013-08-27

Perl参考大全_第二版_中文版.pdf

Perl参考大全_第二版_中文版.pdf

2013-07-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除