linux command
- install .deb
dpkg -i xxxx.deb
- .desktop 快捷方式
/usr/share/aplications
- pip change source list
pip install
- 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
- 阿里云 http://mirrors.aliyun.com/pypi/simple/
- 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
- 豆瓣(douban) http://pypi.douban.com/simple/
-
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
-
add chinese input method
-
ibus: sudo ibus-setup
-
fctix:
- https://www.cnblogs.com/voyagee/p/6898054.html
-
ubuntu & shadowsocks
-
command line: sslocal -c /etc/shadowsocks/config.json
-
open chrome with proxy: google-chrome --proxy-server="socks5://127.0.0.1:1080"
-
gui: https://github.com/shadowsocks/shadowsocks-qt5/releases
-
ss+chrome
-
sslocal -c /etc/shadowsocks/config.json
-
google-chrome-stable --proxy-server="socks5://127.0.0.1:1080"
-
cannot connect wifi
-
update kernel from 4.4 to 4.13
-
git 下载速度
-
配置socks代理:
git config --global https.proxy 'socks5://127.0.0.1:1080'
-
linux 实时内核补丁
- [kernel in tsinghua]
-
ref to csdn1
-
set priority
- ref2: 处理nice与priority
- ref3: build a simple rt application
-
set real time:'chrt -f -p [1-99] {pid}'
-
screenshot via ssh
-
xwd -out
.xwd -root -display :0.0 -
openrave
-
ros-move_group died
-
when affine3d converted to geometry_msgs::pose, this fault will occur if the rotation in affine3d is not the standard rotation matrix
15 mp4 to gif
- apt-get install mplayer
- apt-get install imagemagick
- mplayer -ao null xxxx.mp4 -vo jpeg:outdir=output //生成jpeg文件
-
convert output/*.jpg -resize 45% output/view.gif //生成gif文件
-
texlive in ubuntu
-
download texlive .iso:
- https://mirrors-wan.geekpie.club/CTAN/systems/texlive/Images/
- https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/
-
图形化界面安装,安装图形化工具:sudo apt-get install perl-tk
-
kill all python process
ps -ef | grep python | cut -c 9-15| xargs kill -s 9
- ubuntu防火墙
# open
sudo ufw enable
# restart
sudo ufw reload
# open port
ufw allow 9000
# check status
ufw status
19 axel多线程下载
-
axel -n 8 [url]
-
添加用户到docker用户组
添加完之后需要重新进入: su yee
- convert mp4 to gif
ffmpeg -r 35 -i biped_animation.mp4 biped_animation.gif