Institutional Claim Request
{
"contractId": "103405",
"claimType": "HO",| aws ecr --region=us-west-2 describe-repositories | jq -r '.repositories[] | .repositoryName' | grep paul | xargs -L1 aws ecr --region=us-west-2 delete-repository --repository-name |
| :${1?addf name 'body'} | |
| func_filename="$FUNCS/$1" | |
| func_body=$2 | |
| if [[ -f $func_filename ]]; | |
| then | |
| echo "Existing found:" | |
| highlight $func_filename --syntax bash | |
| read -q "REPLY?Overwrite existing function?" | |
| fi |
| using System; | |
| using System.Linq; | |
| using Xunit; | |
| using Xunit.Abstractions; | |
| namespace Jail.Booking.ComponentTests | |
| { | |
| public class DebugTests | |
| { | |
| private readonly ITestOutputHelper _outputHelper; |
| #!/usr/bin/env bash | |
| set -x | |
| chmod +x "$1" | |
| docker build -t $1 -f- . <<EOF | |
| FROM osexp2000/ubuntu-with-utils | |
| COPY $1 ./ | |
| USER root | |
| ENTRYPOINT [ "bash", "$1" ] | |
| EOF |
| awk 'NR==FNR {a[$1]++; next} $1 in a' words myfile | |
| grep -Fw -f words myfile | |
| #* This would extract the lines in myfile that contains the words in the file words anywhere. | |
| #The strings in words are treated as fixed strings (not regular expressions) due to the -F option, and the -w option ensures that we only get lines that contains the exact same word (no matches of substrings in words are allowed). | |
| #The words in the file words most be listed on separate lines. |
| CURRENT_DIR=$(shell pwd) | |
| CI_COMMIT_SHORT_SHA=$(shell git rev-parse --short HEAD) | |
| BRANCH='branch' | |
| JOB='init-k8snet' | |
| gci: | |
| # 1) local gitlab-runner only pulls things that have been committed - temporarily commit | |
| (git add . && git commit -am "gitlab CI testing - temp commit") || true | |
| gitlab-runner exec docker ${JOB} \ | |
| # --env PRV_GKE_SA_KEY='/secrets/gcloud-key.json' \ |
| #!/usr/bin/env bash | |
| # chmod +x this script, put it in the parent directory, then call it with something like: | |
| # for d in */; do; cd "$d" && bash ../git-to-https.sh && cd ..; done | |
| # eg. if you have /src/repo1, /src/repo2, then put the script into /src, and run the loop from /src | |
| # you have to run it within a separate Bash instance because it uses 'exit' :) hence `bash ../git-to-https.sh` | |
| OUR_GIT_SERVER="gitlab.humanaedge.com" | |
| DIRNAME=`basename $PWD` |
| print -l zsh_demo/*/*(e:'[[ ! -e $REPLY/malta ]]':) | |
| # https://reasoniamhere.com/2014/01/11/outrageously-useful-tips-to-master-your-z-shell/ |
| #!/bin/bash | |
| # Usage: | |
| # wait-dns-ip.sh <hostname> | |
| # eg: wait-dns-ip.sh host.foo.com | |
| # | |
| # Will timeout after 5minutes (5 * 60 tries * 1 sec wait = 300 secs) | |
| DNS_IP="" | |
| COUNTER=0 | |
| while [ -z $DNS_IP ] && [ $COUNTER -lt 300 ]; do | |
| DNS_IP=$(nslookup $1.humanaedge.io | awk '/^Address: / { print $2 }') |