This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using maven ant plugin for weblogic deployment. First, configure your pom.xml as below. Try the following maven command to execute the plugin goal: | |
mvn clean package antrun:run | |
Configuration: | |
<build> | |
<finalName>artifactName</finalName> | |
<plugins> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"> | |
<persistence-unit name="order-old" transaction-type="RESOURCE_LOCAL"> | |
<class>model.Order</class> | |
<class>model.OrderLine</class> | |
<class>model.Customer</class> | |
<properties> | |
<!-- Change this to access your own database. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER DATABASE app DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
var inputDateCurrentId = ''; | |
$("a[id$='idEndDt\\:\\:glyph']").click(function(evt) { | |
inputDateCurrentId = 'idEndDt'; | |
}); | |
$("a[id$='idStartDt\\:\\:glyph']").click(function(evt) { | |
inputDateCurrentId = 'idStartDt'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First: http://giordanomaestro.blogspot.com.br/2015/02/install-jdbc-driver-on-wildfly.html | |
Second: http://blog.squins.com/2014/12/adding-a-mysql-jndi-datasource-to-jboss-wildfly-via-cli/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 - Gtk-Message: Failed to load module "pantheon-filechooser-module" | |
2 - Gtk-Message: Failed to load module "canberra-gtk-module" | |
$ sudo apt-get install libcanberra-gtk-module | |
3 - Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First you have to ensure the Java JRE is installed on your system. | |
Remember the java plugin will only work on Firefox. If you prefer to install from fedora/rhel repos: | |
sudo dnf (yum) install java-1.8.0-openjdk icedtea-web | |
download the snx script installer from the Checkpoint VPN page: | |
https://<your company vpn ip addr>/sslvpn/SNX/INSTALL/snx_install.sh | |
run int as root to install | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBootApplication | |
public class Application { | |
@PostConstruct | |
void started() { | |
TimeZone.setDefault(TimeZone.getTimeZone("UTC")); | |
} | |
public static void main(String[] args) { | |
SpringApplication.run(Application.class, args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |