diff options
44 files changed, 537 insertions, 101 deletions
diff --git a/.rsyncignore b/.rsyncignore index 0ea4661..b45e758 100644 --- a/.rsyncignore +++ b/.rsyncignore @@ -8,4 +8,5 @@ LICENSE # Rsync specific .rsyncignore blog/ +art/ gendata/ diff --git a/art/plt/base.html b/art/plt/base.html new file mode 100644 index 0000000..6c56ac4 --- /dev/null +++ b/art/plt/base.html @@ -0,0 +1,103 @@ +<!DOCTYPE html> +<html lang="{%block html_lang%}{%endblock html_lang%}" + prefix="og: https://ogp.me/ns#"> + <head> + <base href="{{config.static_url}}"> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>{%block head_title%}{%endblock head_title%} -- {{config.title}}</title> + <meta name="description" content"{%block head_description%}{%endblock head_description%}"/> + <link rel="alternate" type="application/rss+xml" href="{{config.url}}/rss.xml" title="{{config.title}} RSS"> + <link rel="icon" href="images/icons/favicon.ico"> + + <!-- general style --> + <link rel="stylesheet" type="text/css" href="css/style.css"> + <link rel="stylesheet" type="text/css" href="fork-awesome/css/fork-awesome.min.css"> + <link rel="stylesheet" type="text/css" href="font-awesome/css/all.min.css"> + + <!-- highlight support for code blocks --> + <script type="text/javascript" src="hl/highlight.min.js"></script> + <script type="text/javascript">hljs.initHighlightingOnLoad();</script> + + <!-- theme related --> + <script type="text/javascript" src="scripts/theme.js"></script> + <link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css"> + <link id="code-theme-css" rel="stylesheet" type="text/css" href="hl/styles/solarized-dark.min.css"> + + <!-- og meta --> + {%block head_og%}{%endblock head_og%} + </head> + + <body> + <header> + <nav> + <ul> + <li> + <a href="https://luevano.xyz/"><i class="fas fa-home" alt="Home"></i><span>Home</span></a> + </li> + + <li> + <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> + </li> + + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> + <ul> + <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> + + <li><a href="https://github.com/luevano" target="_blank"><i class="fab fa-github" alt="Github"></i></a></li> + + <li><a href="https://gitlab.com/dluevano" target="_blank"><i class="fab fa-gitlab" alt="Gitlab"></i></a></li> + </ul> + </li> + + <li><i class="fas fa-box-open" alt="Stuff"></i><span>Stuff</span> + <ul> + <li><a href="https://gb.luevano.xyz/"><i class="fas fa-gamepad" alt="Gameboy"></i><span>Gameboy</span></a></li> + </ul> + </li> + </ul> + </nav> + + <div class="theme-switch-container"> + <i class="fas fa-sun"></i> + <label class="switch theme"> + <input id="theme-switch" type="checkbox" onclick="toggleTheme()"> + <span class="slider round"></span> + </label> + <i class="fas fa-moon"></i> + </div> + </header> + + <main> + {%block content%}{%endblock content%} + </main> + + <footer> + <span> + <i class="fas fa-address-card" alt="Contact"></i> + <a href="https://luevano.xyz/contact.html">Contact</a> + </span> + + <span> + <i class="fas fa-donate" alt="Donate"></i> + <a href="https://luevano.xyz/donate.html">Donate</a> + </span> + + <span> + <i class="fas fa-rss" alt="RSS"></i> + <a href="https://blog.luevano.xyz/rss.xml">RSS</a> + </span> + + <br> + <span class="created-with"> + <i class="fas fa-hammer" alt="Hammer"></i> + Created with <a href="https://github.com/luevano/pyssg">pyssg</a> + </span> + + <br> + <span class="copyright"> + Copyright <i class="fal fa-copyright" alt="Copyright"></i> 2021 David Luévano Alvarado + </span> + </footer> + </body> +</html> diff --git a/art/plt/index.html b/art/plt/index.html new file mode 100644 index 0000000..5b1c9e1 --- /dev/null +++ b/art/plt/index.html @@ -0,0 +1,31 @@ +{%extends "base.html"%} +{%block html_lang%}en{%endblock html_lang%} +{%block head_title%}Index{%endblock head_title%} +{%block head_description%}My personal blog where I post about my thoughts, some how-to's, or general ranting.{%endblock head_description%} +{%block head_og%} + <meta property="og:title" content="Index -- {{config.title}}"/> + <meta property="og:type" content="article"/> + <meta property="og:url" content="{{config.url}}/index.html"/> + <meta property="og:image" content="{{config.static_url}}{{config.default_image_url}}"/> + <meta property="og:description" content="My personal blog where I post about my thoughts, some how-to's, or general ranting."/> + <meta property="og:locale" content="en"/> + <meta property="og:site_name" content="{{config.title}}"/> +{%endblock head_og%} +{%block content%} + <h1>Index -- {{config.title}}</h1> + + <p> + Welcome to my blog where I'll post whatever I please, ranging from rants to how-to's. Además, este pex va a estar en español e inglés porque quiero (no una mezcla en cada entrada, pero sí entradas completas en diferentes lenguajes). + </p> + + <p> + Get the RSS feed: <a target="_blank" href="{{config.url}}/rss.xml">{{config.url}}/rss.xml</a> + </p> + + {%import "tag_list.html" as tag_list%} + {{tag_list.print(all_tags)}} + + {%import "page_list.html" as page_list%} + {{page_list.print(all_pages)}} + +{%endblock content%} diff --git a/art/plt/page.html b/art/plt/page.html new file mode 100644 index 0000000..dbb2734 --- /dev/null +++ b/art/plt/page.html @@ -0,0 +1,29 @@ +{%extends "base.html"%} +{%block html_lang%}{{page.lang}}{%endblock html_lang%} +{%block head_title%}{{page.title}}{%endblock head_title%} +{%block head_description%}{{page.summary}}{%endblock head_description%} +{%block head_og%} + <meta property="og:title" content="{{page.title}} -- {{config.title}}"/> + <meta property="og:type" content="article"/> + <meta property="og:url" content="{{page.url}}"/> + <meta property="og:image" content="{{page.image_url}}"/> + <meta property="og:description" content="{{page.summary}}"/> + <meta property="og:locale" content="{{page.lang}}"/> + <meta property="og:site_name" content="{{config.title}}"/> +{%endblock head_og%} +{%block content%} + <h1>{{page.title}}</h1> + + {{page.content}} + + <hr> + <div class="article-info"> + <p>By {{page.author}}</p> + <p>Created: {{page.cdate}}</p> + {%if page.mdate is not none%} + <p>Modified: {{page.mdate}}</p> + {%endif%} + {%import "tag_list.html" as tag_list%} + {{tag_list.print(page.tags)}} + </div> +{%endblock content%} diff --git a/art/plt/page_list.html b/art/plt/page_list.html new file mode 100644 index 0000000..16dc4d5 --- /dev/null +++ b/art/plt/page_list.html @@ -0,0 +1,15 @@ +{%macro print(pages)%} + <h2>Articles</h2> + <ul> + {%for p in pages%} + {%if loop.previtem%} + {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + {%else%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> + {%endfor%} + </ul> +{%endmacro%} diff --git a/art/plt/rss.xml b/art/plt/rss.xml new file mode 100644 index 0000000..5be7c37 --- /dev/null +++ b/art/plt/rss.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<rss version="2.0" + xmlns:atom="http://www.w3.org/2005/Atom" + xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>{{config.title}}</title> + <link>{{config.url}}</link> + <atom:link href="{{config.url}}/rss.xml" rel="self" type="application/rss+xml"/> + <description>A personal weblog ranging from rants to how to's and other thoughts.</description> + <language>en-us</language> + <category>Blog</category> + <copyright>Copyright 2021 David Luévano Alvarado</copyright> + <managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor> + <webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster> + <pubDate>{{config.run_date_rss}}</pubDate> + <lastBuildDate>{{config.run_date_rss}}</lastBuildDate> + <generator>pyssg v{{config.version}}</generator> + <docs>https://validator.w3.org/feed/docs/rss2.html</docs> + <ttl>30</ttl> + <image> + <url>{{config.static_url}}/images/blog.png</url> + <title>{{config.title}}</title> + <link>{{config.url}}</link> + </image> + {%for p in all_pages%} + <item> + <title>{{p.title}}</title> + <link>{{p.url}}</link> + <guid isPermaLink="true">{{p.url}}</guid> + <pubDate>{{p.cdate_rss}}</pubDate> + {%for t in p.tags%} + <category>{{t[0].lower().capitalize()}}</category> + {%endfor%} + <description>{{p.summary}}</description> + <content:encoded><![CDATA[{{p.content}}]]></content:encoded> + </item> + {%endfor%} + </channel> +</rss> diff --git a/art/plt/sitemap.xml b/art/plt/sitemap.xml new file mode 100644 index 0000000..26ee5c1 --- /dev/null +++ b/art/plt/sitemap.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> + {%for p in all_pages%} + <url> + <loc>{{p.url}}</loc> + <lastmod>{{p.mdate_sitemap if p.mdate_sitemap else p.cdate_sitemap}}</lastmod> + <changefreq>weekly</changefreq> + <priority>1.0</priority> + </url> + {%endfor%} + + {%for t in all_tags%} + <url> + <loc>{{t[1]}}</loc> + <lastmod>{{config.run_date_sitemap}}</lastmod> + <changefreq>daily</changefreq> + <priority>0.5</priority> + </url> + {%endfor%} +</urlset> diff --git a/art/plt/tag.html b/art/plt/tag.html new file mode 100644 index 0000000..d379590 --- /dev/null +++ b/art/plt/tag.html @@ -0,0 +1,20 @@ +{%extends "base.html"%} +{%block html_lang%}en{%endblock html_lang%} +{%block head_title%}Posts filtered by {{tag[0]}}{%endblock head_title%} +{%block head_description%}Posts filtered by {{tag[0]}}{%endblock head_description%} +{%block head_og%} + <meta property="og:title" content="Posts filtered by {{tag[0]}} -- {{config.title}}"/> + <meta property="og:type" content="article"/> + <meta property="og:url" content="{{tag[1]}}"/> + <meta property="og:image" content="{{config.static_url}}{{config.default_image_url}}"/> + <meta property="og:description" content="Posts filtered by {{tag[0]}}."/> + <meta property="og:locale" content="en"/> + <meta property="og:site_name" content="{{config.title}}"/> +{%endblock head_og%} +{%block content%} + <h1>Posts filtered by {{tag[0]}}</h1> + + {%import "page_list.html" as page_list%} + {{page_list.print(tag_pages)}} + +{%endblock content%} diff --git a/art/plt/tag_list.html b/art/plt/tag_list.html new file mode 100644 index 0000000..2dfb70c --- /dev/null +++ b/art/plt/tag_list.html @@ -0,0 +1,9 @@ +{%macro print(tags)%} +<div class="article-tags"> + <p>Tags: + {%for t in tags-%} + <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}} + {%-endfor%} + </p> +</div> +{%endmacro%} diff --git a/blog/.gitignore b/blog/.gitignore deleted file mode 100644 index 741a103..0000000 --- a/blog/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# Only keep track of source. -# dst/ diff --git a/blog/dst/a/asi_nomas_esta_quedando.html b/blog/dst/a/asi_nomas_esta_quedando.html index c966291..d8cdfc0 100644 --- a/blog/dst/a/asi_nomas_esta_quedando.html +++ b/blog/dst/a/asi_nomas_esta_quedando.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="es" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/a/el_blog_ya_tiene_timestamps.html b/blog/dst/a/el_blog_ya_tiene_timestamps.html index 409b29f..9136a86 100644 --- a/blog/dst/a/el_blog_ya_tiene_timestamps.html +++ b/blog/dst/a/el_blog_ya_tiene_timestamps.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="es" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/a/first_blog_post.html b/blog/dst/a/first_blog_post.html index 6610b25..0acb615 100644 --- a/blog/dst/a/first_blog_post.html +++ b/blog/dst/a/first_blog_post.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/a/git_server_with_cgit.html b/blog/dst/a/git_server_with_cgit.html index 43584fa..17fe0e4 100644 --- a/blog/dst/a/git_server_with_cgit.html +++ b/blog/dst/a/git_server_with_cgit.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/a/linux_video_notes.html b/blog/dst/a/linux_video_notes.html index 22e9040..8a7ee0e 100644 --- a/blog/dst/a/linux_video_notes.html +++ b/blog/dst/a/linux_video_notes.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/a/mail_server_with_postfix.html b/blog/dst/a/mail_server_with_postfix.html index a3ab2c5..952b84b 100644 --- a/blog/dst/a/mail_server_with_postfix.html +++ b/blog/dst/a/mail_server_with_postfix.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> @@ -299,7 +303,7 @@ account required pam_unix.so <pre><code class="language-sh">systemctl start dovecot.service systemctl enable dovecot.service </code></pre> -<h1 id="opendkim">OpenDKIM</h1> +<h2 id="opendkim">OpenDKIM</h2> <p><a href="https://wiki.archlinux.org/index.php/OpenDKIM">OpenDKIM</a> is needed so services like G**gle (we don’t mention that name here [[[this is a meme]]]) don’t throw the mail to the trash. DKIM stands for “DomainKeys Identified Mail”.</p> <p>Install the <code>opendkim</code> package:</p> <pre><code class="language-sh">pacman -S opendkim @@ -436,7 +440,7 @@ systemctl enable spamassassin.service <li>Password: your <code>user</code> password (as in the password you use to login to the server with that user)</li> </ul> <p>All that’s left to do is test your mail server for spoofing, and to see if everything is setup correctly. Go to <a href="https://www.appmaildev.com/en/dkim">DKIM Test</a> and follow the instructions (basically click next, and send an email with whatever content to the email that they provide). After you send the email, you should see something like:</p> -<p><img alt="DKIM Test successful" src="https://static.luevano.xyz/images/b/notes/mail/dkim_test_successful.png"></p> +<p><img alt="DKIM Test successful" src="images/b/notes/mail/dkim_test_successful.png"></p> <p>(Yes, I blurred a lot in the picture just to be sure, either way what’s important is the list on the bottom part of the image)</p> <p>Finally, that’s actually it for this entry, if you have any problem whatsoever you have my info down below.</p> @@ -444,7 +448,7 @@ systemctl enable spamassassin.service <div class="article-info"> <p>By David Luévano</p> <p>Created: Sun, Mar 21, 2021 @ 04:05 UTC</p> - <p>Modified: Fri, Jun 04, 2021 @ 07:59 UTC</p> + <p>Modified: Sun, Jun 06, 2021 @ 00:24 UTC</p> <div class="article-tags"> <p>Tags: <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p> diff --git a/blog/dst/a/new_blogging_system.html b/blog/dst/a/new_blogging_system.html index 2d79ba4..216ed0c 100644 --- a/blog/dst/a/new_blogging_system.html +++ b/blog/dst/a/new_blogging_system.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/a/shell_scripting_video_notes.html b/blog/dst/a/shell_scripting_video_notes.html index 097a1c3..d048c1d 100644 --- a/blog/dst/a/shell_scripting_video_notes.html +++ b/blog/dst/a/shell_scripting_video_notes.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/a/sql_video_notes.html b/blog/dst/a/sql_video_notes.html index 14a0e56..867c265 100644 --- a/blog/dst/a/sql_video_notes.html +++ b/blog/dst/a/sql_video_notes.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> @@ -186,10 +190,10 @@ <li><code>RIGHT (OUTER) JOIN</code>: returns all records from the right table, and the matched records from the left table.</li> <li><code>FULL (OUTER) JOIN</code>: returns all records when there is a match in either left or right table.</li> </ul> -<p><img alt="INNER JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_innerjoin.gif"> -<img alt="LEFT JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_leftjoin.gif"> -<img alt="RIGHT JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_rightjoin.gif"> -<img alt="FULL OUTER JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_fulljoin.gif"></p> +<p><img alt="INNER JOIN" src="images/b/notes/sql/img_innerjoin.gif"> +<img alt="LEFT JOIN" src="images/b/notes/sql/img_leftjoin.gif"> +<img alt="RIGHT JOIN" src="images/b/notes/sql/img_rightjoin.gif"> +<img alt="FULL OUTER JOIN" src="images/b/notes/sql/img_fulljoin.gif"></p> <h4 id="nested-queries">Nested queries</h4> <p>A query composed of multiple select statements to get a specific piece of information. This is self explanatory, you do a <code>SELECT</code> query somewhere inside another one, for example <code>SELECT ... IN (SELECT ...)</code>, where the nesting is occurring inside the parenthesis after the <code>IN</code> statement.</p> <p>A nesting isn’t constrained to the <code>IN</code> statement, it can appear anywhere, for example in a <code>WHERE</code> statement: <code>SELECT ... WHERE something = (SELECT ...)</code>.</p> @@ -212,13 +216,13 @@ <li><strong>Weak entity’s primary key</strong>: oval with its text underlined, but the line is dotted.</li> <li><strong>Identifying relationship</strong>: a diamond inside a diamond with its name inside; a relationship that serves to uniquely identify the weak entity.</li> </ul> -<p><img alt="ERD example taken from wikipedia" src="https://static.luevano.xyz/images/b/notes/sql/erd_example.png"></p> +<p><img alt="ERD example taken from wikipedia" src="images/b/notes/sql/erd_example.png"></p> <hr> <div class="article-info"> <p>By David Luévano</p> <p>Created: Tue, Mar 02, 2021 @ 14:35 UTC</p> - <p>Modified: Fri, Jun 04, 2021 @ 08:00 UTC</p> + <p>Modified: Sun, Jun 06, 2021 @ 00:22 UTC</p> <div class="article-tags"> <p>Tags: <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a> </p> diff --git a/blog/dst/a/website_with_nginx.html b/blog/dst/a/website_with_nginx.html index 9b773de..7834b31 100644 --- a/blog/dst/a/website_with_nginx.html +++ b/blog/dst/a/website_with_nginx.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> @@ -100,7 +104,7 @@ systemctl enable nginx.service systemctl start nginx.service </code></pre> <p>And that’s it, at this point you can already look at the default initial page of nginx if you enter the ip of your server in a web browser. You should see something like this:</p> -<p><img alt="Nginx welcome page" src="https://static.luevano.xyz/images/b/notes/nginx/nginx_welcome_page.png"></p> +<p><img alt="Nginx welcome page" src="images/b/notes/nginx/nginx_welcome_page.png"></p> <p>As stated in the welcome page, configuration is needed, head to the directory of nginx:</p> <pre><code class="language-sh">cd /etc/nginx </code></pre> @@ -163,7 +167,7 @@ cd sites-available systemctl restart nginx </code></pre> <p>If everything goes correctly, you can now go to your website by typing “domain.name” on a web browser. But you will see a “404 Not Found” page like the following (maybe with different nginx version):</p> -<p><img alt="Nginx 404 page" src="https://static.luevano.xyz/images/b/notes/nginx/nginx_404_page.png"></p> +<p><img alt="Nginx 404 page" src="images/b/notes/nginx/nginx_404_page.png"></p> <p>That’s no problem, because it means that the web server it’s actually working. Just add an <code>index.html</code> file with something simple to see it in action. If you keep seeing the 404 page make sure your <code>root</code> line is correct and that the directory/index file exists.</p> <p>I like to remove the <code>.html</code> and trailing <code>/</code> on the URLs of my website, for that you need to add the following <code>rewrite</code> lines and modify the <code>try_files</code> line (for more: <a href="https://www.seancdavis.com/blog/remove-html-extension-and-trailing-slash-in-nginx-config/">Sean C. Davis: Remove HTML Extension And Trailing Slash In Nginx Config</a>):</p> <pre><code class="language-nginx">server { @@ -194,7 +198,7 @@ systemctl restart nginx <div class="article-info"> <p>By David Luévano</p> <p>Created: Fri, Mar 19, 2021 @ 02:58 UTC</p> - <p>Modified: Fri, Jun 04, 2021 @ 08:00 UTC</p> + <p>Modified: Sun, Jun 06, 2021 @ 00:23 UTC</p> <div class="article-tags"> <p>Tags: <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p> diff --git a/blog/dst/index.html b/blog/dst/index.html index 713216b..2a9b624 100644 --- a/blog/dst/index.html +++ b/blog/dst/index.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/rss.xml b/blog/dst/rss.xml index cacc374..eea52d2 100644 --- a/blog/dst/rss.xml +++ b/blog/dst/rss.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" + xml:base="https://static.luevano.xyz" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> <channel> @@ -12,8 +13,8 @@ <copyright>Copyright 2021 David Luévano Alvarado</copyright> <managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor> <webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster> - <pubDate>Sat, 05 Jun 2021 09:41:27 GMT</pubDate> - <lastBuildDate>Sat, 05 Jun 2021 09:41:27 GMT</lastBuildDate> + <pubDate>Sun, 06 Jun 2021 00:30:52 GMT</pubDate> + <lastBuildDate>Sun, 06 Jun 2021 00:30:52 GMT</lastBuildDate> <generator>pyssg v0.5.5</generator> <docs>https://validator.w3.org/feed/docs/rss2.html</docs> <ttl>30</ttl> @@ -404,7 +405,7 @@ account required pam_unix.so <pre><code class="language-sh">systemctl start dovecot.service systemctl enable dovecot.service </code></pre> -<h1 id="opendkim">OpenDKIM</h1> +<h2 id="opendkim">OpenDKIM</h2> <p><a href="https://wiki.archlinux.org/index.php/OpenDKIM">OpenDKIM</a> is needed so services like G**gle (we don’t mention that name here [[[this is a meme]]]) don’t throw the mail to the trash. DKIM stands for “DomainKeys Identified Mail”.</p> <p>Install the <code>opendkim</code> package:</p> <pre><code class="language-sh">pacman -S opendkim @@ -541,7 +542,7 @@ systemctl enable spamassassin.service <li>Password: your <code>user</code> password (as in the password you use to login to the server with that user)</li> </ul> <p>All that’s left to do is test your mail server for spoofing, and to see if everything is setup correctly. Go to <a href="https://www.appmaildev.com/en/dkim">DKIM Test</a> and follow the instructions (basically click next, and send an email with whatever content to the email that they provide). After you send the email, you should see something like:</p> -<p><img alt="DKIM Test successful" src="https://static.luevano.xyz/images/b/notes/mail/dkim_test_successful.png"></p> +<p><img alt="DKIM Test successful" src="images/b/notes/mail/dkim_test_successful.png"></p> <p>(Yes, I blurred a lot in the picture just to be sure, either way what’s important is the list on the bottom part of the image)</p> <p>Finally, that’s actually it for this entry, if you have any problem whatsoever you have my info down below.</p>]]></content:encoded> </item> @@ -578,7 +579,7 @@ systemctl enable nginx.service systemctl start nginx.service </code></pre> <p>And that’s it, at this point you can already look at the default initial page of nginx if you enter the ip of your server in a web browser. You should see something like this:</p> -<p><img alt="Nginx welcome page" src="https://static.luevano.xyz/images/b/notes/nginx/nginx_welcome_page.png"></p> +<p><img alt="Nginx welcome page" src="images/b/notes/nginx/nginx_welcome_page.png"></p> <p>As stated in the welcome page, configuration is needed, head to the directory of nginx:</p> <pre><code class="language-sh">cd /etc/nginx </code></pre> @@ -641,7 +642,7 @@ cd sites-available systemctl restart nginx </code></pre> <p>If everything goes correctly, you can now go to your website by typing “domain.name” on a web browser. But you will see a “404 Not Found” page like the following (maybe with different nginx version):</p> -<p><img alt="Nginx 404 page" src="https://static.luevano.xyz/images/b/notes/nginx/nginx_404_page.png"></p> +<p><img alt="Nginx 404 page" src="images/b/notes/nginx/nginx_404_page.png"></p> <p>That’s no problem, because it means that the web server it’s actually working. Just add an <code>index.html</code> file with something simple to see it in action. If you keep seeing the 404 page make sure your <code>root</code> line is correct and that the directory/index file exists.</p> <p>I like to remove the <code>.html</code> and trailing <code>/</code> on the URLs of my website, for that you need to add the following <code>rewrite</code> lines and modify the <code>try_files</code> line (for more: <a href="https://www.seancdavis.com/blog/remove-html-extension-and-trailing-slash-in-nginx-config/">Sean C. Davis: Remove HTML Extension And Trailing Slash In Nginx Config</a>):</p> <pre><code class="language-nginx">server { @@ -1095,10 +1096,10 @@ function_name () { <li><code>RIGHT (OUTER) JOIN</code>: returns all records from the right table, and the matched records from the left table.</li> <li><code>FULL (OUTER) JOIN</code>: returns all records when there is a match in either left or right table.</li> </ul> -<p><img alt="INNER JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_innerjoin.gif"> -<img alt="LEFT JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_leftjoin.gif"> -<img alt="RIGHT JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_rightjoin.gif"> -<img alt="FULL OUTER JOIN" src="https://static.luevano.xyz/images/b/notes/sql/img_fulljoin.gif"></p> +<p><img alt="INNER JOIN" src="images/b/notes/sql/img_innerjoin.gif"> +<img alt="LEFT JOIN" src="images/b/notes/sql/img_leftjoin.gif"> +<img alt="RIGHT JOIN" src="images/b/notes/sql/img_rightjoin.gif"> +<img alt="FULL OUTER JOIN" src="images/b/notes/sql/img_fulljoin.gif"></p> <h4 id="nested-queries">Nested queries</h4> <p>A query composed of multiple select statements to get a specific piece of information. This is self explanatory, you do a <code>SELECT</code> query somewhere inside another one, for example <code>SELECT ... IN (SELECT ...)</code>, where the nesting is occurring inside the parenthesis after the <code>IN</code> statement.</p> <p>A nesting isn’t constrained to the <code>IN</code> statement, it can appear anywhere, for example in a <code>WHERE</code> statement: <code>SELECT ... WHERE something = (SELECT ...)</code>.</p> @@ -1121,7 +1122,7 @@ function_name () { <li><strong>Weak entity’s primary key</strong>: oval with its text underlined, but the line is dotted.</li> <li><strong>Identifying relationship</strong>: a diamond inside a diamond with its name inside; a relationship that serves to uniquely identify the weak entity.</li> </ul> -<p><img alt="ERD example taken from wikipedia" src="https://static.luevano.xyz/images/b/notes/sql/erd_example.png"></p>]]></content:encoded> +<p><img alt="ERD example taken from wikipedia" src="images/b/notes/sql/erd_example.png"></p>]]></content:encoded> </item> <item> <title>This is the first blog post, just for testing purposes</title> diff --git a/blog/dst/sitemap.xml b/blog/dst/sitemap.xml index 35adaea..4c43131 100644 --- a/blog/dst/sitemap.xml +++ b/blog/dst/sitemap.xml @@ -22,13 +22,13 @@ </url> <url> <loc>https://blog.luevano.xyz/a/mail_server_with_postfix.html</loc> - <lastmod>2021-06-04</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> <url> <loc>https://blog.luevano.xyz/a/website_with_nginx.html</loc> - <lastmod>2021-06-04</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> @@ -52,7 +52,7 @@ </url> <url> <loc>https://blog.luevano.xyz/a/sql_video_notes.html</loc> - <lastmod>2021-06-04</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> @@ -65,49 +65,49 @@ <url> <loc>https://blog.luevano.xyz/tag/@english.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url> <loc>https://blog.luevano.xyz/tag/@notes.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url> <loc>https://blog.luevano.xyz/tag/@server.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url> <loc>https://blog.luevano.xyz/tag/@short.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url> <loc>https://blog.luevano.xyz/tag/@spanish.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url> <loc>https://blog.luevano.xyz/tag/@tools.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url> <loc>https://blog.luevano.xyz/tag/@tutorial.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url> <loc>https://blog.luevano.xyz/tag/@update.html</loc> - <lastmod>2021-06-05</lastmod> + <lastmod>2021-06-06</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> diff --git a/blog/dst/tag/@english.html b/blog/dst/tag/@english.html index af5136a..e42a8fd 100644 --- a/blog/dst/tag/@english.html +++ b/blog/dst/tag/@english.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/tag/@notes.html b/blog/dst/tag/@notes.html index d0818e4..a42d265 100644 --- a/blog/dst/tag/@notes.html +++ b/blog/dst/tag/@notes.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/tag/@server.html b/blog/dst/tag/@server.html index 222bab6..59b857b 100644 --- a/blog/dst/tag/@server.html +++ b/blog/dst/tag/@server.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/tag/@short.html b/blog/dst/tag/@short.html index bae4a32..96721d0 100644 --- a/blog/dst/tag/@short.html +++ b/blog/dst/tag/@short.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/tag/@spanish.html b/blog/dst/tag/@spanish.html index 9e297d4..b2f72c4 100644 --- a/blog/dst/tag/@spanish.html +++ b/blog/dst/tag/@spanish.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/tag/@tools.html b/blog/dst/tag/@tools.html index 01556dc..e137805 100644 --- a/blog/dst/tag/@tools.html +++ b/blog/dst/tag/@tools.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/tag/@tutorial.html b/blog/dst/tag/@tutorial.html index 00d3590..44a471c 100644 --- a/blog/dst/tag/@tutorial.html +++ b/blog/dst/tag/@tutorial.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/dst/tag/@update.html b/blog/dst/tag/@update.html index 372efa8..b3e14cf 100644 --- a/blog/dst/tag/@update.html +++ b/blog/dst/tag/@update.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="en" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz"> <meta charset="utf-8"> @@ -46,6 +46,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/plt/base.html b/blog/plt/base.html index 6c56ac4..19377d3 100644 --- a/blog/plt/base.html +++ b/blog/plt/base.html @@ -1,6 +1,6 @@ <!DOCTYPE html> <html lang="{%block html_lang%}{%endblock html_lang%}" - prefix="og: https://ogp.me/ns#"> + prefix="og: https://ogp.me/ns#"> <head> <base href="{{config.static_url}}"> <meta charset="utf-8"> @@ -40,6 +40,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/blog/plt/rss.xml b/blog/plt/rss.xml index 5be7c37..5ce541d 100644 --- a/blog/plt/rss.xml +++ b/blog/plt/rss.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" + xml:base="https://static.luevano.xyz" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> <channel> diff --git a/blog/src/.files b/blog/src/.files index cf14e06..361c663 100644 --- a/blog/src/.files +++ b/blog/src/.files @@ -1,10 +1,10 @@ -a/website_with_nginx.md 1616122695.085315 1622793656.0817287 english,server,tools,tutorial +a/website_with_nginx.md 1616122695.085315 1622938985.447357 english,server,tools,tutorial a/git_server_with_cgit.md 1616353229.8983006 1622793595.4845119 english,server,tools,tutorial a/el_blog_ya_tiene_timestamps.md 1615862784.9032707 1621284818.4731243 short,spanish,tools,update a/shell_scripting_video_notes.md 1615701454.6499224 1622793622.0414143 english,notes -a/sql_video_notes.md 1614695711.6048582 1622793648.6416588 english,notes +a/sql_video_notes.md 1614695711.6048582 1622938935.8065531 english,notes a/first_blog_post.md 1614431313.2090824 1621284833.6700118 english,short,tools,update a/linux_video_notes.md 1615701443.6397786 1622793573.704325 english,notes -a/mail_server_with_postfix.md 1616299559.6570284 1622793584.6210845 english,server,tools,tutorial +a/mail_server_with_postfix.md 1616299559.6570284 1622939041.148257 english,server,tools,tutorial a/new_blogging_system.md 1622172099.117893 1622173322.4337702 english,short,tools,update a/asi_nomas_esta_quedando.md 1622795043.0874712 0.0 short,spanish,update diff --git a/blog/src/a/mail_server_with_postfix.md b/blog/src/a/mail_server_with_postfix.md index d72ecac..b65cf54 100644 --- a/blog/src/a/mail_server_with_postfix.md +++ b/blog/src/a/mail_server_with_postfix.md @@ -316,7 +316,7 @@ systemctl start dovecot.service systemctl enable dovecot.service ``` -# OpenDKIM +## OpenDKIM [OpenDKIM](https://wiki.archlinux.org/index.php/OpenDKIM) is needed so services like G\*\*gle (we don't mention that name here \[\[\[this is a meme\]\]\]) don't throw the mail to the trash. DKIM stands for "DomainKeys Identified Mail". @@ -518,7 +518,7 @@ Next, to actually login into a mail app/program/whateveryouwanttocallit, you wil All that's left to do is test your mail server for spoofing, and to see if everything is setup correctly. Go to [DKIM Test](https://www.appmaildev.com/en/dkim) and follow the instructions (basically click next, and send an email with whatever content to the email that they provide). After you send the email, you should see something like: -![DKIM Test successful](https://static.luevano.xyz/images/b/notes/mail/dkim_test_successful.png) +![DKIM Test successful](images/b/notes/mail/dkim_test_successful.png) (Yes, I blurred a lot in the picture just to be sure, either way what's important is the list on the bottom part of the image) diff --git a/blog/src/a/sql_video_notes.md b/blog/src/a/sql_video_notes.md index b6662db..91c5976 100644 --- a/blog/src/a/sql_video_notes.md +++ b/blog/src/a/sql_video_notes.md @@ -140,10 +140,10 @@ There are different types of SQL JOINs: * `RIGHT (OUTER) JOIN`: returns all records from the right table, and the matched records from the left table. * `FULL (OUTER) JOIN`: returns all records when there is a match in either left or right table. -![INNER JOIN](https://static.luevano.xyz/images/b/notes/sql/img_innerjoin.gif) -![LEFT JOIN](https://static.luevano.xyz/images/b/notes/sql/img_leftjoin.gif) -![RIGHT JOIN](https://static.luevano.xyz/images/b/notes/sql/img_rightjoin.gif) -![FULL OUTER JOIN](https://static.luevano.xyz/images/b/notes/sql/img_fulljoin.gif) +![INNER JOIN](images/b/notes/sql/img_innerjoin.gif) +![LEFT JOIN](images/b/notes/sql/img_leftjoin.gif) +![RIGHT JOIN](images/b/notes/sql/img_rightjoin.gif) +![FULL OUTER JOIN](images/b/notes/sql/img_fulljoin.gif) #### Nested queries @@ -174,4 +174,4 @@ The diagram consists of: * **Weak entity's primary key**: oval with its text underlined, but the line is dotted. * **Identifying relationship**: a diamond inside a diamond with its name inside; a relationship that serves to uniquely identify the weak entity. -![ERD example taken from wikipedia](https://static.luevano.xyz/images/b/notes/sql/erd_example.png) +![ERD example taken from wikipedia](images/b/notes/sql/erd_example.png) diff --git a/blog/src/a/website_with_nginx.md b/blog/src/a/website_with_nginx.md index 1682da2..95c90c1 100644 --- a/blog/src/a/website_with_nginx.md +++ b/blog/src/a/website_with_nginx.md @@ -34,7 +34,7 @@ systemctl start nginx.service And that's it, at this point you can already look at the default initial page of nginx if you enter the ip of your server in a web browser. You should see something like this: -![Nginx welcome page](https://static.luevano.xyz/images/b/notes/nginx/nginx_welcome_page.png) +![Nginx welcome page](images/b/notes/nginx/nginx_welcome_page.png) As stated in the welcome page, configuration is needed, head to the directory of nginx: @@ -117,7 +117,7 @@ systemctl restart nginx If everything goes correctly, you can now go to your website by typing "domain.name" on a web browser. But you will see a "404 Not Found" page like the following (maybe with different nginx version): -![Nginx 404 page](https://static.luevano.xyz/images/b/notes/nginx/nginx_404_page.png) +![Nginx 404 page](images/b/notes/nginx/nginx_404_page.png) That's no problem, because it means that the web server it's actually working. Just add an `index.html` file with something simple to see it in action. If you keep seeing the 404 page make sure your `root` line is correct and that the directory/index file exists. diff --git a/luevano/404.html b/luevano/404.html index 0036e3b..1b366ed 100644 --- a/luevano/404.html +++ b/luevano/404.html @@ -5,6 +5,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>404 Not found -- Luévano's Site</title> + <meta name="description" content="404 page."/> <link rel="icon" href="images/icons/favicon.ico"> <!-- general style --> @@ -29,6 +30,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/luevano/contact.html b/luevano/contact.html index 218937c..783a70a 100644 --- a/luevano/contact.html +++ b/luevano/contact.html @@ -1,10 +1,14 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="en" + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Contact -- Luévano's Site</title> + <meta name="description" content="Contact me through email, XMPP or Matrix protocols."/> + <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> + <link rel="alternate" type="application/rss+xml" href="https://art.luevano.xyz/rss.xml" title="Luévano's Art RSS"> <link rel="icon" href="images/icons/favicon.ico"> <!-- general style --> @@ -15,6 +19,15 @@ <!-- theme related --> <script type="text/javascript" src="scripts/theme.js"></script> <link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css"> + + <!-- og meta --> + <meta property="og:title" content="Contatct -- Luévano's Site"/> + <meta property="og:type" content="website"/> + <meta property="og:url" content="https://luevano.xyz/contact.html"/> + <meta property="og:image" content="images/default.png"/> + <meta property="og:description" content="Contact me through email, XMPP or Matrix protocols."/> + <meta property="og:locale" content="en"/> + <meta property="og:site_name" content="Luévano's Site"/> </head> <body> @@ -29,6 +42,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> diff --git a/luevano/donate.html b/luevano/donate.html index 6e057a2..fa4468a 100644 --- a/luevano/donate.html +++ b/luevano/donate.html @@ -1,10 +1,14 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="en" + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Donate -- Luévano's Site</title> + <meta name="description" content="Donate me via paypal, crypto or use an affiliate link."/> + <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> + <link rel="alternate" type="application/rss+xml" href="https://art.luevano.xyz/rss.xml" title="Luévano's Art RSS"> <link rel="icon" href="images/icons/favicon.ico"> <!-- general style --> @@ -15,6 +19,15 @@ <!-- theme related --> <script type="text/javascript" src="scripts/theme.js"></script> <link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css"> + + <!-- og meta --> + <meta property="og:title" content="Contatct -- Luévano's Site"/> + <meta property="og:type" content="website"/> + <meta property="og:url" content="https://luevano.xyz/donate.html"/> + <meta property="og:image" content="images/default.png"/> + <meta property="og:description" content="Donate me via paypal, crypto or use an affiliate link."/> + <meta property="og:locale" content="en"/> + <meta property="og:site_name" content="Luévano's Site"/> </head> <body> @@ -29,6 +42,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> @@ -65,25 +82,34 @@ <img src="images/gifs/dollar_sign_spin_1.gif" alt="Donate"> <p> - I don't really do much on the internet nor do I provide any type of service, but still, if for some reason you want to donate, these are the ways you can do it (adding more later): + I don't really do much on the internet nor do I provide any type of service, but still, if for some reason you want to donate, you can do it via my <i class="fab fa-paypal" alt="Paypal"></i><a href="https://paypal.me/dlvna">Paypal</a>, either by its link or using my email <code class="email">david@luevano.xyz</code>. + </p> + + <p> + I wanted to add more *fiat* options but I don't have access to them *down here*. So, instead you could use some of my referral links or donate crypto. + </p> + + <h2> + Crypto addresses + </h2> + + <p> + I just have a Monero address for now. </p> <ul> <li> - <i class="fab fa-paypal" alt="Paypal"></i> - <a href="https://paypal.me/dlvna">Paypal</a> - </li> + <i class="fab fa-monero" alt="Monero"></i> Monero: (<a target="_blank" href="images/crypto/monero.png">XMR QR</a>) <code class="crypto">83CoxLgBTzb8muMAHtqR4fYmwA6gcvahzRWgA6nWY3x3BCpde9cE4d8G2fFYufb7qTgo8Cc4M8qnNHdDfrXn7bKhAQmXhAq</code> - <li> - To <code class="email">david@luevano.xyz</code> via: - <ul> - <li> - <i class="fab fa-paypal" alt="Paypal"></i> Paypal - </li> - </ul> + <img class="qr" src="images/crypto/monero.png" alt="XMR QR"> </li> </ul> + + <h2> + Affiliate links + </h2> + <p> An indirect way of supporting me would be to use affiliate links (of stuff I actually use): </p> @@ -102,9 +128,6 @@ </li> </ul> - <p> - I'm going to add crypto wallets here later, Monero being the first I guess. - </p> </main> <footer> diff --git a/luevano/index.html b/luevano/index.html index e4039c4..fa8d751 100644 --- a/luevano/index.html +++ b/luevano/index.html @@ -1,10 +1,14 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="en" + prefix="og: https://ogp.me/ns#"> <head> <base href="https://static.luevano.xyz/"> <meta charset="utf-8"> - <title>Luévano's Site</title> <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Luévano's Site</title> + <meta name="description" content="My personal website where I host my blog, art gallery and more."/> + <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> + <link rel="alternate" type="application/rss+xml" href="https://art.luevano.xyz/rss.xml" title="Luévano's Art RSS"> <link rel="icon" href="images/icons/favicon.ico"> <!-- general style --> @@ -15,6 +19,15 @@ <!-- theme related --> <script type="text/javascript" src="scripts/theme.js"></script> <link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css"> + + <!-- og meta --> + <meta property="og:title" content="Luévano's Site"/> + <meta property="og:type" content="website"/> + <meta property="og:url" content="https://luevano.xyz/index.html"/> + <meta property="og:image" content="images/default.png"/> + <meta property="og:description" content="My personal website where I host my blog, art gallery and more."/> + <meta property="og:locale" content="en"/> + <meta property="og:site_name" content="Luévano's Site"/> </head> <body> @@ -29,6 +42,10 @@ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> </li> + <li> + <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a> + </li> + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> <ul> <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> @@ -59,26 +76,41 @@ <main> <h1> - Welcome! + Luévano's Site </h1> + <h2> + Welcome! + </h2> + <p> My name is David Luévano and this is my little piece of internet. I'm into alot of stuff, but mostly technology, drawing sometimes and... of course, gaming. </p> <p> - I plan on using this space for a lot of stuff, but for now I'm mostly focused in having a working <a href="https://blog.luevano.xyz/">blog</a> (and actually using it). Later I'd love to have a space to place my drawings or whatever art related I make, and maybe a gallery if I feel like posting pictures in general. + I have some sites setup here, such as a working <a href="https://blog.luevano.xyz/">blog</a> where I post about whatever, an <a href="https://art.luevano.xyz/">art</a> gallery, and other stuff (check the nav bar). </p> <p> - But for now, this place is under construction, as you may notice from some links being broken and inconsistencies across pages.<br/> - - <img src="images/gifs/under_construction_1.gif" alt="Under construction"> + Also, yes, yes it is supposed to look like this. This isn't supposed to be a bloated <em>mOdErN</em> website; I use plain HTML and CSS and sometimes a bit of JS (meaning that I use no <em>rEaCt</em> nor <em>bOoTsTrAp</em>). </p> - <p> - Btw, here's my blog's RSS feed: <a target="_blank" href="https://blog.luevano.xyz/rss.xml">https://blog.luevano.xyz/rss.xml</a> - </p> + <h2> + <i class="fas fa-rss" alt="RSS"></i> RSS feeds + </h2> + + <p>Get updates about me or what I'm doing via RSS feeds. If you don't know what an RSS feed is: <a href="https://www.rssboard.org/rss-specification">RSS 2.0 Specification</a>, or <em>just google it</em>.</p> + + <ul> + <li> + <i class="fas fa-book-open" alt="Blog"></i> Blog: <a target="_blank" href="https://blog.luevano.xyz/rss.xml">https://blog.luevano.xyz/rss.xml</a> + </li> + + <li> + <i class="fas fa-paint-brush" alt="Art"></i> Art: <a target="_blank" href="https://art.luevano.xyz/rss.xml">https://art.luevano.xyz/rss.xml</a> + </li> + </ul> + </main> <footer> diff --git a/luevano/sitemap-index.xml b/luevano/sitemap-index.xml index ce7f772..3789319 100644 --- a/luevano/sitemap-index.xml +++ b/luevano/sitemap-index.xml @@ -2,10 +2,14 @@ <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>https://luevano.xyz/sitemap.xml</loc> - <lastmod>2021-06-01</lastmod> + <lastmod>2021-06-05</lastmod> </sitemap> <sitemap> <loc>https://blog.luevano.xyz/sitemap.xml</loc> - <lastmod>2021-06-01</lastmod> + <lastmod>2021-06-05</lastmod> + </sitemap> + <sitemap> + <loc>https://art.luevano.xyz/sitemap.xml</loc> + <lastmod>2021-06-05</lastmod> </sitemap> </sitemapindex> diff --git a/luevano/sitemap.xml b/luevano/sitemap.xml index 37dfc12..a0430a5 100644 --- a/luevano/sitemap.xml +++ b/luevano/sitemap.xml @@ -6,25 +6,31 @@ http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <url> <loc>https://luevano.xyz</loc> - <lastmod>2021-06-01</lastmod> + <lastmod>2021-06-05</lastmod> <changefreq>monthly</changefreq> <priority>1.0</priority> </url> <url> <loc>https://luevano.xyz/contact.html</loc> - <lastmod>2021-06-01</lastmod> + <lastmod>2021-06-05</lastmod> <changefreq>monthly</changefreq> <priority>1.0</priority> </url> <url> <loc>https://luevano.xyz/donate.html</loc> - <lastmod>2021-06-01</lastmod> + <lastmod>2021-06-05</lastmod> <changefreq>monthly</changefreq> <priority>1.0</priority> </url> <url> <loc>https://blog.luevano.xyz</loc> - <lastmod>2021-06-01</lastmod> + <lastmod>2021-06-05</lastmod> + <changefreq>daily</changefreq> + <priority>1.0</priority> +</url> +<url> + <loc>https://art.luevano.xyz</loc> + <lastmod>2021-06-05</lastmod> <changefreq>daily</changefreq> <priority>1.0</priority> </url> @@ -36,7 +42,7 @@ </url> <url> <loc>https://git.luevano.xyz</loc> - <lastmod>2021-05-25</lastmod> + <lastmod>2021-06-05</lastmod> <changefreq>daily</changefreq> <priority>1.0</priority> </url> diff --git a/static/images/crypto/monero.png b/static/images/crypto/monero.png Binary files differnew file mode 100644 index 0000000..a835ebb --- /dev/null +++ b/static/images/crypto/monero.png |