GithubHelp home page GithubHelp logo

dotfiles's Introduction

dotfiles

Linux and desktop configuration and setup script.

Installation

Download

git clone [email protected]:rickliujh/dotfiles.git

Usage

  1. bash setup.sh -m show menu.
  2. bash setup.sh -a setup all things.
  3. bash setup.sh -i install all packages and languages.
  4. bash setup.sh -l setup symlinks only.
  5. bash setup.sh -b backup current dotfiles (only those files that has same name in config dir in this repo).
  6. bash setup.sh {{func_name}} you can actually call any function that declared in shell file in root folder by putting its name after setup.sh separated by space as long as you know what you're doing.

Next...

  1. understanding fzf and its config
  2. understanding bashrc
  3. understanding zshrc with oh-my-zsh
  4. setting up tmux
  5. understanding eza and its config and how to integrating with zsh(require 3)
  6. ssh port forward script for remote development

Inspired by

Remote Development

Combining dotfiles and Dockerfiles in the dockerfiles directory enable you pioneering your project with excellent remote development environment

Usage

# First build your image with your identity
docker build -f=nodedev.Dockerfile -t=nvimnode:v0.1 --build-arg=EMAIL={{YOUR_EMAIL}} --build-arg=NAME={{YOUR_NAME}} --build-arg=PASSWD={{YOUR_PASSWD}} .

# Second start a container by mount your project into docker or you can use git to download later on
docker run -v ~/workspace/{{YOUR-PROJECT}}:/root/workspace/{{YOUR-PROJECT}} -p 8654:22 --name {{IMAGE_NAME}} -d -it nvimnode:v0.1

# use ssh to start a tmux session in the very first time
ssh user@<hostname> -p 8654 -t "tmux new -s {{TMUX_SESSION}}" 

# use ssh to attach a tmux session next time
ssh user@<hostname> -p 8654 -t "tmux a -t {{TMUX_SESSION}}"

# enjoy your journey

Note

Don't forget to setup your ssh key in the very first time. The script will not setup it for you for security reason.

dotfiles's People

Contributors

rickliujh avatar

Stargazers

Philip Mello avatar

Watchers

 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.