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 org.openjdk.jmh.annotations.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Objects; | |
import java.util.Random; | |
import static java.util.stream.Collectors.joining; | |
import static java.util.stream.Collectors.toList; |
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
nvidia-driver-update 510.60.02 | |
while [ $? -ne 0 ]; do | |
sleep 5 | |
nvidia-driver-update 510.60.02 | |
done |
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
Properties properties = new Properties(); | |
properties.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); | |
properties.put(Context.PROVIDER_URL, "t3://external.host.com:8001"); | |
jndiContext = new InitialContext(properties); |
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
-- 1: Query used to discover the table indexes. | |
select | |
table_name, | |
index_name, | |
column_name | |
from | |
dba_ind_columns | |
where table_name = &table | |
order by | |
table_name, |
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
URL: | |
jdbc:oracle:thin:@host01:1571:dsv | |
Nome da Classe do Driver: | |
oracle.jdbc.xa.client.OracleXADataSource | |
SQL Inicial: | |
SQL ALTER SESSION SET NLS_LANGUAGE='PORTUGUESE' NLS_TERRITORY='BRAZIL' |
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
# | |
# C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\sqlnet.ora | |
# | |
# This file is actually generated by netca. But if customers choose to | |
# install "Software Only", this file wont exist and without the native | |
# authentication, they will not be able to connect to the database on NT. | |
SQLNET.AUTHENTICATION_SERVICES = (none) |
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
/** | |
* | |
*/ | |
package br.com.util.conversor; | |
import java.util.Date; | |
import java.util.GregorianCalendar; | |
import javax.xml.datatype.DatatypeConfigurationException; | |
import javax.xml.datatype.DatatypeFactory; |
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
-Dhttps.proxyHost=localhost | |
-Dhttps.proxyPort=8080 | |
-Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true |
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
package com.hcllearning.webservice; | |
import javax.jws.WebMethod; | |
import javax.jws.WebParam; | |
import javax.jws.WebResult; | |
import javax.jws.WebService; | |
/* | |
* Use wsgen to generate web service artifacts |
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
package mail.client; | |
import java.util.Enumeration; | |
import java.util.Properties; | |
import javax.mail.Address; | |
import javax.mail.Folder; | |
import javax.mail.Message; | |
import javax.mail.Session; | |
import javax.mail.Store; |
NewerOlder