This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "_____________Tidy: rm old builds______________" | |
BRANCH_VER="task.WEB-61" | |
BRANCH_TAGS=('"${BRANCH_VER}"') | |
echo "branch: $BRANCH_VER" | |
echo "branch{}: ${BRANCH_VER}" | |
echo "branch_tags: $BRANCH_TAGS" | |
echo "branch_tags{}: ${BRANCH_TAGS[0]}" | |
tidy_branches() { | |
cd /mnt/efs/ci-user/Devv-Web |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Link": "<https://bast.test.devvio.com/core/block/info?page=2&perPage=3>; rel=\"next\", <https://bast.test.devvio.com/core/block/info?page=1&perPage=3>; rel=\"current\", <https://bast.test.devvio.com/core/block/info?page=141&perPage=3>; rel=\"last\", <https://bast.test.devvio.com/core/block/info?page=1&per_page=20>; rel=\"first\"", | |
"X-ITEM-TOTAL": "2820", | |
"act": "core/block/info", | |
"blockInfo": [ | |
{ | |
"blockHeight": "0", | |
"blockSize": "1078", | |
"blockTime": "1595435496832", | |
"blockVolume": "200", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var elapsed = 0; | |
var seconds_to_wait = 8; | |
function sleep(seconds){ | |
console.log('(Sleep) Elapsed Time : ' + elapsed); | |
if (elapsed < seconds){ | |
setTimeout("sleep("+seconds+")",1000);//This is called again in 1 second | |
} | |
elapsed += 1; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ensure posh-git/get-childitemcolor are loaded | |
Import-Module Get-ChildItemColor | |
Import-Module PSReadLine | |
function Test-Administrator { | |
$user = [Security.Principal.WindowsIdentity]::GetCurrent(); | |
(New-Object Security.Principal.WindowsPrincipal $user).IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) | |
} | |
function prompt { |

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notify: | |
if: always() | |
name: Notify | |
needs: | |
- job1 | |
- job2 | |
- job11 | |
- job3 | |
- job4 | |
runs-on: ubuntu-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "workshop-setup", | |
"version": "1.0.0", | |
"description": "This is the common setup script for most of my workshops", | |
"bin": "./setup.js" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Redirect output to stderr. | |
exec 1>&2 | |
# enable user input | |
exec < /dev/tty | |
consoleregexp='console.log' | |
# CHECK | |
if test $(git diff --cached | grep $consoleregexp | wc -l) != 0 | |
then |
Instructions to obtain ZSH on a windows environment, without the input funny business presented by some other attempted solutions.
The final result is ZSH running on a mintty terminal, emulated by cygwin, and being handled by the popular cmder.
For the benefit of myself and others. I've already followed these instructions twice. It took me hours to figure all this out, maybe someone else can save a few.
- Installing and setting up cmder
NewerOlder