Skip to content

Ziang-Lu/Miscellaneous

Repository files navigation

Miscellaneous Topics

This repo contains a variety of topics, including:

Development Environment Setup

Command Line Tools & Shell (Bash)

=> Check out https://bytedance.feishu.cn/docx/ASPmdPpVgoa6mUxCvlucoHW0nTb


Python Linter Configuration

  • Isort configuration
    • Check out .isort.cfg
  • Pylint configuration
    • Check out .pylintrc
  • Flake8
    • Flake8 is a wrapper tool for three tools:
      • PyFlakes (static syntax checker)
      • Pep8 (style checker)
      • McCabe (code complexity checker)
    • Check out flake8 and put it into ~/.config

For Python auto-formatters like Yapf, check out https://github.com/google/yapf; but in my text editor and IDEs, I didn't configure any Python auto-formatter.


Text Editor

- Vim (for all) Configuration

  • Check out .vimrc
  • Follow the instructions to create the directiories and install the corresponding plugins in the comments

- VSCode Extensions

https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

General code highlighting

  • TODO Highlight
  • Prettify JSON
  • Rainbow CSV

Visual Studio IntelliCode

C/C++

  • C/C++ (by Microsoft)

  • Better C++ Syntax

  • cpplint

    $ sudo pip3 install cpplint
  • clang-format

    $ brew install clang-format

Python

  • Python

    $ pip3 install autopep8
  • Pylance

Bash

  • Bash IDE
  • ShellCheck
  • shell-format

Git

  • GitLens
  • Git Graph

Web Development

  • Live Server
  • RPC - Data transfer (Serialization / Deserialization)
    • Protobuf support
    • Thrift
  • Thunder Client for testing RESTful API

JavaScript / TypeScript

  • JavaScript (ES6) code snippet
  • ESLint
  • Prettier

Dev & Ops

  • Compiling & building
    • Bazel
  • Packaging & running & composing
    • Docker

IDE (JetBrains Plugins)

  • Shell Script

  • CodeGlance

  • IdeaVim (disabled)

  • Git Flow Integration

  • Grep Console

  • Presentation Assistant

  • Checkstyle (IntelliJ IDEA)

  • Alibaba Java Coding Guidelines (IntelliJ IDEA)

  • Pylint (PyCharm)

    • In Preference -> Other Settings -> Pylint, set

      Path to Pylint executable: /usr/local/bin/pylint

      Path to pylintrc: /Users/Ziang_Lu/.pylintrc

  • JSON Viewer


Miscellaneous Topics in Coding

General Knowledges

Java-Related Knowledges

Python-Related


License

This repo is distributed under the MIT license.

About

Miscellaneous topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published