Browse Source

Remove langs and add DNS

Håvard O. Nordstrand 4 năm trước cách đây
mục cha
commit
777eedd8bf
5 tập tin đã thay đổi với 17 bổ sung57 xóa
  1. 1 6
      index.md
  2. 16 0
      it/services/dns.md
  3. 0 17
      se/langs/bash.md
  4. 0 15
      se/langs/general.md
  5. 0 19
      se/langs/markdown.md

+ 1 - 6
index.md

@@ -83,6 +83,7 @@ Random collection of config notes and miscellaneous theory. Technically not a wi
 ### Services
 
 - [Email](it/services/email/)
+- [DNS](it/services/dns/)
 
 ## Media
 
@@ -97,12 +98,6 @@ Random collection of config notes and miscellaneous theory. Technically not a wi
 - [Database Management Systems (DBMSes)](se/general/dbmses/)
 - [Software Licensing](se/general/licensing/)
 
-### Languages
-
-- [General](se/langs/general/)
-- [BASH](se/langs/bash/)
-- [Markdown](se/langs/markdown/)
-
 ### Web
 
 - [Web Security](se/web/security/)

+ 16 - 0
it/services/dns.md

@@ -0,0 +1,16 @@
+---
+title: DNS Theory
+breadcrumbs:
+- title: IT
+- title: Services
+---
+{% include header.md %}
+
+## Special TLDs
+
+- `.localhost`: For statically defined domain names pointing to localhost. (RFC 2606)
+- `.example`: For documentation or examples. (RFC 2606)
+- `.test`: For testing. (RFC 2606)
+- `.invalid`: For domain names that should never be valid. (RFC 2626)
+
+{% include footer.md %}

+ 0 - 17
se/langs/bash.md

@@ -1,17 +0,0 @@
----
-title: BASH
-breadcrumbs:
-- title: Software Engineering
-- title: Languages
----
-{% include header.md %}
-
-- Options:
-    - Example fo scripts: `set -euf -o pipefail`
-    - `-e` (errexit): Exit script on command error, except in ultil loops, while loops, if-tests, list constructs, etc.
-    - `-u` (nounset): Treat references to unset variables as an error and exit.
-    - `-f` (noglob): Disable globbing (filename expansion).
-    - `-o pipefail`: Cause pipelines to return the exit status of the last command in the pipe that returned a non-zero return value.
-    - Most options have `+` and `-` variants which do the opposite thing.
-
-{% include footer.md %}

+ 0 - 15
se/langs/general.md

@@ -1,15 +0,0 @@
----
-title: General
-breadcrumbs:
-- title: Software Engineering
-- title: Languages
----
-{% include header.md %}
-
-## Formatting
-
-- Always end text files with a new-line.
-- Always use UTF-8.
-- Always use LF for line breaks.
-
-{% include footer.md %}

+ 0 - 19
se/langs/markdown.md

@@ -1,19 +0,0 @@
----
-title: Markdown
-breadcrumbs:
-- title: Software Engineering
-- title: Languages
----
-{% include header.md %}
-
-## Formatting & Some Mechanics
-
-- Add empty lines around headings, parapraphs, lists, etc., except for the very start of the file.
-- Lists:
-    - For unordered lists, use `-` instead of `*` (for consistency's sake).
-    - For ordered lists, use `1.`, never `2.` etc.
-    - Lines directly following a list item, indented or not, are interpreted as continuations of the previous line (mechanic).
-    - Indented lines following a list item with a new-line in-between are interpreted as new lines within the item (mechanic).
-    - Indent with four spaces.
-
-{% include footer.md %}