-
Sources in Ubuntu
Ubuntu sourcesvim /etc/apt/sources.listapt updateubuntu 18deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb http://mirrors.a...…
-
OpenSSH
IntroductionOpenSSH is a powerful collection of tools for the remote control of, and transfer of data between, networked computers. You will also learn about some of the configuration settings possible with the OpenSSH server application and how t...…
-
clamp cdist where poisson
clamp torch.clamp: Clamp all elements in input into the range [min, max]. Let min_value and max_value be min and max, respectively.>>> a = torch.randn(4)>>> atensor([-1.7120, 0.1734, -0.0478, -0.0922])>>> torch.clamp(a...…
-
squeeze unsqueeze size view repeat expand expand_as cat split transpose permute matmul mul mm einsum
Introduction The torch package contains data structures for multi-dimensional tensors and defines mathematical operations over these tensors. Additionally, it provides many utilities for efficient serializing of Tensors and arbitrary types, and o...…
-
Treemacs
IntroductionThis layer sets up a file navigation and project explorer side-window via Treemacs.FeaturesA detailed overview of the features of Treemacs is available in the Treemacs readme. In short, Treemacs offers: Simple and powerful navigation ...…
-
Locale in Docker
IntroductionAlthough Python 3 has officially started to use UTF-8 encoding for text files, I still sometimes got errors regarding ASCII/UTF-8 in Docker container. Surprisingly, there is no such issue in the native system. It turns out that it is t...…
-
Shortcut keys for Spacemacs
List key description SPC h SPC 调出所有帮助文档 SPC f e d 快速打开配置文件 .spacemacs SPC f e R 重新执行初始化过程 用于修改~/.spacemacs后 SPC f s 保存一个buffer SPC f R 重命...…
-
Emacs on Debian
Introduction A txt editor for debian system.Commandsudo apt-get install software-properties-commonsudo apt-get update sudo apt-get install gnupg2 # gnupg, gnupg1, gnupg2wget -q http://emacs.ganneff.de/apt.key -O- | sudo apt-key addsudo add-a...…
-
Rename
Introduction A command on ubuntu to deal with files.DescriptionUsage: rename [ -h|-m|-V ] [ -v ] [ -n ] [ -f ] [ -e|-E perlexpr]*|perlexpr [ files ]Options: -v, -verbose Verbose: print names of files successfully renamed. -...…
-
Language Tools
Introduction A language tool for TexSutdio.Software AddressTexStudioJavaEnglish DictionaryLanguage ToolsEnvironment– Java installjava -versionjavac -version– LanguageTools installjava -jar languagetool.jarclick ‘Text Checking’ -> options ->...…