$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start| package examples; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| @SpringBootApplication | |
| @EnableAutoConfiguration | |
| public class GatewayApplication { |
Note: Please check this blog post for more details on these functions.
Sort a SQL query with id and parentid so that
the rows have the correct order of the tree.
Parameters:
q(Array): A query result (see example below)
| package hello; | |
| public class Greeting { | |
| private long id; | |
| private String content; | |
| public Greeting(){} | |
| public Greeting(long id, String content) { |
react-redux-starter-kitContributing Guidelines- Contributing to a Project
- How to Write a Git Commit Message
- Writing good commit messages
- Atom Contributing Guidelines
-
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
| #!/usr/bin/env bash | |
| IDEA='' | |
| PROJECT_DIR='' | |
| function main() { | |
| openIdea "$@" | |
| } | |
| function openIdea() { |
My current editor of choice for all things related to Javascript and Node is VS Code, which I highly recommend. The other day I needed to hunt down a bug in one of my tests written in ES6, which at time of writing is not fully supported in Node. Shortly after, I found myself down the rabbit hole of debugging in VS Code and realized this isn't as straightforward as I thought initially. This short post summarizes the steps I took to make debugging ES6 in VS Code frictionless.
My first approach was a launch configuration in launch.json mimicking tape -r babel-register ./path/to/testfile.js with babel configured to create inline sourcemaps in my package.json. The debugging started but breakpoints and stepping through the code in VS Code were a complete mess. Apparently, ad-hoc transpilation via babel-require-hook and inline sourcemaps do not work in VS Code. The same result for
attaching (instead of launch) to `babel-node
#参考资料
###下载单个文件,默认将输出打印到标准输出中(STDOUT)中
curl http://www.centos.org