camelCase=echo $kebabCase | perl -ne 'print s/[-]([a-z])/\u$1/gr' | perl -ne 'print s/^([a-z])/\u$1/gr'
[......]
Shell连字符字符串转驼峰命名
Leave a reply
camelCase=echo $kebabCase | perl -ne 'print s/[-]([a-z])/\u$1/gr' | perl -ne 'print s/^([a-z])/\u$1/gr'
[......]
转载自:
http://www.linuxdiyf.com/linux/21351.html
Consolas 字体用来写代码真的是非常舒服,可惜 ubuntu 系统中默认并没有这个字体,我们需要自己下载安装,本文就介绍了如何自己手动下载并安装如上字体。先来看一下vim下使用 Consolas 字体的效果图吧。
YaHeiConsolas.tar:http://www.mycode.net.cn/wp-content/uploads/2015/07/Ya[......]
转载自:http://www.linuxdiyf.com/linux/28101.html
因为无线鼠标是无法设置速度的,需要通过命令行来搞定
xset m 2
xset m default
[......]
sudo apt update && sudo apt install gnome-session-flashback[......]