Skip to content

Instantly share code, notes, and snippets.


Lê Chí Dũng - レチーユン lechidung

Block or report user

Report or block lechidung

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lechidung / Install Athenz
Last active Aug 25, 2019
Install Athenz
View Install Athenz
sudo bin/zms start
sudo bin/zms stop
bin/ /root/athenz-zms-1.8.11/var/zms_server/certs/zms_cert.pem
View sync visual studio code
"url": "",
"forks_url": "",
"commits_url": "",
"id": "408324817b197e9e6c3bc239e59fa880",
"node_id": "MDQ6R2lzdDQwODMyNDgxN2IxOTdlOWU2YzNiYzIzOWU1OWZhODgw",
"git_pull_url": "",
"git_push_url": "",
"html_url": "",
"files": {
View Start a consumer on Kafka
> bin/ --bootstrap-server localhost:9092 --topic test --from-beginning
Message 1
Message 2
View Send messages in Kafka
> bin/ --broker-list localhost:9092 --topic test
Message 1
Message 2
View Use topic of Kafka
# Create topic with named "test"
bin/ --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic
# See topic test
bin/ --list --bootstrap-server localhost:9092 test
View Install and start Kafka
# 1. Download Kafka and Install
tar -xzf kafka_2.12-2.2.0.tgz
cd kafka_2.12-2.2.0
# 2. Start Zookeeper server (in new terminal)
bin/ config/ &
View Use Pulsar standalone
# 1. Consume a message
sudo bin/pulsar-client consume my-topic -s "first-subscription"
# 2. Produce a message
sudo bin/pulsar-client produce my-topic --messages "hello-pulsar 2"
lechidung / Install and start Start Pulsar standalone
Created Jul 9, 2019
Install and start Start Pulsar standalone
View Install and start Start Pulsar standalone
# 1. Install Java
sudo yum install java-1.8.0-openjdk
# 2. Download Apache Pulsar package
# 3. Unzip Apache Pulsar package
tar xvfz apache-pulsar-2.4.0-bin.tar.gz
# 4. Execute Apache Pulsar
lechidung / Bring Your Own Integrations
Created Jun 25, 2019
Bring Your Own Integrations
View Bring Your Own Integrations
- name: slack
type: docker-image
tag: latest
- name: slack-deploy
type: slack
View Rapid Local Iteration
~/booklit $ fly -t ci execute -c ci/test.yml
executing build 1 at http://localhost:8080/builds/1
booklit: 4.74 MiB/s 0s
running gopath/src/
fetching dependencies...
installing ginkgo...
running tests...
You can’t perform that action at this time.