From f2b417553920d1d4b195e5a9d78e3fe019b2c163 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 5 Jun 2021 19:19:19 -0600 Subject: modify relative links, add base for art page --- blog/dst/rss.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'blog/dst/rss.xml') 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 @@ @@ -12,8 +13,8 @@ Copyright 2021 David Luévano Alvarado david@luevano.xyz (David Luévano Alvarado) david@luevano.xyz (David Luévano Alvarado) - Sat, 05 Jun 2021 09:41:27 GMT - Sat, 05 Jun 2021 09:41:27 GMT + Sun, 06 Jun 2021 00:30:52 GMT + Sun, 06 Jun 2021 00:30:52 GMT pyssg v0.5.5 https://validator.w3.org/feed/docs/rss2.html 30 @@ -404,7 +405,7 @@ account required pam_unix.so
systemctl start dovecot.service
 systemctl enable dovecot.service
 
-

OpenDKIM

+

OpenDKIM

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”.

Install the opendkim package:

pacman -S opendkim
@@ -541,7 +542,7 @@ systemctl enable spamassassin.service
 
  • Password: your user password (as in the password you use to login to the server with that user)
  • 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 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

    +

    DKIM Test successful

    (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)

    Finally, that’s actually it for this entry, if you have any problem whatsoever you have my info down below.

    ]]> @@ -578,7 +579,7 @@ systemctl enable nginx.service 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

    +

    Nginx welcome page

    As stated in the welcome page, configuration is needed, head to the directory of nginx:

    cd /etc/nginx
     
    @@ -641,7 +642,7 @@ cd sites-available 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

    +

    Nginx 404 page

    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.

    I like to remove the .html and trailing / on the URLs of my website, for that you need to add the following rewrite lines and modify the try_files line (for more: Sean C. Davis: Remove HTML Extension And Trailing Slash In Nginx Config):

    server {
    @@ -1095,10 +1096,10 @@ function_name () {
     
  • 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 -LEFT JOIN -RIGHT JOIN -FULL OUTER JOIN

    +

    INNER JOIN +LEFT JOIN +RIGHT JOIN +FULL OUTER JOIN

    Nested queries

    A query composed of multiple select statements to get a specific piece of information. This is self explanatory, you do a SELECT query somewhere inside another one, for example SELECT ... IN (SELECT ...), where the nesting is occurring inside the parenthesis after the IN statement.

    A nesting isn’t constrained to the IN statement, it can appear anywhere, for example in a WHERE statement: SELECT ... WHERE something = (SELECT ...).

    @@ -1121,7 +1122,7 @@ function_name () {
  • 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

    ]]> +

    ERD example taken from wikipedia

    ]]> This is the first blog post, just for testing purposes -- cgit v1.2.3-54-g00ecf