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
/* Overriding custom rails on delete action to provide a more beautiful modal confirmation */ | |
this.extendOnDeleteRailsAction = function() { | |
$.rails.allowAction = function(element) { | |
var $link, $modal_html, message, modal_html; | |
message = element.data('confirm'); | |
if (!message) { | |
return true; | |
} | |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.projectboard</groupId> | |
<artifactId>projectboard</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>Project Board</name> | |
<description>Project management dashboard.</description> |
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 - Logging as postgress | |
$ sudo su - postgres | |
2 - Creating a new user | |
$ createuser user | |
3 - Changing/Setting user password |
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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package br.com.example; | |
import java.util.Random; | |
import javafx.application.Application; | |
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; |
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
*{ | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
vertical-align: baseline; | |
font-family: 'Arial'; | |
} |
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
<p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();"/> | |
<p:dialog modal="true" widgetVar="statusDialog" showHeader="false" style="background: white;" | |
draggable="false" closable="false" resizable="false"> | |
<div align="center"> | |
<h:outputText value="#{mensagens['resultadoBuscaProdutoSES.carregando']}" /><br/><br/> | |
<p:graphicImage value="/resources/images/ajax-loader.gif" /> | |
</div> | |
</p:dialog> |
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 = 'US-ASCII'?> | |
<deployment-plan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" | |
xmlns="http://xmlns.oracle.com/weblogic/deployment-plan"> | |
<application-name>ApcCustom</application-name> | |
<variable-definition> | |
<variable> | |
<name>param</name> | |
<value>novo parametro</value> | |
</variable> |
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
executar /mid11117/Oracle_SOA1/common/bin/wlst.sh | |
sca_removeSharedData('http://192.168.57.49:8001', 'CustomerRelationship', 'weblogic', 'weblogic1') | |
sca_removeSharedData('http://192.168.57.49:8001', 'EBO', 'weblogic', 'weblogic1') | |
sca_removeSharedData('http://192.168.57.49:8001', 'Finance', 'weblogic', 'weblogic1') | |
sca_removeSharedData('http://192.168.57.49:8001', 'NaturaAPC', 'weblogic', 'weblogic1') |
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
<profile> | |
<id>sonar</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<properties> | |
<!-- Example for MySQL--> | |
<sonar.jdbc.url> | |
jdbc:mysql://localhost:3306/sonarqube?useUnicode=true&characterEncoding=utf8 | |
</sonar.jdbc.url> |
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
create database link dblink11g connect to 'remote_user' identified by 'remote_user_pass' | |
using '(description = (address = (protocol = tcp) (host = 'remote_host')(port = 'remote_port')) (connect_data = (sid = 'remote_sid')))'; |
OlderNewer