GithubHelp home page GithubHelp logo

iulyanp / best-practice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yeasy/best-practice

0.0 0.0 0.0 16 KB

Some best-practice config/cook-book of using tools

Shell 32.01% JavaScript 67.40% CSS 0.58%

best-practice's Introduction

Best Practice

Best-practice config/cook-book/stack for popular tools.

There are lots of efficient tools in daily work. Collect the necessary config here.

Content

Pandoc

From github-style markdown to pdf:

pandoc --toc --from markdown_github -s input.md -o output.pdf 

The config file usually is put under /etc/nginx/conf.d/.

See default.

Framework

CSS

HTML

Python

Jupyter Notebook

A helpful web based python interface and notebook.

$ pip install jupyter
$ cd your_work_dir; jupyter notebook

REST style API design and ref framework: Swagger.

Useful REST framework:

Default Iptables rules with limit port open and access ratio.

$ iptables-restore < security/iptables.rules

Optimized sysctl.conf for high-performance server.

Put sysctl.conf under /etc/sysctl/, and load it by

$ sysctl -p

Config file

The config file is ${HOME}/.vnc/xstartup.

Start some server

Let it listen on 1.

vncserver :1

Kill some server

Kill the server listening on 1.

$ vncserver -kill :1

Set password

$ vncpasswd

Contribution

  • fork this project to your repo, like user/best-practice, then clone to local.
$ git clone [email protected]:user/best-practice.git
$ cd best-practice
$ git config user.name "User"
$ git config user.email [email protected]
  • Make some changes, commit and push to your Github repo.
$ #do some change on the content
$ git commit -am "Fix issue #1: change helo to hello"
$ git push
  • Open GitHub and make a pull request.
  • Remember to sync your repo often with my latest version.
$ git remote add upstream https://github.com/yeasy/best-practice
$ git fetch upstream
$ git checkout master
$ git rebase upstream/master
$ git push -f origin master

best-practice's People

Contributors

yeasy 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.