Coder Social home page Coder Social logo

dev-setup's Introduction

dev-setup

My development environment setup

Linux

General

  • sudo apt-get install ssh
  • sudo apt-get install vim
  • sudo apt-get install git
  • sudo apt-get install build-essential (required to install CUDA)
  • Settings -> Displays -> Night Light -> Set the time to be the same

zsh

  • sudo apt install zsh
  • sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • Add the following to .zshrc to prevent git command autocompletion to be slow:
__git_files () { 
    _wanted files expl 'local files' _files     
}

tmux

Anaconda

  • Install miniconda 3.

Cuda

Vim

  • Copy this into ~/.vimrc.

Visual Studio

Windows

WSL2, Ubuntu 22.04.1

Memory

Create .wslconfig at /mnt/c/Users/yenchenl and fill in the following content:

# Settings apply across all Linux distros running on WSL 2
[wsl2]

# Limits VM memory to use no more than 64 GB, this can be set as whole numbers using GB or MB
memory=64GB 

# Sets the VM to use 32 virtual processors
processors=32

# Sets amount of swap storage space to 32GB, default is 25% of available RAM
swap=32GB

Otherwise WSL wouldn't be able to access the full memory.

NVIDIA

  • Drivers
  • CUDA Toolkit

Tools

  • VSCode
  • HWInfo
  • MSI Afterburner
  • GPU-Z
  • Windows Power Toys
    • Remap keys of magic keyboard.

Terminal

  1. Click on the drop down menu -> Settings -> Open JSON file (left bottom)
  2. Add this line: "wordDelimiters" : " ()\"':,;<>~!@#$%^&*|+=[]{}~?\u2502", to select paths in the shell with double clicks.

COLMAP

MacOS

Oh-my-zsh

  • Follow the instruction here

Homebrew

  • Follow the instruction here

wget

brew install wget

tmux

Visual Studio

Anaconda

  • Install miniconda 3.

Vim

  • Copy this into ~/.vimrc.

Flux

dev-setup's People

Contributors

yenchenlin avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dev-setup's Issues

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.