ARTS-week8

Algorithm

We are given two non-empty list is used to represent two non-negative integer. Where their respective bits are stored in reverse order of the way, and they each node can store only one digit. If we add up these two numbers, it will return a new list and to represent them. You can assume that in addition to the numbers 0, these two numbers will not begin with 0.
Add Two Numbers

Review

Postman and CI

This article describes the CI + Postman combined to build test scripts. When repo updates, sent by post webhook request to jenkins, jenkins start building after receipt, execute test scripts and test report generation

  • Installation jenkins
    • Download, install fool
    • Open http: // localhost: 8080
  • Api to create a collection postman
  • Create a node project
    • Installation successfully identified node and npm <node -v / npm -v>
    • Create a project directory and enter
  • Add project dependencies newman
    • Add dependencies in package.json
    • Add collection api
  • Create a git repository
    • Creating a warehouse in the project directory
    • Registration github account and create a warehouse of the same name
    • Submit and update local repository to the remote synchronization
  • Use Jenkins pipline's DSL running postman collection
    • Create a new job, and select pipeline. <Edit pipeline script>
    • Start building (warehouse to open), successfully constructed
    • Note: The following is the steps of a private warehouse
      • Creating Jenkinsfile file repo, the script came in and copy Jenkins script
      • Change the pipeline configuration, select the pipeline script from SCM, choose git, and add the path to set up the certificate
  • Report generation, automated build
    • Add package.json update report command
    • Use ngrok generate external network address jenkins services, and add it to the next github repo webhook
      drawback is: because it is using the machine to build jenkins, once ngrok stopped / restarted generated outside the network address is invalid, it can not automatically jenkins run

Tip

windows start jenkins
- Open a console / command line, go to the installation directory jenkins

  • Stop: jenkins.exe stop
  • Start: jenkinx.exe start
  • Restart: jenkins.exe restart

Forgot your password jenkins

  • Enter / jenkins / users / admin * / directory, modify the config.xml file
  • Find passworkHash part, replaced
#jbcrypt:$2a$10$DdaWzN64JgUtLdvxWIflcuQu2fgrrMSAMabF5TSrGK5nXitqK9ZMS
  • 111111 login password and change your password
  • Home -> Manage Users -> Edit -> Change Password -> Save & Applications

Share

Why Jupyter Notebook is a modern Python will learn techniques?
Jupyter interactive programming experience is very good, for some small projects or data analysis, you can run a single piece of code, the effect is very good, worth a try

Guess you like

Origin www.cnblogs.com/felixqiang/p/12080588.html