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.4' | |
services: | |
cache-redis: | |
image: 'redis:6-alpine' | |
container_name: cache-redis | |
environment: | |
REDIS_HOST: ${REDIS_HOST} | |
REDIS_DEFAULT_USER: ${REDIS_DEFAULT_USER} | |
REDIS_DEFAULT_PASS: ${REDIS_DEFAULT_PASS} | |
ports: |
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
import { useStore, Store } from "vuex"; | |
interface InternalModule<S, A, M, G> { | |
state: S; | |
actions: A; | |
mutations: M; | |
getters: G; | |
} | |
/** |
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
FROM ubuntu:16.04 | |
RUN export DEBIAN_FRONTEND=noninteractive && \ | |
apt-get update && \ | |
apt-get install -yq curl apt-transport-https && \ | |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \ | |
curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list | tee /etc/apt/sources.list.d/mssql-server.list && \ | |
apt-get update && \ | |
apt-get install -y mssql-server && \ | |
apt-get install -y mssql-server-ha && \ |
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
{ | |
"typeorm": { | |
"type": "postgres", | |
"host": "localhost", | |
"port": 5432, | |
"username": "postgres", | |
"password": "postgres", | |
"database": "app_db_name", | |
"synchronize": true, |
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
# | |
# cassandra-rackdc.properties | |
# | |
# The lines may include white spaces at the beginning and the end. | |
# The rack and data center names may also include white spaces. | |
# All trailing and leading white spaces will be trimmed. | |
# | |
dc=DC1 | |
rack=Rack1 | |
# prefer_local=<false | true> |
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
USERID= | |
PASSWORD= | |
PROJECT_ID= | |
CLIENT_ID= | |
AWS_CREDENTIAL_OUTPUT= | |
AWS_CREDENTIAL_REGION_NON_PROD= | |
AWS_CREDENTIAL_REGION_PROD= | |
URL_AUTH= | |
URL_VAULT= | |
URL_REFERRER= |
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
#!/bin/bash | |
## Ricardo Pádua | |
## install asdf in fedora | |
## install curl and git | |
dnf install curl git | |
## install asdf | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.9.0 |
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
curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz | |
tar zxvf autoconf-2.69.tar.gz | |
cd autoconf-2.69 | |
./configure && make && sudo make install |
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.8' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:latest | |
container_name: zookeeper | |
networks: | |
- prologic-net | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 |
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
-- identify all connection in host | |
select datname, | |
pid, | |
usename, | |
application_name, | |
client_addr, | |
client_hostname, | |
backend_start | |
from pg_stat_activity | |
OlderNewer