Do you need a refresher on git? Go through Codecademy's git
course.
-
Using your terminal/command line, get inside the folder where your project files are kept:
cd /path/to/my/codebase
. → You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
→ Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here. -
Check if git is already initialized:
git status
package rmi; | |
/** | |
* This file contains class which have implemention of AddI interface | |
*/ | |
import java.rmi.RemoteException; | |
import java.rmi.server.UnicastRemoteObject; | |
/** | |
* This class defines add method, which is called by the client. | |
* @version 1.0 |
The example has been picked from
operationsdashboard/src/Demo/Flight/Preflightdata.js
In order to write better code, we should always think about readiblity of code and nameing conventions. Readibility of code make it easy for new developer to adopt the code and make new changes. For example you can see t5, t4, convertTime2, etc in the code. Any new developer can not understant the code directly, he/she must have to read the entire code and understand it's uses.
useEffect(() => {
// get item from local storage | |
export const getLocalStorage = (str)=>{ | |
try { | |
return localStorage.getItem(str); | |
} catch (error) { | |
// cookie is blocked | |
return false; | |
} | |
} |