sudo nano /etc/asound.conf#设置声卡1为默认, 则写入以下内容 defaults.ctl.card 1 defaults.pcm.card 1 defaults.timer.card 1 Read More
Unable to open serial port /dev/ttyUSB0 权限不够 解决办法: 通过增加udev规则来实现。步骤如下:创建文件/etc/udev/rules.d/70-ttyusb.rules在文件内增加一行KERNEL=="ttyUSB[0-9]*", MODE="0666" Read More
git log --author="$(git config --get user.name)" --pretty=tformat: --numstat -- src | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf " Read More
cmd > out.file 2>&1 & Read More
form2.Parent:=pnl1; form2.Align:=alClient; form2.Show; Read More
ssh-keygen -t rsa -C "youremail@example.com" Read More
在 User Settings 里加入下边这段: "channels": [ "http://cst.stu.126.net/u/json/cms/channel_v3.json", ], Read More
source /etc/profile Read More