This file contains 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
pkgname=libzookeeper | |
pkgver=3.8.4 | |
pkgrel=1 | |
pkgdesc="The Apache ZooKeeper system for distributed coordination is a high-performance service for building distributed applications." | |
url="https://zookeeper.apache.org" | |
arch="all" | |
license="Apache-2.0" | |
subpackages="$pkgname-dev" | |
options="!check" # No test suite | |
source="https://dlcdn.apache.org/zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4.tar.gz" |
This file contains 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 | |
# Load variables | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
source "$DIR/variables.sh" | |
# Read pod name into variable (allowed only valid pod names) | |
read_pod_name() { | |
while read -p "Open shell for pod name: " POD_NAME </dev/tty | |
do |
This file contains 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 | |
REPO_NAME=$(basename "$PWD") | |
$(explorer.exe "https://server.com/project/_git/magento2-"$REPO_NAME"") |
This file contains 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 | |
COLOR_RED="\033[0;31m" | |
clear | |
# iterate folders | |
ls -d */ | tr -d "/" | while read -r folder; | |
do | |
GIT_TOPLEVEL_FOLDER=$(git -C $folder rev-parse --show-toplevel) |
This file contains 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
git config --global alias.last 'log -1 HEAD' |
This file contains 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 "SSH agent init script" | |
env=~/.ssh/agent.env | |
agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } | |
agent_start () { | |
echo "Starting new SSH agent" |
This file contains 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
git config --global push.default current |
This file contains 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 | |
clear | |
prefix="" | |
ls -d */ | while read -r folder; | |
do | |
cd "$folder" | |
echo "Before:" |
This file contains 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
# GIT bash integration | |
if [[ -e /usr/lib/git-core/git-sh-prompt ]]; then | |
source /usr/lib/git-core/git-sh-prompt | |
export GIT_PS1_SHOWCOLORHINTS=true | |
export GIT_PS1_SHOWDIRTYSTATE=true | |
export GIT_PS1_SHOWUNTRACKEDFILES=true | |
export GIT_PS1_SHOWUPSTREAM="auto" |
This file contains 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
cd submodule | |
git reset --hard HEAD | |
git clean -fd . | |
cd .. | |
git submodule update --init --recursive |
NewerOlder