会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
juejiang
分享,学习
博客园
首页
新随笔
联系
管理
订阅
2019年7月15日
mac 下enable mysql的load data in file
摘要: 1)使用root用户登录mysql 2)将 local_infile 变量设置为true 3)重启数据库
阅读全文
posted @ 2019-07-15 04:17 juejiang
阅读(295)
评论(0)
推荐(0)
2018年2月21日
mininet invalid literal for int() with base 10: 'cpu.cfs_period_us:'
摘要: 问题产生原因:内核编译时没有加入 CONFIG_CFS_BANDWIDTH 选项 http://www.haifux.org/lectures/299/netLec7.pdf https://mailman.stanford.edu/pipermail/mininet-discuss/2013-Ma
阅读全文
posted @ 2018-02-21 09:35 juejiang
阅读(421)
评论(0)
推荐(0)
2017年12月25日
ubuntu 16.04 kdump 使用
摘要: 1.安装linux-crashdump及kdump sudo apt-get install linux-crashdump sudo apt-get install kexec-tool 2.重启电脑 3.下载dbgsym 在图形界面选择一个源 或者添加如下的源 4.测试crash产生 echo
阅读全文
posted @ 2017-12-25 19:00 juejiang
阅读(1847)
评论(1)
推荐(0)
2017年10月5日
mininet *** Error: RTNETLINK answers: No such file or directory 问题及解决方法
摘要: 一、问题 按照mininet官网中从源码安装步骤进行安装后,运行命令sudo mn --link tc,bw=10,提示说*** Error: RTNETLINK answers: No such file or directory。 二、原因分析及解决办法 和mininet使用tc建立和修改接口属
阅读全文
posted @ 2017-10-05 21:15 juejiang
阅读(5587)
评论(0)
推荐(0)
2017年9月22日
ubuntu修改用户名并修改home对应的目录名
摘要: 1.新建一个新的用户user2 2.从user1 logout。进入新建用户user2,修改user1的名字和home目录名 sudo usermod -l new_username -d /home/new_username -m user1 3.从user2中logout,进入user1(new
阅读全文
posted @ 2017-09-22 19:54 juejiang
阅读(4774)
评论(0)
推荐(0)
2017年7月14日
c++ int转string类型
摘要: std::string int2string(int input){ std::ostringstream ss; //clear string //ss.str(""); //ss.clear(); ss<<input; return ss.str(); } c++ - How to clear
阅读全文
posted @ 2017-07-14 14:30 juejiang
阅读(356)
评论(0)
推荐(0)
2017年7月1日
HTTTP及TCP的超时以及KEEP-ALIVE机制小结
摘要: 一、HTTP的超时和Keep Alive HTTP Keepalive 机制是http 1.1中增加的一个功能。 在HTTP 1.0中,客户端每发起一个http 请求,等收到接收方的应答之后就断开TCP。下一个请求再需要发送时,要重新建立TCP连接。 在HTTP 1.1中,客户端每发起一个http请
阅读全文
posted @ 2017-07-01 14:43 juejiang
阅读(3975)
评论(0)
推荐(0)
2017年6月12日
python netifaces usage
摘要: 1. install python dev sudo apt-get install python-dev 2.download src code and install https://pypi.python.org/pypi/netifaces/ 2.get ip,mac,netmask,gat
阅读全文
posted @ 2017-06-12 19:17 juejiang
阅读(558)
评论(0)
推荐(0)
2017年5月21日
git merge以及比较两个repo
摘要: 一、需求 1)有两个相关的branch github下载的repo有master和work两个分支,由于远端已经更新,master分支落后于远端分支,work分支又有新的更新内容,需要将远端master分支的更新pull下来,并且和work分支进行合并。 二、操作步骤 1)有两个相关的branch
阅读全文
posted @ 2017-05-21 23:13 juejiang
阅读(1063)
评论(0)
推荐(0)
2017年5月20日
使用doxygen静态分析开源代码
摘要: doxygen是一款生成开源代码说明文件的工具,因为不需要编译源码,用作代码的分析也十分方便。 一、安装 二、使用 示例:简单的代码调用关系的分析 代码见用 Graphviz+pvtrace 可视化函数调用 - fengbohello - 博客园 1.运行doxywizard出现doxygen的gu
阅读全文
posted @ 2017-05-20 22:36 juejiang
阅读(836)
评论(0)
推荐(0)
下一页
公告