First upload the local project to GitHub using Git

Read a lot of posts, and finally find a suitable way in chaos.Self perception is relatively simple.Install the local GIT and download it at the official download address: http://git-scm.com/download/download the corresponding version on your own system.Administrator@USER-20170816VX MINGW64 /g/project/10guang (The file to be submitted on the desktop, right-click to select git bash here.$git clone https://github.com/gaobing1252/web-app.git (using warehouse addresses to generate web-appDirectory, which is inside the submission file, and then copies the contents of the file to the generated we...

Front end _HTML

HTMLDefinition Hypertext Markup Language (HTML) is also a markup language to create web pages. Essentially browser-recognizable rules, we write web pages according to rules, browsers render our web pages according to rules, for different browsers, the same tag may have different interpretations (compatibility issues) Web file extension:.Html/.htm (the latter is not commonly used) Hypertext: refers to the page can contain pictures, links, and even music, programs and other non text. Markup Language: the language of tags (labels). Web page ==HTML document, resolved by browser, used to display...

Idea Maven packing fatal error: you can’t find the package java.lang in the classpath or boot classpath.

Fatal error: software package java.lang cannot be found in classpath or boot classpath. Change the POM file Windows(Separator semicolon); <bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>   linux(Separator colon English colon): <bootclasspath>${java.home}/lib/rt.jar:${java.home}/lib/jce.jar</bootclasspath>   Special thanks: https://blog.csdn.net/skate6/article/details/70597104

If the data does not return to that field, how do I add it?

1.If the data returns is this. getProductList:[ { productName:'Watermelon ',ProductPrice:100,PrductQty:1},{ProductName:'pumpkin',ProductPrice:50,PrductQty:2},{ProductName:'Apple',ProductPrice:300,PrductQty:3},] 2.If you want to determine if there is a checked field in the item, how do you judge and add it? Overall situation if(typeof item.checked=='undefined'){ Vue.set(item,"checked",true)//First determine whether this field does not exist, do not exist, add it, and add it globally.}else{Item.checked=! Item.checked / / here, according to actual needs.} ...

Git common commands

cloneCode: git clone code addressSet the user name: git config — global user. name “marin” and the GIT config — global user. name command is used to viewSet mailbox: git config –global email “984482955@qq.com”Check all git –list to see all the contents.View file git status added or modified in branch stateAdd the newly added or modified files to the cache git add file name or git add.Adding cached files to the online version library git commit pops up a notepad for writing and submitting annotations Or git commit -m “I want the anno...

Normal button for form validation

Simply make a record. If the button is not a submission button in the form form, there is no form submission event. We need to register an event for the button separately. Here, register a form validation event. $("#btnSave").click(function () { var groupId = $("#groupId").val(); if(validform().form()) { //Through form validation, write your own code below./ / form validation is successfully executed.Var url = path + "/GroupCustomer.do? Action=toAddAndUpdate& id=" +gRoupId;$("#editWin").Window ("close");GetVpnInfoData ();$.ajax ({Method:'get',Async:faLSE,Data: $("#data_form").Seri...

Python learning notes for head files

The first is to set up the running mode of Python. That is, our common line, /usr/bin/python3, or /usr/bin/python! Mainly used to specify the mode of operation. Python3 xxx.py or Python xxx.py is equivalent to our input in the terminal. Specifying this line allows us to turn it into an executable program that first gives permission Chmod 777 xxx.py to the terminal Then you can run the program by double clicking.  Remember that you have to put it in the first line. #coding:utf-8 #!/usr/bin/python while True: print('yes') Can’t run in second rows. #!/usr/bin/python #coding:utf-...

os

python Path dependent functions os.listdir(dirname):List the directories and files under dirname os.getcwd():Get current working directory os.curdir:Returns the current directory (“.”). os.chdir(dirname):Change work directory to dirname os.path.isdir(name):Determine whether name is a directory, and name is not a directory to return to false. os.path.isfile(name):Judge whether name is a file, does not exist name, and returns to false? os.path.exists(name):Determining whether there is a file or directory name os.path.getsize(name):Get file size, if name is directory return 0 os....