摘要:
find accepts multiple -exec portions to the command. For example: find . -name "*.txt" -exec echo {} \; -exec grep banana {} \; Note that in this case 阅读全文
摘要:
nodejshttps://github.com/nodesource/distributions/blob/master/README.md#debinstallInstallation instructionsNode.js v14.x:# Using Ubuntucurl -sL https: 阅读全文
摘要:
dockerhttps://docs.docker.com/engine/install/ubuntu/https://www.runoob.com/docker/ubuntu-docker-install.htmlubuntu 18.04 安装 Docker-ce1.更换国内软件源,推荐中国科技大 阅读全文
摘要:
Copy, paste, and other general keyboard shortcuts Press this keyTo do this Ctrl + X Cut the selected item. Ctrl + C (or Ctrl + Insert) Copy the select 阅读全文
摘要:
https://gallery.technet.microsoft.com/scriptcenter #By BigTeddy 05 September 2011 #This script uses the .NET FileSystemWatcher class to monitor file e 阅读全文
摘要:
build.sh clear && g++-10 a.cpp watch.sh clear && fswatch -0 --latency 0.2 --recursive --format "%f##%p" --event Updated -e ".*" -i ".*cpp$" ./ | xargs 阅读全文
摘要:
#配置文件 #/etc/profile #refresh env alias renv='source /etc/profile' alias venv="code /etc/profile" #enables color in the terminal bash shell export expo 阅读全文
摘要:
~/.config/terminator/config [global_config] focus = system suppress_multiple_term_dialog = True title_transmit_bg_color = "#CECECE" window_state = max 阅读全文
摘要:
.tmux.conf #/Users/name/.tmux.conf # 命令前缀 C-b给vim用的 set -g prefix2 C-s set-option -g prefix C-a bind-key C-a last-window # 分割窗口 bind-key \ split-windo 阅读全文
摘要:
ubuntu1804 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/18.04/ 1 source echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main res 阅读全文
摘要:
snipaste copyq everything windowsTerminal vscode AHK https://github.com/zhongyang219/TrafficMonitor powerToys 阅读全文
摘要:
wt `;-M `; -d D:\dir1\ `; split-pane -d D:\dir2\ `; split-pane -H -d D:\dir3\ wt --tabColor "#009999" --title "xyz" -d "C:\\aaa\\bbb\\ccc" 阅读全文
摘要:
function Get-GitStatus { & git status } New-Alias -Name gs -Value Get-GitStatus -Force -Option AllScope function Get-GitGraph { & git log --graph --ab 阅读全文
摘要:
Start-Process powershell -verb runas -ArgumentList "-file c:\cmd\task.ps1" 开启多个tab,并分别调至不同path wt `; -M `; new-tab -d D:\path1\ `; new-tab -d D:\path2 阅读全文
摘要:
查看当前的powershell 从哪里读配置$profilepowershell 每次启动前会读取 C:\Users\$name\Documents\PowerShell\Microsoft.PowerShell_profile.ps1在这文件里配置上alias等管理员身份打开powershell, 阅读全文
摘要:
检测其它主机端口是状态 curl ip:port curl 192.168.1.1:8080 检测本机端口是否被占用 lsof -i:8000 查看所有端口详细信息,包括进程id sudo netstat -antulp sudo netstat -anltup | grep 8000 -a all 阅读全文
摘要:
13,2,3 32,4,5 21,1,0 9,2,6 8,7,5 按字母比较大小 对inputfile内容按行排序,结果输出到output,默认升序 sort -o output.txt inputfile.txt 13,2,3 21,1,0 32,4,5 8,7,5 9,2,6 按数值比较大小 s 阅读全文
摘要:
asy --help Asymptote version 2.49 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] http://asymptote.sourceforge.net/ Usage: asy [options] [file 阅读全文
摘要:
settings.outformat="pdf"; settings.render=0; import three; size(4cm); draw(-2X--2X,arrow=Arrow3(emissive(black))); draw(-2Y--2Y, arrow=Arrow3(emissive 阅读全文