Giter Site home page Giter Site logo

dotfiles's Introduction

dotfiles

for Windows

  • install google chrome
  • change keyboard layout 設定 > 日付と言語 > 言語 > 日本語 > オプション > ハードウェアキーボードレイアウト > レイアウトを変更する > 英語キーボード
  • instlal Unpacker from Microsoft store
  • install changekey (Capslock to Ctrl) https://forest.watch.impress.co.jp/library/software/changekey/
  • IME 切り替え IME > プロパティ > 詳細設定 > 編集操作 > 変更(D) > Ctrl + SPACE でIME ON/OFF 切り替え
  • Launcher http://keypirinha.com/
  • Magic trackpad を使う場合は以下をインストール(有料) https://magicutilities.net/download

for OS X

for ubuntu

install google chrome

sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable

change directory name to english

$ LANG=C xdg-user-dirs-gtk-update

Capslock to Ctrl

XKBOPTIONS="ctrl:nocaps"

sudo nano /etc/default/keyboard

Update packages

$ sudo apt update & sudo apt upgrade -y

Install neovim

Install python build tools

$ sudo apt install build-essential libbz2-dev libdb-dev \
  libreadline-dev libffi-dev libgdbm-dev liblzma-dev \
  libncursesw5-dev libsqlite3-dev libssl-dev \
  zlib1g-dev uuid-dev tk-dev

Install pyenv

$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv
$ git clone https://github.com/foresta/dotfiles ~/work/.dotfiles 
$ cd ~/work/.dotfiles
$ ./install.sh
$ source ~/.bash_profile
$ pyenv -v

Install neovim

python neovim
$ pip install neovim
neovim
$ sudo add-apt-repository ppa:neovim-ppa/stable
$ sudo apt-get update
$ sudo apt-get install neovim

Setup pbcopy

sudo apt install xsel

Install docker

Install packages for adding repository

$ sudo apt-get install -y \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common

Add Docker GPG key

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Add repository

$ sudo add-apt-repository \
     "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
     $(lsb_release -cs) \
     stable"

Update apt package

sudo apt update

Install docker

$  sudo apt install -y docker-ce

Exec

$ sudo systemctl status docker

Exec docker for normal user

$ cat /etc/group | grep docker
> docker:x:999:

$ sudo gpasswd -a kz_morita docker


$ cat /etc/group | grep docker
> docker:x:999:kz_morita


$ sudo chmod 666 /var/run/docker.sock

Install docker-compose

$ export compose='1.25.1'

$ sudo curl -L https://github.com/docker/compose/releases/download/${compose}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

$ sudo chmod 0755 /usr/local/bin/docker-compose

$ docker-compose -v

Install Hugo

# Check hugo version
$ snap info hugo

# instlal hugo
$ sudo snap install hugo

Install nvm

https://github.com/nvm-sh/nvm#install-script

$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

Add settings to .bashrc

# nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

Add settings to .profile

## nvm
export NVM_DIR="$HOME/.nvm"

Install fcitx

for toggle IME on ctrl

$ sudo apt install fcitx fcitx-mozc

$ sudo reboot

fcitx 設定 > 全体の設定 > 入力メソッドのオンオフ > LCtrl

dotfiles's People

Contributors

foresta avatar

Stargazers

chahan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.