*** Moved to itohdak/Competitive_Programming ***
$ git clone https://github.com/itohdak/AtCoder.git
$ cd AtCoder
# define function "mkdir_atcoder" in .bashrc
# add AtCoder/include to $CPATH in .bashrc
$ source setup.sh
$ exec bash
$ mkdir_atcoder [folder_name]
# you can see a new folder named [folder_name] which includes sample cpp files
You can copy your codes into the clipboard and paste them with Ctrl-V
Add following lines to ~/.bashrc
# copy to clipboard
alias pbcopy='xsel --clipboard --input'
Before using it, you may first need to install xsel
with a following command
$ sudo apt install xsel
$ cat A.cpp | pbcopy
# Ctrl-V on where you like to paste the codes