STEP 1: First Install HomeBrew, download it from http://brew.sh
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
STEP 2: Install Hadoop
$ brew search hadoop
$ brew install hadoop
git reset --hard origin/{branchName} |
STEP 1: First Install HomeBrew, download it from http://brew.sh
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
STEP 2: Install Hadoop
$ brew search hadoop
$ brew install hadoop
#Install Python 3 | |
brew install python3 | |
#pip is installed alongside python 3 | |
#Running brew install pip3 will return: No available formula with the name "pip3" |
#Show all git config | |
git config --list | |
#Set your username | |
git config --local user.name= booboo | |
#Set your email address | |
git config --local user.email= booboo@boo.com | |
#Use a specific editor | |
git config --global core.editor "vim"~ |
git log --oneline --decorate --all --graph |
kafka-topics.sh --delete --zookeeper localhost:2181 --topic my_topic |
ls -l --block-size=M |
kafka-topics --create --topic atopic --zookeeper localhost:2181 --partitions 1 --replication-factor 1 |
zookeeper-server-start.sh
- starting Zookeeperkafka-server-start.sh
- start Kafkakafka-topics.sh
- manage topics in Kafkakafka-console-producer.sh
- script for sending messages to Kafka topickafka-console-consumer.sh
- script for consuming messages from Kafka topickafka-run-class.sh
- script for running different tools (list of tools can be found here)add_filter( ‘gutenberg_can_edit_post_type’, ‘can_edit_post_types’ ); | |
function can_edit_post_types( $can_edit, $post_type ) { | |
If ( in_array( $post_type, array( ‘a_post_type’, ‘another_post_type’ ) ) { | |
return false; | |
} | |
return $can_edit; | |
} |