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 / REST-API.py
Created October 18, 2024 13:43 — forked from pwin/REST-API.py
A REST-ful API script using Bottle.py
#!/usr/bin/env python
"""
REST-API.py
The MIT License (MIT)
Copyright (c) 2014 P.Winstanley, C.Taylor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@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)