summaryrefslogtreecommitdiff
path: root/content-org/bsd.org
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-09-20 20:06:17 +0200
committermms <michal@sapka.me>2024-09-20 20:06:17 +0200
commit4c09a9b465597051ffd3dd90c8e9afa28a8b39a1 (patch)
tree662df9c25c86253e7d6f7236c77bd27f68b45058 /content-org/bsd.org
parentf10a1070096953eaa3668ca660bffac193235ed2 (diff)
feat: emacs/bsd moved
Diffstat (limited to 'content-org/bsd.org')
-rw-r--r--content-org/bsd.org21
1 files changed, 17 insertions, 4 deletions
diff --git a/content-org/bsd.org b/content-org/bsd.org
index 2fbbaf0..bb54ee8 100644
--- a/content-org/bsd.org
+++ b/content-org/bsd.org
@@ -3,9 +3,9 @@
#+URL: https://michal.sapka.me/unix-history/
#+STARTUP: show2levels indent logdone
-#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/
+#+HUGO_BASE_DIR: ~/sites/site-crys-bsd/
#+HUGO_WEIGHT: auto
-#+HUGO_SECTION: bsd
+#+HUGO_SECTION:
* DONE BSD
CLOSED: [2024-03-06 Wed 14:45]
@@ -15,6 +15,11 @@ CLOSED: [2024-03-06 Wed 14:45]
:EXPORT_HUGO_PAIRED_SHORTCODES: recent-updates menu img-r
:END:
+#+attr_shortcode: "bsd"
+#+begin_menu
+Dune
+#+end_menu
+
* BSDs
:PROPERTIES:
@@ -33,6 +38,7 @@ CLOSED: [2024-05-01 Wed 21:48]
:EXPORT_HUGO_MENU_OVERRIDE: :post "but"
:END:
+
There's multitude of Operating Systems to choose from.
You may have been using something like Windows or MacOS and be perfectly happy with it.
You can step up and use Linux, Haiku or even Amiga OS.
@@ -238,6 +244,7 @@ CLOSED: [2024-04-20 Sat 22:13]
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :menu_item_override_end_li true
:END:
+
Changing GNU/Linux distribution can be done on a whim, as underneath all of that you've got the same basic operating systems.
With BSDs it's not the same.
One should try to understand the downsides, as not to waste the next 20 years exploring an OS that simply is not a good fit.
@@ -603,6 +610,7 @@ CLOSED: [2023-12-11 Mon 19:08]
:EXPORT_HUGO_MENU_OVERRIDE: :parent "obsdweb" :name "Blocking bad bots using Relayd"
:END:
+
The bane of existence for most of small pages: web crawlers.
They create most traffic this site sees and makes my [[https://michal.sapka.me/site/info/#site-stats][site stats]] overly optimistic.
We can go with [[https://en.wikipedia.org/wiki/Robots_Exclusion_Protocol][robots.txt]], but what if it's not enough?
@@ -671,6 +679,7 @@ CLOSED: [2023-07-19 Mon 19:30]
One thing that OpenBSD doesn't provide (yet?) is an HTTP proxy.
I use [[https://plausible.io/][[Plausible]][fn:nope] for basic visitor analytics [fn:privacy] here, and one of the cool things you can do is to break all adblockers via serving Plausible from my own domain[fn:adblock]
+
After two evenings of failed attempts, I reminded myself that I am a programmer, and I wrote one myself.
You can find it on my [no longer available].
It was a great learning exercise and a chance to touch Golang[fn:ruby] for the first time.
@@ -746,7 +755,6 @@ A very common use pattern on FreeBSD desktop is to use Jails to encapsulate depe
Don't want that pesky Pyton? Straight to Jail.
Java? Straight to jail!
-
*** Simple jail - Ltex-Ls
I am not a native speaker, so my English skills are far from perfect.
@@ -878,7 +886,7 @@ Our tinfoil friends will be proud of us.
[this article will be expanded with more examples in the near future]
** Thinkpad :@bsd:
:PROPERTIES:
-:EXPORT_HUGO_SECTION: bsd/thinkpad
+:EXPORT_HUGO_SECTION: thinkpad
:EXPORT_HUGO_MENU: :menu bsd-thinkpad
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :primary_menu bsd-thinkpad
:END:
@@ -892,6 +900,7 @@ CLOSED: [2024-04-10 Wed 22:42]
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :primary_menu bsd
:END:
+
This is my personal machine, where I run FreeBSD-release daily.
**** Current status of components:
@@ -936,6 +945,7 @@ CLOSED: [2023-02-25 Mon 22:30]
:END:
My wife got a new computer, so I can easily break my laptop whenever I want - so it's time for FreeBSD!
+
*All this applies to FreeBSD 13.1 at the time of publishing.
I'll add links to any additions and errata in the future*
@@ -1088,6 +1098,7 @@ I want my laptop to switch to wired headphones when I attach them.
FreeBSD has its own [[https://wiki.freebsd.org/Sound][Sound System]], so it's a great learning experience.
I have yet to automate it (it is possible, but an attempt to do so forced me to do a complete rollback of the system state), but for now, this is working.
+
First, check which audio outputs your device supports:
#+begin_src shell
@@ -1135,6 +1146,7 @@ CLOSED: [2023-03-16 Mon 23:02]
:END:
*This applies to FreeBSD 13.1*
+
Recently I [[/2023/freebsd-on-thinkpad-x1-extreme-g2][posted]] about my problems with FreeBSD.
One of them was resume.
After installing FreeBSD, I was able to put my laptop to sleep via
@@ -1177,6 +1189,7 @@ To ensure this, open BIOS and:
3. Graphics Device
4. select `Discrete Graphics`
+
Then, log in as root and install the drivers:
#+begin_src shell