Paste the following in your terminal, then press Enter and follow any prompts:
xcode-select --install
alias dkr-nuke='docker stop $(docker ps -a -q);docker rm $(docker ps -a -q);' | |
# create a directory and cd into it | |
mkcdir () | |
{ | |
mkdir -p -- "$1" && | |
cd -P -- "$1" | |
} | |
# helper for jira |
/* | |
* ----------------------------------------------------------------------------- | |
* A sample comment | |
* ----------------------------------------------------------------------------- | |
* | |
* This poetic style of comment has three features: Firstly the title is | |
* between two lines of dashes that extend to character eighty. Three lines | |
* of text describing the intent that extend out characters 73, 76 and then 79 | |
* | |
* ----------------------------------------------------------------------------- |
# This is a small set of aliases on servers I ssh into for cli navigation | |
# up & down map to history search once a command has been started. | |
bind '"\e[A":history-search-backward' | |
bind '"\e[B":history-search-forward' | |
alias e="echo $1" | |
alias ..="cd .." | |
alias ...="cd ../.." |
#!/usr/bin/bash | |
echo -e "\nNode version --------"; | |
node -v ; | |
echo -e "\nGit version ---------"; | |
git --version; | |
echo -e "\nui5 cli version -----"; | |
ui5 --version; | |
echo -e "\ncf cli version ------"; | |
cf --version; | |
echo -e "\nCAP version ---------"; |
v4l2loopback
) - Source: https://github.com/umlaeute/v4l2loopback (You might find builds in your distro's repos - I'm using Fedora so had to build it myself using https://github.com/danielkza/v4l2loopback-fedora/)It's been a little while since I set it all up so I can't remember all of the installation details, which will probably be different for your distro anyway unless you're using Fedora. Apologies if I have forgotten something as wel.
#!/bin/sh | |
ECHO='echo ' | |
for branch in $(git branch -a | sed 's/^\s*//' | sed 's/^remotes\///' | grep -v 'main$\|develop$'); do | |
if ! ( [[ -f "$branch" ]] || [[ -d "$branch" ]] ) && [[ "$(git log $branch --since "1 month ago" | wc -l)" -eq 0 ]]; then | |
if [[ "$DRY_RUN" = "false" ]]; then | |
ECHO="" | |
fi | |
local_branch_name=$(echo "$branch" | sed 's/remotes\/origin\///') | |
$ECHO git branch -d "${local_branch_name}" |
method get_caller_id. | |
data: uri type string | |
, body type string | |
, token type string | |
, agreements type string | |
, lo_response type ref to if_rest_entity | |
* , parser TYPE REF TO /ui5/cl_json_parser | |
, user type ref to data | |
, user_row type ref to data |
method get_assignment_group. | |
data: uri type string | |
, group type ref to data | |
, group_row type ref to data | |
, group_name type string | |
, response type ref to if_rest_entity | |
. | |
* read the group name from config * hard coded from now |