Skip to content

Instantly share code, notes, and snippets.

123456
password
12345678
qwerty
123456789
12345
1234
111111
1234567
dragon
(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)
update
/opt/jasperreports-server-cp-5.6.0/apache-tomcat/webapps/jasperserver/WEB-INF/web.xml
add folling configuration
<filter>
<filter-name>CorsFilter</filter-name>
<filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CorsFilter</filter-name>
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
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
@ledangtuanbk
ledangtuanbk / .screenrc
Created May 4, 2020 09:22 — forked from joaopizani/.screenrc
A killer GNU Screen Config
# 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
@ledangtuanbk
ledangtuanbk / Temperature.sh
Created February 7, 2020 08:39
Warning CPU Temperature
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;
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
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
1. view ssl certificate text
openssl x509 -in cerfile.cer -noout -text
2. create private key and cert file
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
3. Generate a self-signed certificate
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt
https://www.sslshopper.com/article-most-common-openssl-commands.html