Headings from h1
through h6
are constructed with a #
for each level:
# h1 Heading
## h2 Heading
### h3 Heading
cd repository | |
git checkout --orphan orphan_name | |
git rm -rf . | |
rm '.gitignore' | |
echo "#Title of Readme" > README.md | |
git add README.md | |
git commit -a -m "Initial Commit" | |
git push origin orphan_name |
{ | |
"apiEndpoint": "https://ipaas-staging.b6ff.rh-idev.openshiftapps.com/api/v1", | |
"title": "Syndesis", | |
"datamapper": { | |
"baseJavaServiceUrl": "https://ipaas-staging.b6ff.rh-idev.openshiftapps.com/v2/atlas/java/", | |
"baseMappingServiceUrl": "https://ipaas-staging.b6ff.rh-idev.openshiftapps.com/v2/atlas/" | |
}, | |
"oauth": { | |
"clientId": "ipaas-ui", | |
"scopes": [], |
export COOKIE='' # the value of _oauth_proxy cookie from browser | |
curl -k -H "Cookie: _oauth_proxy=$COOKIE" -H 'Accept: application/json' -H 'Content-Type: application/json' -XPOST -d @new-petstore-api-connector.json https://syndesis.$(minishift ip).nip.io/api/v1/connectors/custom |
echo $(oc exec $(pod=$(oc get pod -o=name -l component=syndesis-rest); echo ${pod#pods/}) -- unzip -c runtime.jar META-INF/MANIFEST.MF|grep '^Git-Commit-Id:') | |
git rev-parse HEAD |
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel
/part #channel
# Adapted from https://tinyapps.org/blog/nix/201701240700_convert_asciidoc_to_markdown.html | |
# Using asciidoctor 1.5.6.1 and pandoc 2.0.0.1 | |
# Install pandoc and asciidoctor | |
$ sudo apt install asciidoctor | |
$ sudo wget https://github.com/jgm/pandoc/releases/download/2.0.0.1/pandoc-2.0.0.1-1-amd64.deb | |
$ sudo dpkg -i pandoc-2.0.0.1-1-amd64.deb | |
# Convert asciidoc to docbook using asciidoctor |
Hello (<-- two spaces)
World
Hello
World
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Created: 2010/12/05 | |
// Updated: 2018/09/12 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
// |