日志
日志
In_Sun
求知若饥,虚心若愚
展开
-
Docker网络代理配置
Docker网络代理配置创建目录mkdir /etc/systemd/system/docker.service.d创建http-proxy.conf文件,增加以下内容cat > /etc/systemd/system/docker.service.d/http-proxy.conf <<EOF[Service]Environment="HTTP_PROXY=http://192.168.100.101:8118"Environment="HTTPS_PROXY=http:原创 2022-04-13 11:52:13 · 1027 阅读 · 0 评论 -
C&CPP关键字
restrict// 英文释义// vt. 限制;约束;限定// restrict是c99标准引入的,它只可以用于限定和约束指针,并表明指针是访问一个数据对象的唯一且初始的方式.即它告诉编译器,所有修改该指针所指向内存中// 内容的操作都必须通过该指针来修改,而不能通过其它途径(其它变量或指针)来修改;这样做的好处是,能帮助编译器进行更好的优化代码,生成更有效率的汇编代码.int* restrict pVar;// 1. 它告诉编译器可以自由地做一些有关优化的假定。// 2. 告诉用户原创 2020-09-11 16:15:43 · 203 阅读 · 0 评论 -
Jupyter Notebook 快捷键
命令模式(蓝色框) — 在cell的上面(a)或者下面(b)创建新的cell — 用上下箭头可以上下浏览 — 将cell类型切换到Markdown(m)或代码(y)模式 — h:键盘快捷键帮助 — Enter:切换到编辑模式编辑模式(绿色框) — Ctrl + Enter:运...原创 2019-02-28 10:58:01 · 150 阅读 · 0 评论 -
Ubuntu 上寻找依赖库(.so)的方法
# Installapt-get updateapt-get install apt-file# Update apt-fileapt-file updateapt-file search libSM.so.6# 根据提示安装依赖库apt-get install libsm6原创 2019-09-04 10:27:43 · 2448 阅读 · 0 评论 -
基于docker - 单机版FastDFS搭建
基于docker - 单机版FastDFS搭建###### 安装单机版 ####### make docker containerdocker run -it -P -v /home/insun/:/insun/:rw --name single-fastdfs-test -h single-fastdfs ubuntu:18.04 bash# aptapt-get install ...原创 2019-12-31 16:27:57 · 338 阅读 · 1 评论 -
Hi3559AV100开发环境搭建
串口连接下载串口连接工具Windows: 超级终端 、xshell 、SecureCRTLinux: minicomWindows 下 Xshell 设置a. 新建串口会话b. 设置串口属性设置网络环境# 步骤 1. 设置网络ifconfig eth0 hw ether 00:10:67:20:81:70ifconfig eth0 192.168.100.159 netmask 255.255.255.0route add default gw 192.168.100.1#原创 2020-08-27 11:39:14 · 842 阅读 · 0 评论 -
Ubuntu 18.04 - 启动时停留在 start bpfilter
ubuntu 18.04 启动时停留在 “start bpfilter”问题描述:系统由于未知原因自动关机,开机后发现无法开机,启动一直停留在"start bpfilter"。猜测是由于意外断电或者系统自动更新导致的。解决过程:a. 网上查阅了相关的记录,发现有相关的问题,最相关的应该是属于以下记录。https://bugs.launchpad.net/ubuntu/+source/mut...原创 2020-03-19 10:26:42 · 2147 阅读 · 0 评论 -
QT - Could not load the Qt platform plugin "xcb" in "" even though it was found.
qt 安装后启动失败问题描述:qt正常安装,启动时报错qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.解决过程:a. 查阅qt论坛:https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-...原创 2020-03-19 10:25:24 · 5004 阅读 · 0 评论 -
OpenCV 编译 - Unable to locate package libjasper-dev
opencv编译安装问题描述:Unable to locate package libjasper-deva. apt-get install software-properties-commonb. add-apt-repository “deb http://security.ubuntu.com/ubuntu xenial-security main”c. apt install l...原创 2020-03-19 10:23:52 · 657 阅读 · 0 评论 -
Matlab - VideoReader Error: Unable to initialize the video properties
Matlab - VideoReader Error: Unable to initialize the video properties问题描述:VideoReader Error: Unable to initialize the video properties环境:ubuntu18.04, matlab 2019a解决过程:a. 查询得知是由于缺少gstreamer导致的,很多博客...原创 2020-03-19 10:20:41 · 834 阅读 · 2 评论