用語 | 説明 |
---|---|
リポジトリ | プロジェクトのファイルや履歴(変更の記録)をまとめて管理する場所です。研究データや論文執筆の進捗など、ファイルのバージョン管理をしたいときに使います。パソコン内に作る「ローカルリポジトリ」と、インターネット上(例:GitHub)に作る「リモートリポジトリ」があります。 |
ブランチ | 作業の「枝分かれ」を作る機能です。たとえば、論文の本筋とは別に新しい実験や修正を試したいとき、ブランチを作ることで元のファイルに影響を与えずに作業できます。最終的にうまくいけば、元のブランチ(通常はmainやmaster)に統合できます。 |
ステージング | ファイルの変更を「これから記録します」と一時的にまとめる作業です。コミットする前に、どの変更を記 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from | to | |
---|---|---|
Rosa | Karl | |
Karl | Fred | |
Fred | Karl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
·͜· 𖠚ᐝ |
[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::mem; | |
fn main() { | |
let mut a: Vec<i32> = vec![1, 2, 3]; | |
let mut b: Vec<i32> = vec![4, 5, 5]; | |
println!("i32 size of {}", mem::size_of::<i32>()); | |
println!("var a: {:?}", a.as_ptr()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set number | |
" シンタックスハイライトの設定 | |
syntax on | |
filetype on | |
filetype indent on | |
filetype plugin indent on | |
augroup vimrc | |
autocmd! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fpath+=~/.zfunc | |
autoload -U compinit | |
compinit | |
alias ls="ls -pG" | |
export LSCOLORS=gxfxcxdxbxegedabagacad | |
# prompt | |
PROMPT="%F{2}%n@%m:%f%F{4}%~%f$ " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM pytorch/pytorch:0.4.1-cuda9-cudnn7-devel | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
build-essential \ | |
vim \ | |
python-pil \ | |
python-matplotlib \ | |
python-pygraphviz \ | |
default-jdk \ |
NewerOlder