diff options
-rw-r--r-- | org-templates/distro-guides.org | 2 | ||||
-rw-r--r-- | org/4get-guide.org | 129 | ||||
-rw-r--r-- | org/blog/articles.xml | 14 | ||||
-rw-r--r-- | org/blog/articles/network-diarrhea.xml | 58 | ||||
-rw-r--r-- | org/blog/articles/the-command-line-reactionary.xml | 57 | ||||
-rwxr-xr-x | org/blog/generate-feed.scm | 14 | ||||
-rw-r--r-- | org/computing.org | 2 | ||||
-rw-r--r-- | org/distro-guides/void.org | 13 | ||||
-rw-r--r-- | org/gophermap | 3 | ||||
-rw-r--r-- | org/images/4get-guide-background.jpg | bin | 0 -> 35366 bytes | |||
-rw-r--r-- | org/images/ari.png | bin | 0 -> 1914 bytes | |||
-rw-r--r-- | org/index.org | 13 | ||||
-rw-r--r-- | org/linux-room.org | 4 | ||||
-rw-r--r-- | org/nathans-philosophy.org | 2 |
14 files changed, 299 insertions, 12 deletions
diff --git a/org-templates/distro-guides.org b/org-templates/distro-guides.org index 822bcf9..3e8030b 100644 --- a/org-templates/distro-guides.org +++ b/org-templates/distro-guides.org @@ -1,3 +1,3 @@ #+SETUPFILE: level-2.org #+SHITTYWEB_BACK: <br /><a href="../linux-room.xhtml#distro-guides"><img src="images/back.png" alt="Back to linux room" /></a> -#+BACKGROUND_IMAGE: ../images/linux-background.png +#+BACKGROUND_IMAGE: ../images/linux-background.jpg diff --git a/org/4get-guide.org b/org/4get-guide.org new file mode 100644 index 0000000..a815451 --- /dev/null +++ b/org/4get-guide.org @@ -0,0 +1,129 @@ +#+SETUPFILE: ../org-templates/level-1.org +#+BACKGROUND_IMAGE: images/4get-guide-background.jpg +#+TITLE: 4get guide + +* About 4get +:PROPERTIES: +:CUSTOM_ID: about +:END: +4get is a meta search engine similar to searxng. Its faster, less resource +intense, and more reliable than searxng. *This guide is made for peeps using +4get with lighttpd+freebsd*. Those using a more sane setup should just check +out [[https://git.lolcat.ca/lolcat/4get/src/branch/master/docs/][the 4getdocs]]. + +* Installing 4get +:PROPERTIES: +:CUSTOM_ID: installing +:END: +First install a few packages. Replace =84= with whatever php version your using. +#+begin_src shell + pkp install lighttpd curl git php84 php84-curl php84-fileinfo php84-filter \ + php84-mbstring php84-pecl-APCu php84-pecl-imagick php84-sodium php84-zlib +#+end_src + +Next cd into =/usr/local/www= or wherever you keep your website data and clone +the repo with =git clone --depth 1 https://git.lolcat.ca/lolcat/4get <whatever +the fuck you want>= + +Now that you have it downloaded check out =data/config.php= and change it to +your liking. It's not my job to tell you how you want your 4get instance +configured (: + +* Setting up lighttpd +:PROPERTIES: +:CUSTOM_ID: lighttpd +:END: +If your reading this you likely already used lighttpd since there is no other +reason you would pick lighttpd out of all the other web servers rofl. Well +anyways here is a basic config for 4get to get you started. +#+begin_src + server.modules += ("mod_cgi", "mod_rewrite", "mod_fastcgi") + server.name = "<whatever the fuck you want>" + server.document-root = "/usr/local/www/<whatever the fuck you want>" + index-file.names = ("index.php") + cgi.execute-x-only = "disable" + cgi.assign = (".php" => "/usr/local/bin/php-cgi") + fastcgi.server = ( ".php" => + ( "localhost" => + ( + "host" => "127.0.0.1", + "port" => 9123 + ) + ) + ) + url.rewrite-once = ( "^(.*)/$" => "$1/" ) + url.rewrite-if-not-file = ( "^([^?]*)(\?.*)?$" => "$1.php$2" ) +#+end_src +Start lighttpd with =service lighttpd enable= and =service lighttpd start= +*btw in freebsd =service lighttpd restart= doesn't work so instead you have to +kill it with something like htop.* + +To prevent those annoying php warnings from showing up put these in +=/usr/local/etc/php.ini= +#+begin_src + error_reporting = E_ALL & ~E_DEPRECATED + display_errors = On +#+end_src + +* Tor proxy +:PROPERTIES: +:CUSTOM_ID: tor +:END: +Using a proxy is likely something you will want to do. Meta search engines tend +to get IP banned and all of that funky stuff. + +** torrc +:PROPERTIES: +:CUSTOM_ID: torrc +:END: +To use tor as your proxy add these lines to =/usr/local/etc/tor/torrc= +#+begin_src + SOCKSPort 127.0.0.1:9050 + DNSPort 53 + AutomapHostsOnResolve 1 +#+end_src +The reason to also use torDNS is that if you don't you will get DNS leaks. + +** Tor service +:PROPERTIES: +:CUSTOM_ID: service +:END: +For tor to be able to create a DNS server in freebsd add this to =/etc/rc.conf= +#+begin_src + tor_setuid="YES" +#+end_src + +To use tor DNS change the content of =/etc/resolv.conf= to +=nameserver 127.0.0.1= + +Run =service tor enable= and =service tor start= to get it going + +To config 4get to use tor edit =<4get directory>/data/config.php= and set all +the =const PROXY_<...>= to ="onion"= +#+begin_src php + ... + const PROXY_DDG = "onion"; // duckduckgo + const PROXY_BRAVE = "onion"; + const PROXY_FB = "onion"; // facebook + ... +#+end_src + +** Freebsd pkg issue +:PROPERTIES: +:CUSTOM_ID: pkg +:END: +Freebsd pkg doesn't like torDNS. To fix that run +=mkdir -p /usr/local/etc/pkg/repos= +then =cp /etc/pkg/FreeBSD.conf /usr/local/etc/pkg/repos/= + +Now change =/usr/local/etc/pkg/repos/FreeBSD.conf= to something like this: +#+begin_src + FreeBSD: { + url: "https://pkg.FreeBSD.org/${ABI}/quarterly", + mirror_type: "none", + signature_type: "fingerprints", + fingerprints: "/usr/share/keys/pkg", + enabled: yes + } +#+end_src + diff --git a/org/blog/articles.xml b/org/blog/articles.xml index d48f495..9ca1f71 100644 --- a/org/blog/articles.xml +++ b/org/blog/articles.xml @@ -1,5 +1,19 @@ <channel> <item> + <title>Network diarrhea</title> + <name>network-diarrhea</name> + <pubDate>Wed, 13 Aug 2025 09:57:20 GMT</pubDate> + <file>articles/network-diarrhea.xml</file> + </item> + + <item> + <title>The command line reactionary</title> + <name>the-command-line-reactionary</name> + <pubDate>Mon, 11 Aug 2025 03:26:27 GMT</pubDate> + <file>articles/the-command-line-reactionary.xml</file> + </item> + + <item> <title>Existing</title> <name>existing</name> <pubDate>Sat, 09 Aug 2025 17:07:15 GMT</pubDate> diff --git a/org/blog/articles/network-diarrhea.xml b/org/blog/articles/network-diarrhea.xml new file mode 100644 index 0000000..53fa308 --- /dev/null +++ b/org/blog/articles/network-diarrhea.xml @@ -0,0 +1,58 @@ +<article> + <h2>The thing that happened</h2> + <p> + I have noticed really bad inbound latency on the VPS I host this site + on. Way slower than what <a href="https://skhron.eu">skhron</a> says it + should be on their site so clearly something was up. I noticed when pinging + <a href="https://example.com">example.com</a> the first ping took a while + but after that it was fine compared to pinging its IP address which was + pretty much instant so clearly the DNS server was shit. While doing this I + had the VPS dashboard open and saw DNS server settings which I assumed + (assuming things often lead to bad outcomes) would change something on the + DHCP server. After that I noticed the network on the VPS go completely + down. Only way I could get in was with VNC and from the server I couldn't + ping anything not even IP addresses. After changing back to the default DNS + the issue continued. Turned out there is no DHCP the VPS server just + configures everything statically with some scripts and it messed up. I use + freebsd which wasn't well tested by whoever made that system so it nuked + itself. + <br /><br /> + Even after turning on manual mode and setting up the networking by + hand it was still fucked. The only thing I backed up was my git repos. All + the configs (some of them a pain in the ass to make) were stuck on there + without any way to get them off except painfully hand copy with the 80 + column VNC display. Linux live environments don't support zfs and the + drivers to make that happen require rebooting which live environments reset + on boot. Uploading freebsd live images to the VPS would be painful due to + the stuppa way it handles them. + <br /><br /> + Because I didn't want to go through any of those things I contacted tech + support (I hate contacting those types of places). Most places have an + under powered LLM running the show, people who have good writing/talking + skills but have computer skills limited to using word processors and web + browsers, over worked intern who has million other things on their + mind... Skhron turned out to be one of the rare gems that has tech support + that not only knows what they are doing but also has the time/will to do + so. The tech support person actually took the time to recreate the issue on + another freebsd instance while most tech support people by now would have + sent a copy pasted corporate answer that translates to "go fuck + yourself". After a few hours they sent a manual route config which fixed it + and they also said to configure DNS from <code>/etc/resolv.conf</code> + instead. + </p> + + <h2>What was learned</h2> + <p> + Less so when using more popular operating systems on a VPS but do be + careful with dashboard settings that might be changing things in the + operating system itself instead of on the network and VM. If you can + preform a task from a config file that is often the safer choice because + you don't know what the fuck the VPS dashboard is doing behind the + scenes. Also anything you don't want to loose make backups of because even + if you do everything right things will still fuck up! If this issue wasn't + fixed a fresh install would have been the only other option. If up time is + important for you then automatic backups and full backups are a must + have. Regardless keep an offline backup of important things on your own + hard drive. + </p> +</article> diff --git a/org/blog/articles/the-command-line-reactionary.xml b/org/blog/articles/the-command-line-reactionary.xml new file mode 100644 index 0000000..a8d64fd --- /dev/null +++ b/org/blog/articles/the-command-line-reactionary.xml @@ -0,0 +1,57 @@ +<article> + <p> + Modern GUI fucking suck. Very little customization, mobile first design, + <i>GNOMEism</i>, electron... A lot of things to dislike indeed which will + of course lead to people disliking. Some even lump all of this into one + thing and blame GUI in general. Those are people I call command line + reactionaries. + </p> + + <h2>Why command line is wonderful</h2> + <p> + When I write things people (often willingly) misunderstand what I + say. <b>No, I am not saying command line programs are bad.</b> In fact here + is a list of why they are wonderful: + </p> + <ul> + <li>Simple to write, test, and maintain.</li> + <li>Easily automated and used from other programs.</li> + <li>Doesn't have themeing and integration issues when used in some desktop + environments and window managers.</li> + <li>Screen reader friendly unless you really fuck it up.</li> + <li>Can be used over ssh or telnet.</li> + <li>Slightly more dummy prove from shitty developers.</li> + <li>Heavily keyboard focused.</li> + <li>Can be used in the tty.</li> + </ul> + + <h2><i>Why do I write this if command line good</i></h2> + <p> + There is this generally held belief with some unix users GUI programs can't + be good. They will make command line versions of programs purely as a + reaction to the GUI version sucking. Quickly this turns to just making a + command line version for everything once the black and white "GUI + inherently bad" mindset kicks in. File manager? Ranger (even though ls, + touch, rm... exist). Email? Mutt. These programs existence is a net + positive but did anyone ever stop to think "what if we made and use GUI + programs that don't suck?". Some tasks are just plain annoying to do from + the command line yet the command line versions get more development and the + GUI implementations are left up to beginner python programmers who can't + get the most out of python yet alone use a better language. Those kinds of + programmers I speak of also fall for bad software design philosophy the + most. TUI programs are also kind of stuppa. They cross out a few of the + things on the command line is wonderful list without getting that much + closer to the advantages of GUI programs. + </p> + + <h2>What to do about it</h2> + <p> + We need GUI programs that don't use libraries programmed with one desktop + environment in mind. Use pure gtk and qt instead. GUI programs should work + in both wayland and X11 not one or the other. No more annoying popups and + treating the user like they don't know what they are doing. We need config + files and customization even if its possible for the user to <i>break + it</i>. GUI programs shouldn't be the dummy option, they should be the + graphical option. + </p> +</article> diff --git a/org/blog/generate-feed.scm b/org/blog/generate-feed.scm index 1db00d4..b41c802 100755 --- a/org/blog/generate-feed.scm +++ b/org/blog/generate-feed.scm @@ -20,17 +20,25 @@ (read-characters fp) (display "]]>\n"))))) + +(define (format-article-filename file) + (let ((file-length (string-length file))) + (string-append (substring file + 0 + (- file-length 4)) + ".xhtml"))) + ;; Generate rss item (define (make-item article) (let ((title (cadr (list-ref article 0))) - (name (cadr (list-ref article 2))) (pub-date (cadr (list-ref article 4))) (file (cadr (list-ref article 6)))) (format #t "\n <item>\n\ <title>~a</title>\n\ - <link>~a/blog#~a</link>\n\ + <link>~a/blog/~a</link>\n\ <pubDate>~a</pubDate>\n\ - <description>\n" title site-url name pub-date) + <description>\n" + title site-url (format-article-filename file) pub-date) (get-description file) (display " </description>\n") (display " </item>\n"))) diff --git a/org/computing.org b/org/computing.org index 2743dd8..cd5806b 100644 --- a/org/computing.org +++ b/org/computing.org @@ -43,7 +43,7 @@ somewhere. It gets burnin really easily which use to scare me when editing scary/funny faces in gimp along with making my high schooler brain paranoid when jorking it to porn, often ranging from totally straight to totally gay and anything in-between. Since the trackpad fucking sucks to use I got one of those -logical trackballs which I also use as a remote for my tv. +logitech trackballs which I also use as a remote for my tv. ** tv :PROPERTIES: diff --git a/org/distro-guides/void.org b/org/distro-guides/void.org index 57fc082..75d3a1c 100644 --- a/org/distro-guides/void.org +++ b/org/distro-guides/void.org @@ -37,6 +37,19 @@ Some useful things: + [[https://docs.voidlinux.org/config/containers-and-vms/chroot.html][Interesting]]. + [[https://gothub.ducks.party/void-linux/void-packages][Source packages in void]]. + +* Laptop brightness issue +:PROPERTIES: +:CUSTOM_ID: brightness +:END: +On void some laptops will not save their previous brightness after boot. To fix +that first install [[https://man.voidlinux.org/brillo.1][brillo(1)]]. + +To save the brightness on shutdown open =/etc/rc.shutdown= and add =brillo -O= + +Next open =/etc/rc.local= and add =brillo -I= to restore the brightness on +startup + * Packages :PROPERTIES: :CUSTOM_ID: packages diff --git a/org/gophermap b/org/gophermap index 50a6899..b459664 100644 --- a/org/gophermap +++ b/org/gophermap @@ -15,8 +15,7 @@ iPoorly exported shit from org-mode: 0My likes and dislikes likes-and-dislikes.txt 0How I do my computing computing.txt 0The declaration of freedom declaration.txt -0Donate give-me-your-dollaridoos.txt -0Contact contact.txt +04get setup guide 4get-guide.txt 0Void guide distro-guides/void.txt 0Xfce guide distro-guides/xfce.txt diff --git a/org/images/4get-guide-background.jpg b/org/images/4get-guide-background.jpg Binary files differnew file mode 100644 index 0000000..81fc560 --- /dev/null +++ b/org/images/4get-guide-background.jpg diff --git a/org/images/ari.png b/org/images/ari.png Binary files differnew file mode 100644 index 0000000..4d1e075 --- /dev/null +++ b/org/images/ari.png diff --git a/org/index.org b/org/index.org index ec9004c..2ad7878 100644 --- a/org/index.org +++ b/org/index.org @@ -21,6 +21,8 @@ + [[file:blog/index.xhtml][blog]] + [[https://git.shittyweb.org][git]] + [[http://git.3yrbqwojymy6zhbgbt2aatxgvs6a3m5fvrpk24nfp2q3nyjz5raohoqd.onion][git (onion)]] ++ [[https://4get.shittyweb.org][4get]] ++ [[http://4get.3yrbqwojymy6zhbgbt2aatxgvs6a3m5fvrpk24nfp2q3nyjz5raohoqd.onion][4get (onion)]] + [[https://shittyweb.org][clearnet]] + [[http://3yrbqwojymy6zhbgbt2aatxgvs6a3m5fvrpk24nfp2q3nyjz5raohoqd.onion][onion]] + [[gopher://shittyweb.org][gopherhole]] @@ -34,18 +36,24 @@ :CUSTOM_ID: places :END: + [[file:linux-room.org][linux room]] + + [[file:distro-guides/void.org][Void (my daily driver)]] + + [[file:distro-guides/xfce.org][Xfce DE]] + + [[file:distro-guides/arch.org][Arch (my old daily driver)]] + + [[file:distro-guides/fedora.org][Fedora xfce (my old old daily driver)]] + [[file:music-room.org][music room]] + [[file:tv-corner.org][tv corner]] + [[file:reading-corner.org][reading corner]] + [[file:ttr.org][tips, tricks, & reviews]] + [[file:xmpp-and-mumble.org][learn about xmpp and mumble]] ++ [[file:4get-guide.org][4get setup guide]] + [[file:computing.org][how I do my computing]] + [[file:nathans-philosophy.org][Nathan's philosophy]] + [[file:likes-and-dislikes.org][my likes and dislikes]] + [[file:declaration.org][declaration of freedom]] ++ [[file:free-money.org][FREE MONEY]] + [[file:truth.org][LEARN THE TRUTH]] -/durp durp durp/ *bite my shiny metal ass* +/durp durp durp/ *who the fuck registered [[http://goatedfb.com][goatedfb.com]]!? I NEED TO KNOW* * About me :PROPERTIES: @@ -135,15 +143,16 @@ They arent standard size because fuck you (: # Copy paste quick fix. #+begin_export html +<a href="https://ari.lt" target="_blank"><img src="images/ari.png" alt="ari's website" /></a> <a href="https://getimiskon.xyz" target="_blank"><img src="images/getimiskon.png" alt="getimiskon's space" /></a> <a href="https://yesterweb.org/no-to-web3" target="_blank"><img src="images/roly-saynotoweb3.gif" alt="keep the web free" /></a> <a href="http://wiby.org/" target="_blank"><img src="images/wiby.gif" alt="wiby" /></a> <a href="https://isntreal.neocities.org" target="_blank"><img src="images/isntreal.png" alt="isntreal" /></a> <a href="https://speevtheteev.neocities.org" target="_blank"><img src="images/speevtheteev.gif" alt="speevtheteev" /></a> <a href="https://moosyu.com" target="_blank"><img src="images/moosyu.png" alt="Moosyu" /></a> -<img src="images/tiny_lain.gif" alt="Lain" /> <br /> +<img src="images/tiny_lain.gif" alt="Lain" /> <a href="https://cadence.moe/blog/2024-10-05-created-by-a-human-badges" target="_blank"><img src="images/created-by-a-alien-smol.png" alt="Created by a alien with a heart" /></a> <a href="https://www.gnu.org/software/emacs" target="_blank"><img src="images/gnu-made.png" alt="Made with gnu emacs" /></a> <a href="https://anybrowser.org/campaign/index.html" target="_blank"><img src="images/any-browser.gif" alt="Any browser you like" /></a> diff --git a/org/linux-room.org b/org/linux-room.org index 856ab34..e248b8e 100644 --- a/org/linux-room.org +++ b/org/linux-room.org @@ -93,8 +93,8 @@ I dont use doom emacs, spaceacs... or any of that bullshit. Just good old gnu emacs with a simple config and a hand full of plugins.\\ Some of my favorite are: -+ Ivy: it makes emacs feel a bit nicer without completely changing it by - much. ++ +Ivy+ Vertico: it makes emacs feel +a bit+ way nicer without completely + changing it much. Use to use ivy than a comrade switched me over to vertico. + Company with eglot: a easy way to add good auto-complete and lsp support. It doesnt bloat the system up too much and it adds much faster and better auto-complete then what any standard ide has and it diff --git a/org/nathans-philosophy.org b/org/nathans-philosophy.org index 6310dea..1c01c89 100644 --- a/org/nathans-philosophy.org +++ b/org/nathans-philosophy.org @@ -622,7 +622,7 @@ and 2: fucking with peoples personal lifes never helps anyone. :CUSTOM_ID: economics_and_socialism :END: This is going to get fucking messy. Well anyways, I am going to tell you -what real socialist economics is. *The USS shit is a fucking terrible +what real socialist economics is. *The USSR shit is a fucking terrible example of socialist economics.* Dont give me that /socialism only works in theory/ bullshit because here is the truth about socialism: socialism is not when the government does stuff, its not when everyone is paid the |