Home
Kuma PC Environment
Application
重宝しているalias
~/.zshrcもしくは~/.zprofile, ~/.bashrc, ~/.bash_profileにはっつけて使ってみてください.
alias rm='rm -i' #ask yes/no when we remove file
alias ls='ls -G'
alias em='emacs -nw' #open emacs no window
function em1(){
emacs $1 &
}
function md(){
mkdir $1 && cd $1
}
function r(){
root -l $1
}
# for root file compile & run object
function rpp(){
g++ $1 -o Run `root-config --cflags --libs` && ./Run
}
function texComp(){
platex $1
pbibtex $1
platex $1
platex $1
dvipdfmx $1
}
alias loginLx="ssh -XY tkumaoka@lxplus.cern.ch"
ssh設定 ( ~.ssh/config)
接続継続
Host *
ServerAliveInterval 60
ServerAliveCountMax 3
多段接続
Host login
User user_at_login
HostName login.example.com
IdentityFile ~/.ssh/id_rsa_for_login
Host server
User user_at_server
HostName server.example.com
IdentityFile ~/.ssh/id_rsa_for_server
ProxyCommand ssh login -W %h:%p
Symbolic link
ln -s directory
Editor
VS code
VScodeはVisual Studioと違い統合開発環境(IDE)ではなく単なるEditorです.ただいろんな機能(Git連携, SSH, Docker, etc)をダウンロードして追加していくことは可能です.
またこれまで違うeditorを使っていた人(vimやEmacsなど)もそれらのkeybindも使うことができるのですぐに移行することができます.
気に入らないkeybindは簡単に変更できるのもメリットです.
個人的に便利だと思う部分を以下の画像に簡単にまとめました.
私が設定した色やkeybindは(
Color Syintax,
KeyMap setting)をダウンロードして左下の歯車マークのところで読み込ませれば使えます.
(しいてデメリットを挙げるなら,macでは画面を透かせないこと,範囲選択が私の好みのやり方ではできないことぐらいです.)
一応私が入れているappも紹介しておきます.rainbow CSV, indent-rainbow, Bracket Pair Colorizerは特に便利です. SSHやGit, docker,
TeX等も使う人はそれらのアプリを入れておくとより便利だと思います.
参考URL
Emacs
細かいLaTeXの使い方は
こちらに書きました.
ALICE Environment
Local
make install
lxplus
lxplus alice environment setting
/cvmfs/alice.cern.ch/bin/alienv enter AliPhysics/vAN-20210911_ROOT6-1
/cvmfs/alice.cern.ch/bin/alienv enter AliPhysics/vAN-20210911_ROOT6-1,別のpackage
alien.py
cp AliAOD.root file:.
ZOOM
座長等で自分のカメラの部分にタイマーを表示したい. OBS:
download page url
Timer url:
https://ss.scphys.kyoto-u.ac.jp/person/yonezawa/contents/program/js/timer/latest/timer.html