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
(function() { | |
var script = document.createElement('script') | |
script.setAttribute("type", "text/javascript") | |
script.setAttribute("src", "https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js") | |
document.getElementsByTagName("head")[0].appendChild(script) |
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
HBase bao gồm những gì. | |
- Mỗi table bao gồm nhiều row. | |
- Mỗi row được xác định bởi 1 rowKey duy nhất. Tương đương primary-key trong csdl thông thường. | |
- Mọi truy cập vào bảng đều thông qua khóa chính này. | |
- Mỗi row trong 1 table luôn được sắp sếp theo thứ tự từ điển theo rowkey. | |
- Mỗi row bao gồm nhiều columns khác nhau. | |
- Nhiều column gộp thành 1 column families. | |
- Column families được khai báo dưới dạng "families:qualifier". families là tên của columns families qualifier để xác định column | |
- Column qualifier gần như không giới hạn nội dung, độ dài, kiểu dữ liệu. Dữ liệu có | |
thể thêm không hạn chế vào column qualifier. Đây là 1 trong những yếu tố làm việc lưu |
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
Serialization | |
The process of translating data structures or object states into a format that can be stored or transmitted and reconstructed later, possibly in a different computer enviroment. | |
Serializer vs Deserializer | |
Serialization formats: | |
Binary? Data is transmitted/stored as bytes or plaintext | |
Binary serialization format use less band width | |
Confluent Community License | |
You can acess the source code and modify or redistribute it; there is no only one thing you can not do, and that is use it to make a competing SaaS offering. | |
KSQL |
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
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
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
min=20 | |
max=70 | |
temps=($(sensors |grep 'Core'|awk '{print substr($3 , 2 , 2)}')) | |
for i in "${temps[@]}" | |
do | |
temp=$i | |
if [ $temp -gt $max ] || [ $temp -lt $min ]; | |
then | |
notify-send "Temperature Warning" "CPU $core $temp°C" | |
break; |
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
Key Sublime Text 3.2.1 Build 3207 | |
----- BEGIN LICENSE ----- | |
Member J2TeaM | |
Single User License | |
EA7E-1011316 | |
D7DA350E 1B8B0760 972F8B60 F3E64036 | |
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD | |
FA0A2ABE 25F65BD8 D51458E5 3923CE80 | |
87428428 79079A01 AA69F319 A1AF29A4 | |
A684C2DC 0B1583D4 19CBD290 217618CD |
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 clone ssh://git@62.4.19.165:9000/pointex-dev/manhattan-project.git | |
- remember add "ssh://" before git link | |
".git" is optional, working with both .git and without .git |
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
3. Do you speak English | |
4. A little but not very well. | |
5. What is your name? | |
6. My name 's Tuan | |
7. What do you do? | |
8. I'm a student. engineer, soft | |
9. how old are you? | |
10. I'm thirty year old | |
11. where do you come from? | |
12. i come from Vietnam, Chinese, Japan, Franch |
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
- precondition | |
1. Turn off firewalld | |
2. Disable selinux | |
following this guide | |
https://www.digitalocean.com/community/tutorials/how-to-configure-a-galera-cluster-with-mariadb-on-centos-7-servers#step-6-%E2%80%94-creating-a-selinux-policy | |
cai haproxy | |
https://www.datadoghq.com/blog/how-to-collect-haproxy-metrics/ |
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
1. View dependency:tree | |
mvn dependency:tree | |
2. install jar to localhost | |
mvn install:install-file -Dfile=/home/ldt/Downloads/hitutils.jar -DgroupId=com.ldt -DartifactId=hit -Dversion=1.0 -Dpackaging=jar | |
3. install jar file to nexus repository | |
mvn deploy:deploy-file -DgroupId=com.ldt \ | |
-DartifactId=hit \ | |
-Dversion=1.0 \ |