Objective
Learn to use:
-
Java
Is a general-purpose programming language that is class-based, object-oriented and designed to have as few implementation dependencies as possible.
Wikipedia -
Git
Is a distributed version-control system for tracking changes in source code during software development.
Wikipedia -
Command Line
A command-line interface or command language interpreter (CLI), also known as command-line user interface, console user interface and character user interface (CUI), is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines).
Wikipedia
Downloads
Links of updated programs to 2019-04-20.
-
Command Line
-
Windows
- Keys: Windows + R
-
Command
Cmd
-
Mac
- Keys: Shift + Cmd + U
-
Command
Terminal
-
Linux
- Locally:
- Keys: Alt+F1~7
or -
Command
Terminal
- Keys: Alt+F1~7
- Remotely:
-
Command
ssh ip-address
or
ssh name-of-system
-
- Locally:
-
Java
-
Version validation
-
Command
javac --version
- Windows
- Mac
- Linux
-
-
Program creation
-
Code (Principal.java)
class Principal { private static void dormir() { try { Thread.sleep(5000); } catch (InterruptedException ex) { Thread.currentThread().interrupt(); } } public static void main(String[] args) { System.out.println("3"); dormir(); System.out.println("2"); dormir(); System.out.println("1"); } }
- Windows
- Mac
- Linux
-
-
Program display
- Windows
- Mac
- Linux
-
Program modification
- Windows
- Notepad
- Mac
- vi, vim
- nano
- Linux
- vi, vim
- nano
- Windows
-
Program compilation
- Windows
- Mac
- Linux
-
Program execution
- Windows
- Mac
- Linux
Git
-
Version validation
-
Command
git --version
- Windows
- Mac
- Linux
-
Repository initialization
-
Command
git init
-
Windows | Mac | Linux
-
Ignore include bytecode
-
Command
.gitignore
-
Windows | Mac | Linux
-
Adding files
-
Command
git add .
-
Windows | Mac | Linux
-
Git configuration
-
Commands
git config --global user.email "usuario@correo.com" git config --global user.email "Nombre de Usuario"
-
Windows | Mac | Linux
-
Consolidation of changes
-
Command
git commit -m "Description of the consolidation"
-
Windows | Mac | Linux
-
Connect repo-local to remote
-
NOTE: The repository must exist.
See example of Create repository on Github -
Command :w
git remote add origin https://github.com/USER/PATH.git
-
Windows | Mac | Linux
-
-
Send changes to the repo-remote
-
Command
git push -u origin master
-
Windows | Mac | Linux
-
See consolidation in GitHub
-
Windows | Mac | Linux
References
- Pro Git book
- Java desde Cero
- git - la guía sencilla
- Java Programming Cheatsheet
- Java: manual de referencia, 7ma Edición
MADE WITH BY NELBREN