sudo nano /etc/asound.conf#设置声卡1为默认, 则写入以下内容 defaults.ctl.card 1 defaults.pcm.card 1 defaults.timer.card 1 Read More
posted @ 2019-10-07 13:20 kekemuyu Views(989) Comments(0) Diggs(0) Edit
Unable to open serial port /dev/ttyUSB0 权限不够 解决办法: 通过增加udev规则来实现。步骤如下:创建文件/etc/udev/rules.d/70-ttyusb.rules在文件内增加一行KERNEL=="ttyUSB[0-9]*", MODE="0666" Read More
posted @ 2019-10-04 16:27 kekemuyu Views(740) Comments(0) Diggs(0) Edit
git log --author="$(git config --get user.name)" --pretty=tformat: --numstat -- src | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf " Read More
posted @ 2019-08-05 16:50 kekemuyu Views(432) Comments(0) Diggs(0) Edit
cmd > out.file 2>&1 & Read More
posted @ 2019-05-21 02:46 kekemuyu Views(136) Comments(0) Diggs(0) Edit
form2.Parent:=pnl1; form2.Align:=alClient; form2.Show; Read More
posted @ 2019-05-16 16:09 kekemuyu Views(221) Comments(0) Diggs(0) Edit
ssh-keygen -t rsa -C "youremail@example.com" Read More
posted @ 2019-05-07 21:15 kekemuyu Views(456) Comments(0) Diggs(0) Edit
在 User Settings 里加入下边这段: "channels": [ "http://cst.stu.126.net/u/json/cms/channel_v3.json", ], Read More
posted @ 2019-05-02 11:43 kekemuyu Views(510) Comments(0) Diggs(0) Edit
source /etc/profile Read More
posted @ 2019-05-01 14:31 kekemuyu Views(538) Comments(0) Diggs(0) Edit
docker run -p 9200:9200 -e "discovery.type=single-node" elasticsearch:7.0.0 Read More
posted @ 2019-04-24 23:17 kekemuyu Views(1987) Comments(0) Diggs(0) Edit
https://www.daocloud.io/mirror curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io Read More
posted @ 2019-04-24 16:01 kekemuyu Views(665) Comments(0) Diggs(0) Edit