spring.jpa.show-sql=true
#####or in file persistence.xml Activate the property for True
#!/bin/bash | |
# get latest docker compose released tag | |
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4) | |
# Install docker-compose | |
sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose" | |
chmod +x /usr/local/bin/docker-compose | |
sh -c "curl -L https://raw.githubusercontent.com/docker/compose/${COMPOSE_VERSION}/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose" |
package global.visto.tasks.util; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import org.springframework.stereotype.Service; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import java.util.Map; | |
/** |
# ~/.config/terminator/config | |
[global_config] | |
enabled_plugins = CustomCommandsMenu, ActivityWatch, TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, MavenPluginURLHandler, LaunchpadBugURLHandler | |
suppress_multiple_term_dialog = True | |
[keybindings] | |
switch_to_tab_1 = Insert | |
[profiles] | |
[[default]] | |
scrollback_lines = 900000 |
package br.com.arizona.visto.system.dam.util; | |
import java.io.File; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.util.*; | |
/** | |
* Percorre uma árvore em profundidade. |
package global.visto.core.service; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
/** | |
* Classe que varre arvore buscando descentes e ascendentes a partir de um nó | |
* Created by felipe on 19/01/16. |
'use strict'; | |
const findJob = (jobs, id) => { | |
const found = jobs.filter(job => job.id === id); | |
return found.length === 0 ? null : found[0]; | |
}; | |
const ancestors = (jobs, id, curr) => { | |
if (!curr) { | |
curr = []; |
#!/bin/bash | |
# | |
BASE=$1 | |
LOCAL=$2 | |
REMOTE=$3 | |
MERGED=$4 | |
# echo "Base (b), Local: (l), Remote: (r)" | |
# echo -n "which file to choose [b/l/r]: " | |
# read opt |
#install the Meld in your terminal | |
apt-get install meld | |
#Do Download of file git_mergetool_opt.sh | |
https://gist.github.com/felipebizz/a7a54b4f6a3e091925f5 | |
#Let this file in ~/ | |
#open your file gitconfig and add this piece of code | |
[mergetool "git_mergetool_opt"] |
#execute without tests | |
mvn clean install -Dmaven.test.skip=true |