Ghi chú cách dùng IBus Bamboo để gõ Tiếng Việt mà không bị lỗi gạch chân như các bộ gõ khác.
sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo
sudo apt-get update
sudo apt-get install ibus ibus-bamboo --install-recommends
# Create an access token for user "admin" with name "test-1234" | |
# POST /users/{username}/tokens/{name} | |
$ curl -i -u admin:admin -H 'Accept: application/json' -X POST 'http://127.0.0.1:12900/users/admin/tokens/test-1234?pretty=true' | |
HTTP/1.1 200 OK | |
X-Graylog-Node-ID: cd03ee44-b2a7-4824-be16-bb7456149dbd | |
Content-Type: application/json | |
Date: Mon, 08 Aug 2016 12:12:09 GMT | |
Content-Length: 139 | |
{ |
kafkacat -b 10.5.69.6:9092 -t imap-2 -p 1
root@trangnth-kafka:/opt/confluent# kafkacat -L -b 10.5.6.6:9092 -t imap-2
Metadata for imap-2 (from broker 1: 10.5.6.6:9092/1):
body_filter_by_lua
documentation: https://github.com/openresty/lua-nginx-module#body_filter_by_luahttp {
proxy_cache_path /tmp/cache levels=1:2 keys_zone=cache:60m max_size=1G;
server {
listen 8080;
location /replace-body {
#!/usr/bin/perl | |
use Digest::HMAC_MD5 qw/ hmac_md5_hex /; | |
use DBI; | |
use URI::Escape; | |
use CGI; | |
print "Content-type: text/html\n"; | |
my $q = CGI->new; |