Skip to content

Instantly share code, notes, and snippets.

image: atlassian/default-image:2
pipelines:
branches:
dev:
- step:
script:
- git remote add sync [email protected]:techforum-repo/test1.git
- git checkout dev
- git pull
package com.cm.notofication.core.servlets;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.stream.Collectors;
import javax.servlet.Servlet;
image: atlassian/default-image:2
pipelines:
branches:
dev:
- step:
script:
- git remote add sync https://$CM_SYNC_USER_NAME:[email protected]/xxxx/xxxx/
- git checkout dev
- git pull
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Browser Storage Demos - Web Storage API </title>
<script type = "text/javascript">
//Check for browser support
if (typeof(Storage) !== "undefined") {
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Browser Storage Demos - IndexDB API </title>
<script type = "text/javascript">
//Check for browser support
if (window.indexedDB) {
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Browser Storage Demos - Web SQL API </title>
<script type = "text/javascript">
//Check for browser support
if (window.openDatabase) {
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Browser Storage Demos - Cache Storage API </title>
<script type = "text/javascript">
//Check for browser support
if('caches' in window) {
@import (once) "/libs/wcm/foundation/clientlibs/grid/grid_base.less";
/* maximum amount of grid cells to be provided */
@max_col: 12;
/* default breakpoint */
.aem-Grid {
.generate-grid(default, @max_col);
}

Pull the docker image

docker pull <<Image Name>> e.g docker pull sonarqube

Run Docker Image

docker run -d --name sonarqube -p 9000:9000 sonarqube:latest (-d In background, --name associate name for the container)

Self Signed SSL

Create an RSA-4096 key and save it to a file rootCA.key

openssl.exe genrsa -aes256 -out rootCA.key 4096

Create a root certificate through the key generated

openssl.exe req -x509 -new -nodes -key rootCA.key -sha256 -days 1460 -out rootCA.pem -config server.csr.cnf