##Router 1 | |
show ip interface brief | |
interface G0/0 | |
no shutdown | |
interface G0/1.5 | |
encapsulation dot1q 5 | |
ip address 192.10.20.1 255.255.255.0 | |
exit |
Router1(config)#show running-config | |
^ | |
% Invalid input detected at '^' marker. | |
Router1(config)#do show running-config | |
Building configuration... | |
Current configuration : 3971 bytes |
C:\IBM\WebSphere\AppServer\java\jre\lib\security | |
Edit java.security | |
You can comment these to download and then set them back | |
#ssl.SocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLSocketFactory | |
#ssl.ServerSocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLServerSocketFactory |
# ***************************************************************************** | |
# BASICS | |
# ***************************************************************************** | |
redis-server /path/redis.conf # start redis with the related configuration file | |
redis-cli # opens a redis prompt | |
# ***************************************************************************** |
I came across HikariCP
and I was amazed by the benchmarks and I wanted to try it instead of my default choice C3P0
and to my surprise I struggled to get the configurations
right probably because the configurations differ based on what combination of tech stack you are using.
I have setup Spring Boot
project with JPA, Web, Security
starters (Using [Spring Initializer][1]) to use PostgreSQL
as a database with HikariCP
as connection pooling.
I have used Gradle
as build tool and I would like to share what worked for me for the following assumptions:
- Spring Boot Starter JPA (Web & Security - optional)
- Gradle build tool
- PostgreSQL running and setup with a database (i.e. schema, user, db)
This gist is related to SO post https://stackoverflow.com/questions/26490967/how-do-i-configure-hikaricp-in-my-spring-boot-app-in-my-application-properties-f
If you need the w3 schema:
Go to the folder where you want to generate the service.
Create this file: xsd.xjb
<bindings xmlns="http://java.sun.com/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
created() { | |
window.addEventListener('message',(e) => { | |
if(e.data.eventName === 'UPDATE_STATE') { | |
console.log(e.data.params.duration) | |
} | |
}); | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js"></script> | |
<script src="https://unpkg.com/@mapbox/mapbox-sdk/umd/mapbox-sdk.min.js"></script> | |
<script src="https://unpkg.com/@rtirl/api@latest/lib/index.min.js"></script> | |
<link | |
href="https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.css" | |
rel="stylesheet" | |
/> |
<html> | |
<head> | |
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase.js"></script> | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" | |
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" | |
crossorigin="anonymous" /> | |
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" | |
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" | |
crossorigin="anonymous"></script> | |
</head> |