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
mkdir -p /home/zilli/zookeeper/zk-server-1 \ | |
/home/zilli/zookeeper/zk-server-2 \ | |
/home/zilli/zookeeper/zk-server-3 \ | |
/home/zilli/zookeeper/zk-server-4 \ | |
/home/zilli/zookeeper/zk-server-5 | |
mkdir -p /home/zilli/zookeeper/data/zk1 \ | |
/home/zilli/zookeeper/data/zk2 \ | |
/home/zilli/zookeeper/data/zk3 \ | |
/home/zilli/zookeeper/data/zk4 \ |
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
declare @tableName varchar(200) | |
declare @columnName varchar(200) | |
declare @nullable varchar(50) | |
declare @datatype varchar(50) | |
declare @maxlen int | |
declare @sType varchar(50) | |
declare @sProperty varchar(200) | |
DECLARE table_cursor CURSOR FOR |
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 | |
#-- Author: Bhagya Silva (https://about.me/bhagyas) | |
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password | |
#-- based on original code from : https://gist.github.com/m14t/3056747 | |
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'` | |
if [ -z "$REPO_URL" ]; then | |
echo "-- ERROR: Could not identify Repo url." | |
echo " It is possible this repo is already using SSH instead of HTTPS." | |
exit |