2020年4月21日
摘要: f 阅读全文
posted @ 2020-04-21 22:21 yeahle 阅读(9051) 评论(0) 推荐(0)
  2020年4月19日
摘要: 例1,根据文件属性查找: find . -type f -name "*config*" ! -path "./tmp/*" ! -path "./scripts/*" ! -path "./node_modules/*" Explanation: find . - Start find from 阅读全文
posted @ 2020-04-19 20:24 yeahle 阅读(5020) 评论(0) 推荐(0)
  2020年4月8日
摘要: 在设置mysql开机启动时,出现了“Failed to enable unit: Refusing to operate on linked unit file mysql.service”,那么需要检测以下mysql是否设置过了开机启动, 方法为: sudo systemctl is-enable 阅读全文
posted @ 2020-04-08 07:43 yeahle 阅读(7640) 评论(1) 推荐(0)
  2020年4月6日
摘要: 需求 在树莓派上 安装Mysql 服务,并开启远程访问 步骤 安装 mysql server $ sudo apt-get install mysql-server 我以为中间会让我提示输入 数据库root的密码,没想到一帆风顺,直接完成,我要疯了,密码到底是什么了。通过搜索发现,可以使用如下命令, 阅读全文
posted @ 2020-04-06 17:26 yeahle 阅读(163) 评论(0) 推荐(0)
摘要: ########################################################### # # MAKEFILE FOR C/C++ PROJECT # Author: swm8023 <swm8023@gmail.com> # Date: 2014/01/30 # 阅读全文
posted @ 2020-04-06 09:16 yeahle 阅读(474) 评论(0) 推荐(0)
摘要: 1、 subst函数 格式:$(subst <from>, <to>, <text>)功能:把字串<text>中的<from>字符串替换成<to>返回:函数返回被替换过后的字符串。 示例: $(subst a,the,There is a big tree) 把“There is a big tre 阅读全文
posted @ 2020-04-06 08:06 yeahle 阅读(252) 评论(0) 推荐(0)
  2020年4月5日
摘要: 源码安装 cmake . make sudo make install 阅读全文
posted @ 2020-04-05 16:15 yeahle 阅读(1017) 评论(0) 推荐(0)
  2020年3月24日
摘要: sudo route add default gw 192.168.43.1 wlan0 sudo route del default gw 192.168.43.1 wlan0 阅读全文
posted @ 2020-03-24 07:26 yeahle 阅读(7171) 评论(0) 推荐(0)
  2020年3月16日
摘要: hpp,其实质是将.cpp的实现代码混入.h头文件当中,定义与实现都包含在同一文件,则该类的调用者只需要include该hpp文件即可,无需再将cpp加入到project中进行编译。而实现代码将直接编译到调用者的obj文件中,不再生成单独的obj,采用hpp将大幅度减小project中的cpp文件数 阅读全文
posted @ 2020-03-16 07:33 yeahle 阅读(389) 评论(0) 推荐(0)
  2020年3月14日
摘要: 关闭开机启动 systemctl disable vmware-USBArbitrator.service systemctl disable vmware.service systemctl disable vmware-workstation-server.service systemctl d 阅读全文
posted @ 2020-03-14 07:48 yeahle 阅读(4481) 评论(0) 推荐(0)