紧急使用可以先执行 source ~/.bash_rc
添加如下代码到~/.bash_profile之后下次启动tmux就有效了
case $- in *i*) . ~/.bashrc;; esac
注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
Copyright (c) <year> <copyright holders> | |
996 License Version 1.0 (Draft) | |
Permission is hereby granted to any individual or legal entity | |
obtaining a copy of this licensed work (including the source code, | |
documentation and/or related items, hereinafter collectively referred | |
to as the "licensed work"), free of charge, to deal with the licensed | |
work for any purpose, including without limitation, the rights to use, | |
reproduce, modify, prepare derivative works of, distribute, publish |
1.生成预览:
sudo nextcloud.occ preview:generate-all
2.设置php内存:
sudo snap set nextcloud php.memory-limit=3072M
shell> bash <(curl -Lso- https://git.io/superspeed)
shell> wget -qO- git.io/superbench.sh | bash
/* Tested with Gradle gradle-6.6.1-all.zip and gradle plugin 4.0.2 */
allprojects {
repositories {
afterEvaluate {
tasks.register("depsize-all-configurations") {
description = 'Prints dependencies for all available configurations'
App::Asciio - Plain ASCII diagram.
The app is free for you drawing diagram to discribe your logics of your codes or classes. But it is can't work on MacOS, so I made this docker image to make it working on MacOS. Hope you enjoying it.
brew install xquartz
https://github.com/BoringCat/docker-WXWork
docker run -d --name wechat --device /dev/snd --ipc host \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/WXWork:/WXWork \
-v $HOME:/temp \
-v $HOME/wine-WXWork:/home/wechat/.deepinwine/Deepin-WXWork \
-e DISPLAY=unix$DISPLAY \
On Mac OS, you should execute:
security find-generic-password -D "AirPort network password" -a $SSID -g | grep "password:"
On Linux, you should execute:
sudo cat /etc/NetworkManager/system-connections/{$SSID}.nmconnection | grep "psk="
If you want all of play protocols, this docker image is first recommendation.
docker pull ossrs/srs:3
docker run --rm -p 1935:1935 -p 1985:1985 -p 8080:8080 ossrs/srs:3
docker run -d -p 1003:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer-ce:latest
sudo docker run -it --name samba --net=host \
-v /media/TOSHIBA/filebrowserdata:/mount \
-d dperson/samba -p -u "admin;admin" \
-s "share;/mount;yes;no;no;all;none"