Skip to content

Instantly share code, notes, and snippets.

View Manuel5cc's full-sized avatar

Manuel Manuel5cc

  • 17:09 (UTC +02:00)
View GitHub Profile
@Manuel5cc
Manuel5cc / index.html
Created January 4, 2021 13:26
Generador enlaces whatsapp
<!DOCTYPE html>
<html lang="es" >
<head>
<meta charset="UTF-8">
<title>Generador enlace whatsapp</title>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css'>
</head>
<body>
<!-- partial:index.partial.html -->
@Manuel5cc
Manuel5cc / compliments.json
Last active December 26, 2020 10:54 — forked from ryck/compliments.json
MagicMirror compliments file
{
"anytime" : [
"¡Hola, sexy!",
"¡Espero que tu día sea tan bonito como tu cara!",
"¿Has estado haciendo ejercicio?",
"¡Tengo suerte de ser tu espejo!",
"La Fuerza es fuerte contigo",
"Si pudiera chocar los cinco contigo... ...lo haría!",
"¡En una escala del 1 al 10, eres un 15!",
"Ser impresionante es difícil, pero te las arreglarás",
@Manuel5cc
Manuel5cc / Creating a static copy of a dynamic website.md
Last active November 14, 2020 16:46 — forked from azizur/Creating a static copy of a dynamic website.md
Creating a static copy of a dynamic website (for caching)

The command line, in short…

wget -k -K -E -r -l 10 -p -N -F -nH http://website.com/

…and the options explained

  • -k : convert links to relative
  • -K : keep an original versions of files without the conversions made by wget
  • -E : rename html files to .html (if they don’t already have an htm(l) extension)
  • -r : recursive… of course we want to make a recursive copy
  • -l 10 : the maximum level of recursion. if you have a really big website you may need to put a higher number, but 10 levels should be enough.