This file contains hidden or 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
paste the following on chrome bar | |
chrome://inspect/#devices |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Remote file for Bootstrap Modal</title> | |
</head> | |
<body> |
This file contains hidden or 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
location /web-chat/ { | |
proxy_pass http://localhost:5000/; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $http_connection; | |
proxy_set_header Host $host; | |
proxy_cache_bypass $http_upgrade; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Proto $scheme; | |
} |
This file contains hidden or 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
package pl.dk.debeziumdemo.watch; | |
import io.debezium.config.Configuration; | |
import io.debezium.data.Envelope.Operation; | |
import io.debezium.embedded.EmbeddedEngine; | |
import lombok.extern.slf4j.Slf4j; | |
import org.apache.kafka.connect.data.Struct; | |
import org.apache.kafka.connect.source.SourceRecord; | |
import javax.annotation.PostConstruct; |
This file contains hidden or 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
[foo] | |
localhost ansible_host=localhost ansible_connection=local |
This file contains hidden or 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
class AesCrypt256: | |
#Based on https://gist.github.com/pfote/5099161 | |
BLOCK_SIZE = 16 | |
# To use the null/x00 byte array for the IV | |
default_initialization_vector = False | |
def __init__(self, default_initialization_vector=False): | |
self.default_initialization_vector = default_initialization_vector | |
This file contains hidden or 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
# version: "3.5" | |
services: | |
opensearch: | |
container_name: temporal-opensearch | |
restart: always | |
environment: | |
- discovery.type=single-node | |
- OPENSEARCH_JAVA_OPTS=-Xms256m -Xmx256m | |
- cluster.routing.allocation.disk.threshold_enabled=true | |
- cluster.routing.allocation.disk.watermark.low=512mb |