git status -uno
This file contains hidden or 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
log4j.rootLogger = DEBUG, consoleAppender | |
# ------------------------------------------------------------------------ | |
# JAbaddon Category | |
# ------------------------------------------------------------------------ | |
log4j.category.com.jabaddon = DEBUG, consoleAppender | |
log4j.additivity.com.jabaddon = false | |
# ------------------------------------------------------------------------ | |
# Apache Commons |
This file contains hidden or 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
<soapenv:Envelope xmlns:sch="http://www.itbrain.com.mx/vacaciones/schemas" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soapenv:Header> | |
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-1"> | |
<wsse:Username>Rafael</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">rafael</wsse:Password> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soapenv:Header> | |
<soapenv:Body> |
This file contains hidden or 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
dataSource { | |
pooled = true | |
driverClassName = "com.mysql.jdbc.Driver" | |
username = "root" | |
password = "****" | |
dialect = org.hibernate.dialect.MySQL5InnoDBDialect | |
properties { | |
maxActive = 50 | |
maxIdle = 25 | |
minIdle = 5 |
This file contains hidden or 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
import static org.junit.Assert.*; | |
import static org.hamcrest.MatcherAssert.assertThat; | |
import static org.hamcrest.Matchers.is; | |
import static org.hamcrest.Matchers.equalTo; | |
import static org.hamcrest.Matchers.equalToIgnoringCase; | |
import static org.hamcrest.Matchers.hasItem; | |
import static org.hamcrest.Matchers.hasItems; | |
import static org.hamcrest.Matchers.isOneOf; | |
import static org.hamcrest.Matchers.not; |
This file contains hidden or 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"?> | |
<configuration> | |
<appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender"> | |
<append>false</append> | |
<encoder> | |
<pattern>%d{HH:mm:ss.SSS} %-5level [%thread][%logger{0}] %m%n</pattern> | |
</encoder> | |
</appender> | |
<appender name="fileAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
List databases that match a pattern:
psql -c "\l" | grep <pattern>
Drop a database from the command line:
psql -c "drop database <database>"
This file contains hidden or 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
SELECT | |
name, last_name, salary | |
FROM employees |
This file contains hidden or 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
from e in Employee, | |
select: [e.name, | |
e.last_name, | |
e.salary] |
OlderNewer