Files are below.
For VSCode, paste it here: https://snippet-generator.app/
git clone https://github.com/jhipster/generator-jhipster.git --depth=1 | |
cd generator-jhipster | |
npm i | |
npm link |
Files are below.
For VSCode, paste it here: https://snippet-generator.app/
version: "3" | |
networks: | |
kong-net: | |
driver: bridge | |
services: | |
####################################### | |
# Postgres: The database used by Kong |
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description></description> | |
<keepDependencies>false</keepDependencies> | |
<properties/> | |
<scm class="hudson.plugins.git.GitSCM" plugin="git@2.5.2"> | |
<configVersion>2</configVersion> | |
<userRemoteConfigs> | |
<hudson.plugins.git.UserRemoteConfig> |
# Last updated: 08/24/2916 | |
# | |
# Total instructions available: 18 | |
# | |
# https://docs.docker.com/engine/reference/builder/ | |
# | |
# You can use a .dockerignore file in the same context directory as | |
# your Dockerfile to ignore files in the context before sending them | |
# to the Docker daemon for building to speed up building. |
version: "3.7" | |
services: | |
drupal: | |
image: drupal:8.7 | |
ports: | |
- 8080:80 | |
volumes: | |
- drupal-modules:/var/www/html/modules | |
- drupal-profiles:/var/www/html/profiles | |
- drupal-themes:/var/www/html/themes |
jshell> LocalDateTime ldt = LocalDateTime.now(); | |
ldt ==> 2019-04-27T16:56:46.267683 | |
jshell> String dateTime = ldt.format(DateTimeFormatter.ofPattern("yyyyMMdd")); | |
dateTime ==> "20190427" | |
jshell> import java.nio.file.Path; | |
jshell> import java.nio.file.Paths; |
jshell> // Passing Formatters to LocalDateTime format method | |
jshell> LocalDateTime ldt = LocalDateTime.now(); | |
ldt ==> 2019-04-27T16:53:28.272418 | |
jshell> ldt.format(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.SHORT)); | |
$82 ==> "4/27/19, 4:53 PM" | |
jshell> ldt.format(DateTimeFormatter.ofLocalizedTime(FormatStyle.SHORT)); | |
$83 ==> "4:53 PM" |
jshell> // Passing Formatter to LocalTime format method | |
jshell> import java.time.LocalTime; | |
jshell> LocalTime lt = LocalTime.now(); | |
lt ==> 16:48:31.159343 | |
jshell> "SHORT: " + lt.format(DateTimeFormatter.ofLocalizedTime(FormatStyle.SHORT)); | |
$77 ==> "SHORT: 4:48 PM" |
jshell> // Localized formatting for LocalDate | |
jshell> import java.time.LocalDate; | |
jshell> LocalDate ld = LocalDate.now(); | |
ld ==> 2019-04-27 | |
jshell> import java.time.format.FormatStyle; | |
jshell> "SHORT: " + ld.format(DateTimeFormatter.ofLocalizedDate(FormatStyle.SHORT)); |