Skip to content

Instantly share code, notes, and snippets.

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

Javier Soques jsoques

🏠
Working from home
  • Dominican Republic & Venezuela
  • X @jsoques
View GitHub Profile
@jsoques
jsoques / README.md
Created December 4, 2023 04:11 — forked from peterbartha/README.md
Convert Rust books to EPUB (incl. The Rust Programming Language)

Convert Rust books to EPUB (incl. The Rust Programming Language)

The following steps work for all the HTML learning materials on the Learn Rust page:

  1. Click on the "Print this book" icon in the top right corner.
  2. "Cancel" print popup.
  3. Press F12.
  4. Copy, paste, and run the contents of ebookFormatPreparation.js into your browser's console.
  5. Save the modified HTML file.
@jsoques
jsoques / myprivatedockerregistry.md
Last active July 16, 2023 21:18
Create private Docker Registry with Caddy as proxy server and using dynu.com as ddns service

Como crear tu repositorio privado para imágenes docker (con Caddy server)

Este gist/doc te permite crear tu propio repositorio de imágenes docker privado gratis sin las limitaciones de docker.hub (versión free).

Requisitos

  • Un dominio o en su defecto un servicio ddns (yo utilizo dynu.com)
  • Servidor Linux con docker instalado (ejemplo en este documento: Ubuntu 22.04)
  • Caddy server (instalación mas adelante)