Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tomás A. Márquez L. tomasmetal23

🏠
Working from home
View GitHub Profile
View lightweight-bitwarden.yml
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 Jun 8, 2021
CI/CD Workflow para github actions y docker. Logear la cuenta de dockerhub en el server.
View saiyans-actions-workflow-ci-cd-main.yml
# 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:
View network-manager-wireguard-raspbian.sh
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 Mar 17, 2021
Scritp para borrar minero kdevtmpfsi, kinsing
View kill-miner.sh
#!/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 Feb 16, 2021 — 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
View cloudflare-ddns-update.sh
#!/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
View nextcloud-compose.yml
version: '3.8'
#volumes:
# nextcloud:
services:
nextcloud:
image: nextcloud
volumes:
@tomasmetal23
tomasmetal23 / bancos
Created Jun 22, 2020 — forked from xombra/bancos
Codigo y Bancos correspondientes de Venezuela
View bancos
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>
View prometheus-grafana-stack.yml
version: '3.7'
volumes:
prometheus_data: {}
grafana_data: {}
networks:
monitor-net:
# driver: overlay
name: inbound
View moodle-compose.yml
version: '2'
networks:
proxy:
external: true
internal:
external: false
services:
mariadb:
@tomasmetal23
tomasmetal23 / portainer-compose.yml
Created Apr 20, 2020
docker-compose para desplegar portainer con traefik v1.7.*
View portainer-compose.yml
version: "3"
services:
app:
image: portainer/portainer:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/data/portainer:/data
networks:
- web