#GIT
- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
| package javacomomethods; | |
| public class NewClass { | |
| public static void main(String[] args) { | |
| int[] x = {5,8,9,6,2,1,3,3,1,2,3,4,14}; | |
| int[] frequencia = new int [8]; | |
| for (int i = 0; i < x.length; i++) { |
| public class Varags { | |
| static int soma(int a,int b) { | |
| return a + b; | |
| } | |
| static int soma(int a, int b, int c) { | |
| return a + b + c; | |
| } | |
| public class Break { | |
| public static void main(String[] args) { | |
| labelForI: for (int i = 0; i < 10; i++) { | |
| for (int j = 0; j < 10; j++) { | |
| if(j==5 && i==3){ | |
| break labelForI; | |
| } | |
| System.out.println("O valor de i é:"+i+" O valor de j é:"+j); | |
| } |
| package singletone; | |
| // **** o código aqui não utiliza do padrão de projeto, apenas uma forma de implementação sem ele. **** | |
| // a ideia geral é ter uma intância de apenas uma classe e dar acesso global para ela. | |
| public class Singleton { | |
| private String name,color; | |
| private double feet; | |
| public Singleton(String name,double feet,String color) { | |
| super(); |
| package operacao_kotlin.android.dominando.operacao1 | |
| import android.support.v7.app.AppCompatActivity | |
| import android.os.Bundle | |
| import android.widget.Button | |
| import android.widget.EditText | |
| import android.widget.TextView | |
| import android.widget.Toast | |
| class Operacao : AppCompatActivity() { |
| package TestArea; | |
| /** | |
| * | |
| * @author DHEYSON | |
| */ | |
| public class Aluno implements Comparable<Aluno> { | |
| private String nome; | |
| private String matricula; | |
| private int idade; |
| package br.com.sabort.telas; | |
| import java.sql.*; | |
| import br.com.sabort.dal.ModuloConexao; | |
| import javax.swing.JOptionPane; | |
| /** | |
| * | |
| * @author DHEYSON | |
| */ |
Free O'Reilly books and convenient script to just download them.
Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post
How to use:
download.sh file and put it into a directory where you want the files to be saved.cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.To Clean out ALL vim Swap Files in a Directory: If you are sure you don’t need any vim swap files in a directory tree and want to get rid of them, you can use the following command in the directory while vim is not running (not even in another window or even a different login session):
find . -type f -name "*.sw[klmnop]" -delete