Skip to content

Instantly share code, notes, and snippets.

View tomasmetal23's full-sized avatar
🏠
Working from home

Tomás A. Márquez L. tomasmetal23

🏠
Working from home
View GitHub Profile
@tomasmetal23
tomasmetal23 / apache-reverse-proxy-docker.conf
Created March 23, 2023 13:56 — forked from felipefernandes/apache-reverse-proxy-docker.conf
Apache Reverse Proxy Setup for Docker Containers
<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerName <<<SITE NAME>>>.com
ProxyPass / http://0.0.0.0:8080/ # Server IP + the exposed port of docker container
ProxyPassReverse / http://0.0.0.0:8080/ # Server IP + the exposed port of docker container
</VirtualHost>
version: '3.7'
services:
bitwarden:
image: vaultwarden/server:latest
container_name: bitwarden
restart: always
volumes:
- ./bw-data:/data
environment:
@tomasmetal23
tomasmetal23 / saiyans-actions-workflow-ci-cd-main.yml
Created June 8, 2021 03:51
CI/CD Workflow para github actions y docker. Logear la cuenta de dockerhub en el server.
# This is a basic workflow to help you get started with Actions
name: CI/CD
# Controls when the action will run.
on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
cd ~
git clone https://github.com/tomasmetal23/network-manager-wireguard.git
cd network-manager-wireguard
./autogen.sh --without-libnm-glib
./configure --without-libnm-glib \
--prefix=/usr \
--without-libnm-glib \
--sysconfdir=/etc \
--libdir=/usr/lib/arm-linux-gnueabihf \
--libexecdir=/usr/lib/NetworkManager \
@tomasmetal23
tomasmetal23 / kill-miner.sh
Created March 17, 2021 23:59
Scritp para borrar minero kdevtmpfsi, kinsing
#!/bin/bash
# kinsing deleteing here
PID=$(pidof kinsing)
echo "$PID"
kill -9 $PID
# /tmp/kinsing deleteing here (Some times it will run /tmp path)
PID=$(pidof /tmp/kinsing)
@tomasmetal23
tomasmetal23 / cloudflare-ddns-update.sh
Created February 16, 2021 01:33 — forked from Tras2/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record
version: '3.8'
#volumes:
# nextcloud:
services:
nextcloud:
image: nextcloud
volumes:
@tomasmetal23
tomasmetal23 / bancos
Created June 22, 2020 21:21 — forked from xombra/bancos
Codigo y Bancos correspondientes de Venezuela
Banco:
<select name="banco">
<option value=""></option>
<option value="0156">100%BANCO</option>
<option value="0196">ABN AMRO BANK</option>
<option value="0172">BANCAMIGA BANCO MICROFINANCIERO, C.A.</option>
<option value="0171">BANCO ACTIVO BANCO COMERCIAL, C.A.</option>
<option value="0166">BANCO AGRICOLA</option>
<option value="0175">BANCO BICENTENARIO</option>
<option value="0128">BANCO CARONI, C.A. BANCO UNIVERSAL</option>
version: '3.7'
volumes:
prometheus_data: {}
grafana_data: {}
networks:
monitor-net:
# driver: overlay
name: inbound
version: '2'
networks:
proxy:
external: true
internal:
external: false
services:
mariadb: