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では画面を透かせないこと,範囲選択が私の好みのやり方ではできないことぐらいです.)

MyVScodeWindow.png

一応私が入れているappも紹介しておきます.rainbow CSV, indent-rainbow, Bracket Pair Colorizerは特に便利です. SSHやGit, docker, TeX等も使う人はそれらのアプリを入れておくとより便利だと思います.

vsCodeAddApp.png

参考URL

Emacs

LaTeX

細かい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

ObsZoomWay.png


Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng MyVScodeWindow.png r1 manage 281.9 K 2021-08-10 - 04:28 TakuyaKumaoka  
PNGpng ObsZoomWay.png r1 manage 188.8 K 2021-09-17 - 11:37 TakuyaKumaoka  
Unix shell scriptsh TKzshrc.sh r1 manage 1.9 K 2021-08-04 - 07:45 TakuyaKumaoka  
Unknown file formatjson keybindings.json r1 manage 9.4 K 2021-07-28 - 12:32 TakuyaKumaoka  
Unknown file formatjson settings.json r1 manage 3.9 K 2021-07-28 - 12:32 TakuyaKumaoka  
PNGpng vsCodeAddApp.png r1 manage 1297.0 K 2021-09-28 - 07:14 TakuyaKumaoka  
Edit | Attach | Watch | Print version | History: r23 < r22 < r21 < r20 < r19 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r23 - 2021-12-07 - TakuyaKumaoka
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback