git diff --no-prefix > [path file name]
patch -p0 < [path file name]
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
import { createConstAndAction, createFetchTypesAndFuncs } from './utils'; | |
export const { PRODUCTS, products } = createFetchTypesAndFuncs('products'); | |
export const { LOAD_PRODUCTS, loadProducts } = createConstAndAction('LOAD_PRODUCTS'); | |
// these actions is for pull-to-load-more | |
export const { LOAD_MORE_PRODUCTS, loadMoreProducts } = createConstAndAction('LOAD_MORE_PRODUCTS'); |
Please visit https://asistencia.in/blogs/1-mysql-5-5-installation-guide
Thank you
<?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 |
/* eslint-disable import/no-extraneous-dependencies, prefer-template */ | |
// const validateBoolOption = (name, value, defaultValue) => { | |
// if (typeof value === 'undefined') { | |
// value = defaultValue; | |
// } | |
// if (typeof value !== 'boolean') { | |
// throw new Error(`Preset react-app: '${name}' option must be a boolean.`); | |
// } |
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> |
https://www.sitepoint.com/using-java-bean-validation-method-parameters-return-values/ | |
https://github.com/eugenp/tutorials |