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
<?php | |
// Just testing gist. | |
echo "something"; | |
// Olvidence, todos las pruebas que haga las tengo que pasar a esto. | |
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
filter { | |
if [type] == "apache_access" { | |
grok { | |
match => { "message" => "%{COMBINEDAPACHELOG}" } | |
} | |
date { | |
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ] | |
} | |
} | |
} |
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
#!/bin/bash | |
a2enmod deflate | |
a2enmod mime | |
a2enmod expires | |
a2enmod headers |
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
int luzValue = 0; | |
int tempValue = 0; | |
int humeValue = 0; | |
float temperatura; | |
int luz; | |
int humedad; | |
int regarPin = 2; | |
int sensorHumedad = A5; |
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
version: '3' | |
services: | |
reverse-proxy: | |
image: traefik:v2.2 | |
command: | |
- --api.insecure=true | |
- --api.dashboard=true | |
- --providers.docker=true | |
- --providers.docker.swarmMode=true |
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
version: "3.1" | |
services: | |
gitlab: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
volumes: | |
- gitlab_data_nfs:/var/opt/gitlab | |
- gitlab_logs_nfs:/var/log/gitlab | |
- gitlab_config_nfs:/config:/etc/gitlab | |
environment: |
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
version: '3.8' | |
services: | |
node: | |
image: node:latest | |
container_name: node | |
volumes: | |
- node_data:/app | |
ports: | |
- "3000:3000" |
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
version: '2' | |
services: | |
mysql: | |
image: mysql:latest | |
environment: | |
MYSQL_ROOT_PASSWORD: 'test_pass' # TODO: Change this | |
MYSQL_USER: 'test' | |
MYSQL_PASS: 'pass' | |
volumes: | |
- my-datavolume:/var/lib/mysql |