Step by step command only Guide where command starts with symbol $ ----------------------------- git config -- global user . name "your username" git config -- global user . password "your password" Track file : This means the file is added to the git repository in your local machine. Also called added to the stage area. Untracked File : Code is still in your local folder not added to git repository ----------------------------------------------- Commands --------------------------- checking current working directory rssan@DESKTOP-QA9A7TD MINGW64 ~ $ pwd /c/Users/rssan creating a new directory rssan@DESKTOP-QA9A7TD MINGW64 ~ $ mkdir test getting inside that newly created directory rssan@DESKTOP-QA9A7TD MINGW64 ~ $ cd test creating a new directory inside for git repository rssan@DESKTOP-QA9A7TD MINGW64 ~/test $ mkdir repo getting inside the newly created repo directory rssan@DESKTOP-QA9A7TD MINGW64 ~/test $ cd repo/ Again created a mygitrepo directory inside rss...
First open Anaconda, then launch the jupyter notebook. Then create new python 3 file. Here we will discuss NumPy arrays and codes. Let's print an array. Oh ! Was it easy ? Yes .It was. Now we will import numpy and use that to assign the array to a variable, and some other things also will try ... Here, I created an array . Then I imported NumPy as np . Then I used np to set the array to the variable arr. 2D array NumPy There are 2 braces in the beginning so 2D array.3 rows 3 columns. arrange is used to quickly generate an array in NumPy of certain condition or in normal as per above example. link space --------------: here the third argument is considered as no of points as you want where as arrange take it as steps as you want. identity matrix randn() shows a standard normal distribution. randn() in 2 Dimension Printing random integer using randint() max() for finding the highest number in the array and min() for the lowest number. argmax() used to show the index of the max...
REST API API: Application program interface API Example : If we have to search for something/calculate in google, we send a request through the HTTP to the Google server. The program resides in google server and in that place we can say that the program is API(Application Program Interface). The program (API) finds the searched value or calculate and sends it back to the requester through HTTP again. Local program -----------HTTP-------google server (Program) API History : 1999 -- SOAP -- W3C 2000 --- REST -- Modern way of doing APIs W3C -- SOAP SOAP -- XML -- RPC This is the SOAP way of API call. Is REST different from This? For both, it's the same in architecture, but the difference is in Method. For SOAP, the method is always POST because it's never used whereas for REST the method contains the remote server address. Main methods used in HTTP start lin...
Comments
Post a Comment