alias clear-dns-cache='sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache;say MacOS DNS cache has been cleared, Sir JB'
# Liferay Hacks
export LR_DATE=${LR_DATE:-$(date +%Y-%m-%d)}
export LR_HOME=/Users/john.bryan.j.sazon/Servers/liferay/liferay-dxp-digital-enterprise-7.0-sp4
export LR_TOMCAT_HOME=/Users/john.bryan.j.sazon/Servers/liferay/liferay-dxp-digital-enterprise-7.0-sp4/tomcat-8.0.32| hello | |
| world | |
| dog | |
| cat | |
| fish | |
| car | |
| golang |
To test these go to Manage Jenkins --> Script Console.
oc adm policy add-scc-to-user anyuid -z serviceAccountName -n namespaceName
oc policy add-role-to-user system:image-puller system:serviceaccount:destinationProject:serviceAccount --namespace=sourceProject
In this example, we are exposing the oracle-xe deployment config containerPort 1521 to nodePort 30401.
| const net = require('net'); | |
| const sockets = []; | |
| const server = net.Server((socket) => { | |
| sockets.push(socket); | |
| socket.on('data', (data) => { | |
| for (let i=0; i < sockets.length; i++) { | |
| sockets[i].write(data); | |
| } |
Rebasing develop branch from the latest changes of master branch.
git clone http://projectA.git -b develop
git pull --rebase origin master
# Resolve merge conflicts
git add <the resolved files>
git rebase --continue
git commit -m "Merged from master branch" # or git commit --amend -m "Overwriting the current commit"Create the file $HOME/.vimrc with this content.
set paste
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4Sample errors that can be found at the bottom of $INST_TOP/admin/log/ApplyAppsTier_xxxx.log
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:Please watch: https://www.youtube.com/watch?v=yFPYGeKwmpk
Based from https://docs.openshift.org/latest/install_config/install/advanced_install.html, we will install Openshift Origin on a single host that will act as a single master node (schedulable).