- To create ssh secret:
oc create secret generic sshsecret \
--from-file=ssh-privatekey=$HOME/.ssh/id_rsa
| #!/bin/bash | |
| dateValue='' | |
| newDate=$(date +"%m_%d_%Y") | |
| if [ -f /tmp/brew_update_date.txt ]; then | |
| dateValue=$(</tmp/brew_update_date.txt) | |
| fi | |
| if [ ! -f /tmp/brew_upgrade.lock ]; then | |
| touch /tmp/brew_upgrade.lock |
| #!/usr/bin/env bash | |
| LC_CTYPE=C | |
| LANG=C | |
| FILE=$1 | |
| for props in $(cat $FILE | cut -d= -f 1 | grep -v ^$ | grep -v \# | grep -v "^\ "); do | |
| LINE=$(grep "^$props" $FILE | awk -F= '{print $2}') | |
| if [[ $LINE == *'${'* ]]; then | |
| IFS=',' read -r -a array <<< "$LINE" | |
| for element in "${array[@]}" | |
| do |
| <?php | |
| /** | |
| * @see: typo3_src/typo3/sysext/core/Configuration/DefaultConfiguration.php | |
| */ | |
| /** | |
| * If phpredis extension exists, set cache backends to redis | |
| */ | |
| if (extension_loaded('redis')) { |
| --- | |
| provisioner: | |
| name: chef_solo | |
| require_chef_omnibus: false | |
| chef_omnibus_root: <%= ENV.fetch('CHEF_OMNIBUS_ROOT', '/opt/chefdk') %> | |
| environments_path: '../../environments' | |
| solo_rb: | |
| environment: development | |
| # we need to make global driver and provisioner section empty as there is no comon default |
| #!/bin/bash | |
| DL_URL='http://my-remote-url' | |
| # assumes that for each file a same file with .sha256 extension exists | |
| DUMPS="dlfile1 dlfile2" | |
| for i in ${DUMPS}; do | |
| while [ "x$(curl --silent "${DL_URL}/${i}.sha256" -o ${i}.sha256 && cat ${i}.sha256 | cut -d ' ' -f 1)" != "x$(sha256sum "${i}" 2>/dev/null | cut -d ' ' -f 1)" ]; do | |
| echo "Downloading file ${i} ..." | |
| curl --silent -L -O ${DL_URL}/${i} | |
| done | |
| done |
| options { | |
| // enable upload fields in Element Browser | |
| uploadFieldsInTopOfEB = 1 | |
| createFoldersInEB =1 | |
| //Add save-and-new to all forms | |
| saveDocNew = 1 | |
| // better Page tree | |
| pageTree { | |
| showNavTitle = 1 | |
| showPageIdWithTitle = 1 |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # This script was originally written by Matt Craig | |
| # Original Version can be found here: | |
| # http://taggedzi.com/articles/display/bash-shell-script-to-mount-remote-systems-using-sshfs | |
| # This script was adapet to work on OSX by Daniel Zabel | |
| # This script comes with NO Warranty. Make sure you read the script | |
| # And understand what it does before you use it. It is Your responsibility | |
| # to ensure this does what you want it to do BEFORE you run it. |