git diff --no-prefix > [path file name]
patch -p0 < [path file name]
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | |
"http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd"> | |
<!-- | |
Checkstyle configuration that checks the sun coding conventions from: | |
- the Java Language Specification at | |
http://java.sun.com/docs/books/jls/second_edition/html/index.html |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Type; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; |
public class WithIndex<T> { | |
private int index; | |
private T value; | |
WithIndex(int index, T value) { | |
this.index = index; | |
this.value = value; | |
} | |
public int index() { |
https://github.com/microsoft/TypeScriptSamples |
sudo mysql -u root | |
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'test'; |
package com.ntst.services.mobile.util; | |
import javax.annotation.PostConstruct; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.stereotype.Component; | |
/** | |
* <p> |
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | |
<!-- | |
Checkstyle configuration that enforces deVero conventions during build time | |
--> |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Modifier; | |
import java.util.HashMap; | |
https://stackoverflow.com/questions/6680674/can-a-java-class-add-a-method-to-itself-at-runtime | |
public class GenericClass { | |
private HashMap<String, Method> methodMap = new HashMap<String, Method>(); |
will set these permissions to all files and | |
sudo chmod -R 755 * | |
sudo chmod 755 -R /opt/lampp/htdocs | |
-R - recursive ?? |