会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
pangkr
博客园
首页
新随笔
联系
管理
订阅
2021年9月23日
【解决方案】麒麟v10,更新yum源
摘要: 备份之前的数据:#cp -r /etc/yum.repos.d/ /etc/yum.repos.d.bak 清空之前数据:#cd /etc/yum.repos.d & rm -f * #vi kylin_aarch64.repo ###Kylin Linux Advanced Server 10 -
阅读全文
posted @ 2021-09-23 11:51 pangkr
阅读(8171)
评论(0)
推荐(0)
2020年12月3日
【解决方案】github图片加载不出来
摘要: C:\Windows\System32\drivers\etc文件夹下hosts文件,追加: # GitHub Start 192.30.253.112 Build software better, together 192.30.253.119 gist.github.com151.101.184
阅读全文
posted @ 2020-12-03 10:43 pangkr
阅读(507)
评论(1)
推荐(0)
2020年5月19日
linux c程序高cpu,排查记录
摘要: 文件加载至sqlite3数据库,单线程 单核或多核机器,某个cpu都会被压满。 排查过程: perf top -p 【PID】 -g --实时查看当前系统进程函数占用率情况 cpu 全消耗在strlen了 pstack (没有pstack命令的化,安装gdb就成,yum -y install gdb
阅读全文
posted @ 2020-05-19 14:06 pangkr
阅读(431)
评论(0)
推荐(0)
2020年5月14日
Linux:获取当前进程的执行文件的绝对路径
摘要: from:https://www.cnblogs.com/ddk3000/p/5051111.html 摘要:本文介绍Linux的应用程序和内核模块获取当前进程执行文件绝对路径的实现方法。 注意:使用此方法时,如果执行一个指向执行文件的链接文件,则获得的不是链接文件的绝对路径,而是执行文件的绝对路径
阅读全文
posted @ 2020-05-14 15:08 pangkr
阅读(1205)
评论(0)
推荐(0)
2020年5月8日
ssh登陆很慢
摘要: from:https://www.cnblogs.com/hanframe/p/10048935.html
阅读全文
posted @ 2020-05-08 17:24 pangkr
阅读(89)
评论(0)
推荐(0)
2020年5月7日
vs2015多行注释
摘要: 注释: 先CTRL+K,然后CTRL+C取消注释: 先CTRL+K,然后CTRL+U from:https://blog.csdn.net/sinat_27456831/article/details/50808056
阅读全文
posted @ 2020-05-07 14:32 pangkr
阅读(399)
评论(0)
推荐(0)
2020年5月6日
在word中插入代码块
摘要: 1.打开http://www.planetb.ca/syntax-highlight-word网站 2.将你的代码复制进去,选择编译语言,点击“Show Highlighted” 3.复制格式化后的代码 4.直接在word中粘贴代码就可以了。 from:https://blog.csdn.net/d
阅读全文
posted @ 2020-05-06 23:01 pangkr
阅读(1296)
评论(0)
推荐(0)
2020年3月20日
【解决方案】git clone报错:(gnome-ssh-askpass:24859): Gtk-WARNING **: cannot open display:
摘要: CentOS release 6.10 (Final) 解决方案: 输入命令,临时生效:unset SSH_ASKPASS 修改配置,永久生效: 1.vi ~/.bash_profile 2.添加 export GIT_ASKPASS= 3.使生效:. ~/.bash_profile
阅读全文
posted @ 2020-03-20 17:15 pangkr
阅读(1149)
评论(0)
推荐(1)
2020年3月2日
【DOS命令积累】开发中所设计的dos命令
摘要: windows账户信息: windows c获取账户信息api:NetUserEnum (官网https://docs.microsoft.com/zh-cn/windows/win32/api/lmaccess/nf-lmaccess-netuserenum) net user命令: net us
阅读全文
posted @ 2020-03-02 17:01 pangkr
阅读(200)
评论(0)
推荐(0)
2019年12月30日
【小知识】linux各种工具安装
摘要: 安装killall: yum -y install psmisc
阅读全文
posted @ 2019-12-30 13:59 pangkr
阅读(123)
评论(0)
推荐(0)
下一页
公告