Compare commits

...

10 Commits

14 changed files with 936 additions and 70 deletions

View File

@ -2,29 +2,33 @@
#+options: toc:nil
#+OPTIONS: html-postamble:nil
#+OPTIONS: html-style:nil
#+OPTIONS: num:nil p:nil pri:nil stat:nil tags:nil tasks:nil tex:nil timestamp:nil toc:nil title:nil
#+OPTIONS: num:nil p:nil pri:nil stat:nil tags:nil tasks:nil tex:nil timestamp:nil toc:nil title:nil ^:nil
#+TITLE: Suragu.net
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="css/styles.css"/>
#+EXPORT_FILE_NAME: about.html
* About
This (very alternative) website exists for the sole purpose of
existing. This website has no objetive purpose.
As if someone cared, here's my neofetch.
#+begin_export html
<a href="img/as_if_someone_cared.png"><img src="img/as_if_someone_cared_thumb.jpg"></a>
#+end_export
** About the person
I'm a [[./img/fermin_trujillo.jpg][freelancer]] from Spain, I also make computer things. You can find
me in [[https://github.com/dudemanweed][GitHub]] or [[https://codeberg.org/dudemanweed][Codeberg]] (self-hosted [[https://git.suragu.net][gitea instance]]).
Why are you reading this? I'm not that interesting, i'm just a guy who
writes blogposts and software. You can do that too. Stop caring so
much about others and start caring about yourself.
[[./keys.txt][pgp & ssh keys]]
** Projects
Some projects I have worked on are [[https://git.suragu.net/sakisafe.git][sakisafe]], a simple file sharing
program and it's terminal interface. There are also the [[https://git.suragu.net/k9core.git][coreutils]] I
wrote and a lot of [[https://git.suragu.net/love_sosa][scripts]] I have written during the time. The source
code of my blog is available at [[https://git.suragu.net/the_pit.git][the_pit]]
Some projects I have worked on are [[https://git.suragu.net/sosa/sakisafe.git][sakisafe]], a simple file sharing
program and it's terminal interface. The source code of my blog is
available at [[https://git.suragu.net/sosa/the_pit.git][the_pit]]
** Hotlinking
if you feel like sharing this website without anything in return, you
can use one the following banners:
[[./img/banner_suragu.png]] [[./img/banner_suraguchan.png]]
** About the site
Everytime i'm bored and i think about something, i put it in this
website so they can make a wikipedia article about me.

51
comissions.org Normal file
View File

@ -0,0 +1,51 @@
#+INCLUDE: "inc/header_marijuana.html" export html
#+options: toc:nil
#+OPTIONS: html-postamble:nil
#+OPTIONS: html-style:nil
#+OPTIONS: num:nil p:nil pri:nil stat:nil tags:nil tasks:nil tex:nil timestamp:nil toc:nil title:nil ^:nil -:nil
#+TITLE: suragu.net - Comissions
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="css/marijuana.css"/>
#+EXPORT_FILE_NAME: comissions.html
* Comissions
I have been sponsored to do some reviews, in this page I intend to
have a special site in the website for those marijuanas who touched my
heart.
If you're my fucking father, donate to make a review, Monero:
87nNzDdnACV614EuueWcwiX16hYNr9cVMACzYExHvGRRf2sHDUydjNvFvoMRBRbJntgxanvE9vzGxLTgenydK8PuSMq9aXC
If you send "[[./img/izaskun.jpg][propin]]" be sure to notify me because I check the monero
wallet very rarely.
For comments, hit me up at melendi@riseup.net
** Gold Extraction 22k (Hash, 22 EUR/gram)
This hash was literally keef, smelled like grass, at first we smoked a
green (something legendary in this region of the world, we're
poorfags) with this hash. According to the dude who talked us about
this, this was "crazy shit", we believed him. Anyways, the joint was
an incredible one, things is that because we are idiots, we added a
shitton of hash and a shitton of another expensive grass to the
bong. My friend hit it first and nigga didn't feel anything, I hit it
and I was instantly transported to the Marijuana Shadow Realm™. I
don't remember many things about that hour and a half of my life. Some
frames I have from those moments were:
1. A friend of mine in ambulance mode to gave me coke (the drink, not
the drug)
2. My other friend doing research and getting an acuarius as donation
from the club because of my condition.
3. Puked three times
4. [[./img/narturo.jpg][This romanian motherfucker]] spawning with a kebab to save my
godforsaken soul.
That's all I remember. I recommend it
** Red Sangria (Grass, 12 EUR/Gram)
To be written, still have to smoke it.

View File

@ -8,10 +8,11 @@
// Variables
@cyan: #009090;
@click: #003b3b;
@banner_alpha: rgba(106,231,137,0.1);
@banner: rgb(106,231,137);
@cool_red: #94000c;
@cool_click: #99000c;
@banner_alpha: rgba(0,0,0,0.5);
@button_bg: rgba(0,0,0,0.8);
@banner: rgb(97,50,97);
@cool_red: #610061;
@cool_click: #6100ff;
// Functions
.border_red {
@ -19,11 +20,17 @@
border-color:@cool_red;
}
.border_green {
border-style:solid;
.border_purple {
border-style: double;
max-width: 90%;
border-color: @banner;
}
hr {
color: @banner;
margin: -1px;
}
// Stylesheet for mobile devices:
@media screen and (max-width: 800px) {
.sidebar {
@ -48,6 +55,7 @@
}
.container, .outline-2 {
padding: 10px;
background-color: rgba(0,0,0,0.9);
margin-bottom: 10px;
position: relative;
.border_red();
@ -84,7 +92,15 @@
.container, .outline-2 {
padding: 10px;
background-color: rgba(0,0,0,0.9);
margin-bottom: 10px;
background-image: url(/img/screw.png);
background-repeat: no-repeat;
background-position: top right;
background-size: auto;
background-attachment: local;
overflow-x: hidden;
.border_red();
}
p {
@ -99,9 +115,11 @@
body {
background-color: black;
font-family:monospace;
background-image: url(/img/coche_screw.png), url(/img/screw.png), url(/img/stars.png);
background-repeat: no-repeat, no-repeat, repeat;
background-position: bottom left, top right, left;
background-image: url(/img/coche_screw.png), url(../img/bg3.png);
background-repeat: no-repeat, no-repeat;
background-position: bottom left, left;
background-size: auto, auto, auto;
background-attachment: fixed;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, li, pre, blockquote {
@ -135,8 +153,6 @@ a:hover {
}
.button {
border: 1px;
border-style: solid;
width: 120px;
margin: 2px;
text-align: center;
@ -150,8 +166,13 @@ a:hover {
color: @banner;
margin: auto;
}
a:hover {
color: @cool_click;
}
.border_green();
background-color: @button_bg;
.border_purple();
}
code {

View File

@ -8,19 +8,22 @@
// Variables
@cyan: #009090;
@click: #003b3b;
@banner_alpha: rgba(106,231,137,0.1);
@banner: rgb(106,231,137);
@cool_red: #94000c;
@cool_click: #99000c;
@banner_alpha: rgba(0,0,0,0.5);
@button_bg: rgba(0,0,0,0.8);
@banner: rgb(97,50,97);
@cool_red: #610061;
@cool_click: #6100ff;
// Functions
.border_red {
border-style:solid;
border-color:@cool_red;
border-style: solid;
max-width: 90%;
border-color: @cool_red;
}
.border_green {
border-style:solid;
.border_purple {
border-style: double;
max-width: 90%;
border-color: @banner;
}
@ -46,10 +49,11 @@
left: 125px;
bottom: 0;
}
.container, .outline-2 {
.container, .outline-2, .footnotes {
padding: 10px;
margin-bottom: 10px;
position: relative;
background-color: rgba(0,0,0,0.9);
.border_red();
}
p {
@ -85,6 +89,7 @@
.container, .outline-2 {
padding: 10px;
margin-bottom: 10px;
background-color: rgba(0,0,0,0.9);
.border_red();
}
p {
@ -99,7 +104,11 @@
body {
background-color: black;
font-family:monospace;
background-image: url(../img/stars.png);
background-image: url(../img/bg3.png);
background-position: left;
background-repeat:no-repeat;
background-size: auto;
background-attachment: fixed;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, li, pre, blockquote {
@ -107,7 +116,7 @@ h1, h2, h3, h4, h5, h6, p, ul, li, pre, blockquote {
}
a {
color: @cool_click;
color: purple;
font-weight: bold;
text-decoration: none;
}
@ -133,12 +142,9 @@ a:hover {
}
.button {
border: 1px;
border-style: solid;
width: 120px;
margin: 2px;
text-align: center;
a {
text-decoration: none;
font-weight: bold;
@ -147,9 +153,12 @@ a:hover {
font-size: 16px;
color: @banner;
margin: auto;
}
.border_green();
a:hover {
color: @cool_click;
}
background-color: @button_bg;
.border_purple();
}
code {

28
inc/header_marijuana.html Normal file
View File

@ -0,0 +1,28 @@
<div class="sidebar">
<div class="cat_image">
<a href="/">
<img src="/img/cat.gif" alt="cat">
</a>
</div>
<div class="button">
<a href="/about.html">About</a>
</div>
<div class="button">
<a href="/tech_posts">Tech posts</a>
</div>
<div class="button">
<a href="/media.html">Media log</a>
</div>
<div class="button">
<a href="/blog">blog</a>
</div>
<div class="button">
<a href="/marijuana_reviews.html">Reviews</a>
<hr>
<a href="/comissions.html">Comissions</a>
</div>
<div class="button">
<a href="https://git.suragu.net">git</a>
</div>
</div>

View File

@ -9,17 +9,21 @@
#+EXPORT_FILE_NAME: index.html
* suragu.net
Welcome to suragu.net! My personal website. In which you can read my
philosophical posts or my posts about technology.
Welcome to SURAGU, a website in which I talk about anything that comes
to my mind, reviews, technology, and filler content such as the media
I have consumed.
Everything that I have created is under the WTFPL or the public domain.
* Contact
If you want to contact me because of any reason, I have an email:
chief_keef at riseup dot net, or you can join =irc.suragu.net= and
join =#montepinar=.
You can contact me through email: chief_keef at riseup dot net or
XMPP: keef at this domain
* Donate
If you appreciate my work and wish to say thanks, you can send money
to any of these cryptocurrencies addresses:
If you want to help me to defraud the treasury, send cryptocurrencies
to the following address:
- Monero: 87nNzDdnACV614EuueWcwiX16hYNr9cVMACzYExHvGRRf2sHDUydjNvFvoMRBRbJntgxanvE9vzGxLTgenydK8PuSMq9aXC
- Bitcoin: bc1q8k6f3ja8na82wl6ehw73uhy67d45pkhs63yvy5

View File

@ -1,4 +1,4 @@
#+INCLUDE: "inc/header.html" export html
#+INCLUDE: "inc/header_marijuana.html" export html
#+options: toc:nil
#+OPTIONS: html-postamble:nil
#+OPTIONS: html-style:nil
@ -6,8 +6,12 @@
#+TITLE: Suragu.net - Laughing to the Article 368
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="css/marijuana.css"/>
#+EXPORT_FILE_NAME: marijuana_reviews.html
#+AUTHOR: Ruby da Sousa
* SURAGUs Marijuana Reviews
#+begin_export html
<h2 style="color:red;">(SURAGUのマリファナレビュー!!)</h2>
#+end_export
Creativity, Its a known fact that grass increases creativity from
eight to eleven times. In fact, everyone finds theyre more creative
@ -19,12 +23,13 @@ fucking plant has changed so damn much. Like everything in
contemporany society, you have so much choice its depressing. In this
post I will review all the strains I have tried.
But I wont say “this shit dope” because that would be too boring. And
I wont say “this shit dope” because that would be too boring. And
Im also not going to explain how each bud helps you with insomnia,
anxiety, depression and ADHD because despite recent research shows
its not so darn harmful, im not an idiot either.
So Ill review the buds using Pen & Pixel Graphics album covers. I am
So Ill review the buds using Pen & Pixel Graphics album covers
(update: at this point i use just whatever). I am
not rating the weed on how good the album is. Just in how weird the
cover is.
@ -35,9 +40,16 @@ helping me choose the covers.
Whatever weed youre smoking. And despite whatever these reviews says
about each strain, theres this quote from Kabuto Makai I the Great
that you should never forget:
#+begin_quote
“Sea Indica o Sativa me da igual que guay está la keli echandose
un mai”
#+end_quote
This post does not want to promote cannabis comsumption. This post is
entirely made with educational purposes.
If you're under 18 or 21 if you're american, close this tab. Or
don't. I'm a paragraph, not a cop.
** Amnesia (grass)
@ -204,7 +216,7 @@ of Three 6 Mafia - When the Smoke Clears
Well, what can I say about this one. We have 3 guys and a woman. The
look in the dude's faces can be labeled as "intimidating", they're not
the kind of people you'd like to have an argument with (especially
taking into account they're from Memphis). Then we we look at the
taking into account they're from Memphis). Then we look at the
woman's look. She doesn't look intimidating, she looks like the mother
of the other 3 dudes.
** Hulk
@ -221,4 +233,126 @@ liminal: the physical version of DJ Screw - The Legend
Shit exists.
** Hierba Turolense
>"Most natural weed is the one that grows in earth"
--- Vivaldi
Local is good, it's a known fact, sometimes, a friend of yours have
the opportunity to taste a local product, and sometimes, your friend
lets you taste the wonders of Teruel. This was an impressive sample of
weed Marijuana, we had Mandanga Style, one of the best spots ever,
munchies and a telepathic conversation in the subway. Picture for this
bud it's not designed by Pen and Pixel but i don't care.
[[./img/narturo.jpg]]
No comments on the picture.
** Gorilla
According to the internet, this is a indica strain, but according to
the club, it's sativa, so i'd say it's sativa. While we were smoking
this bud we were one step above human evolution, using entities with
more intelligence than a human being to help us write something. Blunt
lasted at least 45 minutes, it was good. This sample deserves the last
album cover designed by pen and pixel: 21 Savage - Savage Mode II
(Chopped not slopped)
[[./img/covers/savagemode.jpg]]
In this picture we can see many things that defined the style of Pen
And Pixel, such as expensive cars, a mansion, and cool shining text.
The funny thing about this cover are the protagonists, in this
picture we can see 21 Savage being the most black dude ever, throwing
dice, like he's choosing someone's fate, and metro boomin doesn't know
what he's doing there.
** Piñata
We might struggle because life's a bitch, when it isn't you can get
quality /C. Sativa/ samples. This is a good bud that will smell from
here to Saturn without a simple problem. The following thing happened
after getting more buds:
1. My friend starts to roll a joint
2. I give him material to work with, he said that he will add Piñata
lately
3. My man mixed my other material with the thing I gave him before
4. I ask him what the fuck he's doing
5. We laugh for 2 minutes straight
6. He adds Piñata
7. He adds hash
8. ???
9. We had Aqui no hay quien viva playing in the club's television
I don't really know what happened, but then we ate a kebab. This shit
must have Gucci Mane - The Burrpint the movie 3D:
[[./img/covers/burrpint.jpg]]
Just look at the thing for 3 seconds, what the hell is going it there,
that was our situation, we did not know who we were, what were we
doing there, the only thing we had is a joint waiting to be smoked.
** SURAGU's delight (a.k.a. Alzhaimer)
You know when in Terraria you can buy this table from the goblin that
allows you to combine multiple items into one? Well, you can do the
same thing with weed, you can mix multiple strains in the same
joint. Or you can add hash to the joint (a.k.a. mariachi)
In the part of the world in which I reside, putting tobacco in the
joint is the most common practice, because we're not Rockefeller and
can't afford greens.
SURAGU's delight formula is the following: Amnesia (grass) + Amnesia
(Hash). But they're rolled as a [[https://www.youtube.com/watch?v=S8xp1ilM82A][Moroccan joint]] ¹
Some people go to nightclubs and shit to have a good time, I don't. I
don't need a nightclub, I got a wasteland near home. This joint got me
seeing Canserbero in the stars, also inventing sentences reading car's
license plates. A very unusual experience I must say. Then I smoked a
pipe of this same combination, Deltoya by extremoduro gets the vibe
pretty well:
[[./img/covers/deltoya.png]]
Not literally, but I think it expresses the feeling pretty well. You
could say the dude in the cover is having a psychotic break and
desired to look at the moon while naked. Or you can also think that
the dude just got done showering, he's naked, but he was so high he
forgot he made a bong before showering, so before dressing, he hit the
bong, but he hit the shit too hard he had to get a grip from the
door and he's exhaling the smoke like a motherfucker.
I don't know what Robe wanted to express with this album cover. But
it's a pretty good damn one.
1: Also called "Sevillanos" or "Spanish Joint", but the truth is
that joints rolled with a cig were invented by moroccans. We do it in
Spain because we have morocco right here I guess, but anyways, I won't
argue with the guys who invented hash who invented this method of
rolling hash joints.
** Green Crack
You're probably thinking the first thing I thought when I saw this
strain's name "what the fuck", this is strain is called Green Crack
for unknown reasons, there is also a substrain called "Super Green
Crack", which my lungs have not behold yet. So I can only talk about
Green Crack. This is a Sativa grass, and such sativa.
So we gave a few puffs to the Green Crack joint and we remembered that
THC is a [[https://pubmed.ncbi.nlm.nih.gov/10863546/][neuroprotective chemical rather than a neurotoxic one]] so we
looked for "weed helps with alzhaimer" in a search engine, which
redirected us to a website which listed "Green Crack" as the best
strain out there for Alzhaimer. Then we forgot why we were in that
website.
The effects of this were, well, I guess they were good because I do
not remember. Anyways, this gets Ill Pekeño - Av. Rafaela Ybarra
[[./img/covers/avrafaela.jpg]]
This is a Spanish rapper who sounds like MF DOOM and plagiarized Pen &
Pixel style. So I think it's pretty epic

View File

@ -40,7 +40,9 @@ I love the "guy who think he's cool" cinema.
- *Scarface (1983)*: Masterpiece.
- *Navajeros (1980)*: Funny at times but didn't like it at all.
- *El pico (1983)*: Way better than Navajeros and has a cool message.
- *El pico 2 (1984)*: This one was interesting.
- *El pico 2 (1984)*: 🎵Hay veces que me siento solo y pienso, Quisiera
yo cambiar el mundo mío, Quisiera yo coger a las estrellas para
poder ponerlas en mi camino🎵
- *Scary Movie (2000):* Utter shit. But THC boosts movies.
- *Ali G Indahouase:* ???
- *The Godfather (1972):* Masterpiece
@ -55,9 +57,7 @@ stated otherwhise.
- *Borderlands: The Pre-sequel*: Still playing it
- *Milk (out|in)side a bag of milk (out|in)side a bag of milk*: Had a [[./img/funny.png][funny frame]]
** Anime
I'm not much of an anime watcher, but eh, sure. I'm including both
anime shows and movies in this section.
I genuinely believe that all anime are garbage.
- *Serial Experiments Lain*: The anime is cool. I used to simp for Lain
but then I discovered I'm suragu, not a insecure, twitter user
- *Paranoia Agent*: I remember once a linguistics teacher I had told me
@ -74,6 +74,11 @@ anime shows and movies in this section.
one. This one is actually depressing.
- *Belladonna of Sadness (1973)*: Masterpiece. The Japanese version of
Pink Floyd's The Wall. Psychedelic, deep, and weird.
- *Jigoku Shoujo*: This death note and paranoia agent but with a
anime girl instead of a guy with a baseball bat. It also had a
[[./img/hell_marijuana.jpg][sublimal message]]
- *Perfect Blue (1997)*: Psychosis.
** Books
I know how to read
@ -84,7 +89,9 @@ I know how to read
This shit will never be complete.
a * means that I have a physical copy
- *21 Savage - Savage Mode II*
- *Alice in Chains - Dirt*
- *Alice in Chains - Facelift*
- *Big Moe - City of Syrup*
- *bôa - Twilight*
- *CCR - Pendulum*
@ -99,10 +106,15 @@ a * means that I have a physical copy
- *Dr. Octagon - Dr. Octagonecologyst*: Kool Keith is a genius.
- *Dr. DOOOM - First come, first served*
- *Denzel Curry - Melt my eyez see your future*
- *Denzel Curry - Imperial*
- *Envidia Kotxina - Asi en la tierra komo en el zielo*
- *Gospel - The Moon is a Dead world*
- *Iron Maiden - Somewhere in time* My favorite album from these dudes
- *Kanye West - My Beautiful Dark Twisted Fantasy (2010)*
- *Kanye West - My Beautiful Dark Twisted Fantasy*-
- *Kanye West - Graduation*
- *Kanye West - Yeezus*
- *Kanye West - *The life of pablo*: A masterpice worth playing at a
wasteland at 3 in the morning
- *Kendrick Lamar - DAMN.* Second best album by this guy *
- *Kendrick Lamar - Section.80*
- *Kendrick Lamar - good kid, m.A.A.d. city:* I listen to this album at night while doing stuff and I like it.
@ -110,12 +122,15 @@ a * means that I have a physical copy
- *The Offspring - Smash*: Best 90s albums I do not accept debate. *
- *The Offspring - Americana* *
- *Nirvana - Nevermind* *
- *Pearl Jam - Ten*
- *Pink Floyd - The Dark side of the moon* *
- *Pink Floyd - Wish you were here* *
- *Pink Floyd - Animals* Their second best album *
- *Pink Floyd - The Wall* Their best album *
- *Pink Floyd - Meddle* *
- *Linkin park - Hybrid theory:* Hard as shit. *
- *Living Death - World neuroses* Its alright
- *MF DOOM - Operation Doomsday*
- *MF DOOM - MM..FOOD*
- *Metallica - Kill em all*
- *Metallica - Ride the lighting*
@ -125,6 +140,7 @@ a * means that I have a physical copy
- *Megadeth - Rust in peace* *
- *Megadeth - Countdown to extinction*
- *Megadeth - Youthanasia* *
- *M.O.D. - U.S.A. FOR M.O.D.*
- *MF Grimm - The hunt for the Gingerbread man:* Underrated. *
- *Madvillain - Madvillany: The best album ever made.*
- *Makaveli - The Don Killuminati: The 7 Day Theory*
@ -137,6 +153,13 @@ a * means that I have a physical copy
- *Zabutom - Zeta force*
- *cLOUDEAD - cLOUDEAD*
- *deaths dynamic shroud.wmv - Ill try living like this*: Used to love it. Now it gives me anxiety.
- *smashing pumpkins - mellon collie and the infinite sadness:* My mother likes it
- *$uicideboy$ - I want to die in new orleans + some of their EPs*
- *わたしのココ - カラダは正直:* I was told by my friend that this was noise, I thought noise was about making music breaking plates and stuff. Album was good.
- *smashing pumpkins - mellon collie and the infinite sadness:* My
mother likes it
- *S.O.D. - Speak English or Die*
- *suicideboys - I want to die in new orleans* *
- *わたしのココ - カラダは正直:* I was told by my friend that this was
noise, I thought noise was about making music breaking plates and
stuff. Album was good.
- *ミドリ - あらためまして、はじめまして、ミドリです:* Pictures
schizophrenia pretty well.

100
tech_posts/adblock.org Normal file
View File

@ -0,0 +1,100 @@
#+INCLUDE: "../inc/header.html" export html
#+options: toc:nil
#+OPTIONS: html-postamble:nil
#+OPTIONS: html-style:nil
#+OPTIONS: num:nil p:nil pri:nil stat:nil tags:nil tasks:nil tex:nil timestamp:nil toc:nil title:nil
#+options: ^:nil
#+TITLE: suragu.net - network wide ad blocking
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../css/styles.css"/>
* Local Area Network wide ablocking
They do not want you to know this, but there's something called
"adblocking", which consists on blocking ads so they do not bother you
while browsing the internet. This has many advantages such as a less
dystopic experience of the internet and a faster website loading
because you *literally cannot* load the ads. There are, as far as I'm
concerned, /two/ ways of adblocking, the simple and the complex. the
simple is basically installing ublock origin from your browser's
webstore and call it a day. The other is to setup a Linux or BSD
server so you can install Unbound on it and configure it in a way that
it blocks all the domains that websites use to load ads. As you can
see, there's a long road between the former and the later.
This post will redact my experiences doing the complex solution. I use
OpenBSD with an apparently incompatible wireless network card. So I
could not do the correct thing to do, which is to setup a router whose
DHCP daemon sets the default DNS server to the address of the router,
which runs this cool unbound that blocks ads.
** Installing unbound
As mentioned before, I'm running OpenBSD in my server, OpenBSD comes
with unbound preinstalled I did not have to do anything, Linux users
probably can install unbound with the default package manager.
** Configuring unbound
There's this [[https://vermaden.wordpress.com/2020/11/18/unbound-dns-blacklist/][cool tutorial]] on how to setup an adblocking local DNS
server under FreeBSD, this guide uses a script that generates a DNS
list with hosts to be blocked. But as I'm a good person I've uploaded
the resulting [[https://ss.suragu.net/f/1ij6s/blacklist.conf][file to my server]] so you can just download it.
Then, you have to edit the unbound config file, under OpenBSD it is in
=/var/unbound/etc/unbound.conf= like this:
#+begin_src conf-space
server:
# Bind to localhost and external address
interface: 127.0.0.1
interface: 192.168.1.57
interface: ::1
# Allow requests from the LAN and the localhost
access-control: 0.0.0.0/0 refuse
access-control: 192.168.0.0/16 allow
access-control: 127.0.0.0/8 allow
access-control: ::0/0 refuse
access-control: ::1 allow
# Security reasons
hide-identity: yes
hide-version: yes
# Perform DNSSEC validation.
#
auto-trust-anchor-file: "/var/unbound/db/root.key"
val-log-level: 2
# Synthesize NXDOMAINs from DNSSEC NSEC chains.
# https://tools.ietf.org/html/rfc8198
#
aggressive-nsec: yes
# Bind the remote control socket to a UNIX socket so only the server
# can control it
remote-control:
control-enable: yes
control-interface: /var/run/unbound.sock
# The file you got
include: /var/unbound/etc/blocklist.conf
#+end_src
After doing this, unbound should be ready to run and can be started
with =rcctl enable unbound && rcctl start unbound=
** Configuring devices to use the DNS server
As mentioned before, the correct way to do this is to setup the
machine as a router, my T400 has an intel card that does not support
OpenBSD too good, I still like my T400 despite its handicap, a
workaround for this is to setup *in each device you want to connect to
your LAN*. So basically you have to know how to setup a static IP
address. The most basic configuration for a static IP address that
should work in a normal scenario is the following:
#+begin_src text
address: 192.168.1.whatever
mask: 255.255.0.0 (or 255.255.255.0 if that doesn't work)
gateway: 192.168.1.1 (or 192.168.0.0, depending on your router)
dns server: the ip address of your server running unbound
#+end_src

View File

@ -6,6 +6,7 @@
#+TITLE: suragu.net - Tech posts
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../css/styles.css"/>
#+EXPORT_FILE_NAME: index.html
#+author: Roberto Cornell
* suragu.net tech posts
@ -27,3 +28,7 @@ These articles are sorted from oldest to newest.
5. [[./bsd_make.html][Using BSD make as build system]]
6. [[./modern_perl.html][Perl in CURRENT_YEAR]]
7. [[./raku.html][The Raku programming language]]
8. [[./picking_a_linux_distro.html][Picking a Linux distro]]
9. [[./adblock.html][LAN adblocking]]
10. [[./ssh_holyness.html][Insane stuff you can do in ssh]]
11. [[./void.html][If IQ was given like Dopamine, Arch Linux would not exist]]

View File

@ -6,6 +6,7 @@
#+options: ^:{}
#+TITLE: suragu.net - Org-mode as a Static Site Generator
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../css/styles.css"/>
* org-mode as a Static Site Generator
Created: 2022-06-14
Last updated: 2022-06-14
@ -20,10 +21,6 @@ this process.
And yes, this article was written in =org-mode=.
If you enjoy this article, please consider donating:
[[https://liberapay.com/raoul11][https://liberapay.com/raoul11]]. For questions or comments on this
article feel free to reach me out at teru-sama [at] riseup [dot] net.
** The basics
Every emacs users (I hope) knows about org-mode, it is a very powerful
@ -133,20 +130,34 @@ compile my website just well:
(setq org-publish-project-alist
'(("suragu.net"
:base-directory "~/repos/suragu_org/"
:publishing-directory "~/repos/suragu_org/out_html"
:publishing-directory "~/repos/suragu"
:section-numbers nil
:publishing-function org-html-publish-to-html
:table-of-contents nil
:recursive t
)))
(defun make-suragu ()
(defun sosa/make-suragu ()
(interactive)
(org-publish "suragu.net")
#+end_src
And that's it! Everytime I want to recompile this website I just have
to run =M-x make-suragu= and org-publish will do the rest for me!
** Automatically publishing your site with sshfs
sshfs is a filesystem client based on ssh and FUSE. This means remote
directories using sshfs. So you can mount your server's webroot in
your local machine, so publishing sites can be easy if you set the
=publishing-directory= in the =org-publish-project-alist= to the
remote mountpoint:
#+begin_src shell
sshfs root@192.168.1.57:/var/www/sites/suragu.net ~/repos/suragu
#+end_src
So when you run the function to publish your website
(=sosa/make-suragu= in this case). It will automatically publish to
the sshfs mounted directory. So your website will be updated.
** Conclusion
=org-mode= is a great markup language that can repleace markdown in most
tags and also works well as a static site generator. What else do you

View File

@ -0,0 +1,125 @@
#+INCLUDE: "../inc/header.html" export html
#+options: toc:nil
#+OPTIONS: html-postamble:nil
#+OPTIONS: html-style:nil
#+OPTIONS: num:nil p:nil pri:nil stat:nil tags:nil tasks:nil tex:nil timestamp:nil toc:nil title:nil
#+options: ^:nil
#+TITLE: suragu.net - picking a linux distro
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../css/styles.css"/>
#+EXPORT_FILE_NAME: picking_a_linux_distro.html
* Picking a Linux distro
** Introduction
It's kinda ironic how Mr. Stallman want us to use this operating
system when [[https://gnu.org/distros/free-distros.html][even them can't pick one distro]] (don't take anything that
gnu.org says seriously). Picking a Linux distro has been hard since
the beginning of times. Back in the times I was younger, you could
only pick Ubuntu or Debian, this is because Arch wasn't a meme yet so
noboby could think they're cooler than a cooler because they use
Arch. In this post I intend to review all the Linux distros I know so
maybe a reader can get a conclusion on what distro to use. Never
forget that, at the core, all distros all the same, but they do not
want you to know that.
** Debian
Debian is a distribution that has never failed anybody, it has been in
this irony layer since 1993, created by this dude Ian Murdock who
sadly "killed himself" after posting anti-cop shit in twitter and
expressing his reject for systemd.
Debian is a distro that was planed to run on anything and give the
less ammounts of problem as possible. For this reason, it is also
popular as a server operating system. It uses the =apt= package
manager. Everyobody knows about apt, maybe because they already used
debain or used Ubuntu 10.04 and have a vague memory of the "advanced
packaging tool". Now to be honest, i've tried a lot of package
managers and =apt= is simply apoteosically slow. There are also
alternative frontends to =apt= like =aptitude= and =synapse=.
In the [[https://debian.org/distrib][Debian Distribution]] page you can download many version of the
ISO, so you can get the best according to your needs. You can download
a minimal netinstall iso that will ask you whether you want to install
a graphical interface or not, you can also download a prebuilt iso
with the desktop environment you like the most. The thing is that
Debian took "freedom" too seriously so the normal isos do not ship
with non-free firmware, you can download [[https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/][images that include non-free
firmware]].
Surely a recommended distro if you don't mind =apt=.
** Ubuntu
Let's be honest, who uses this besides old men that do not want to use
Windows and have no time for learning Linux. This distribution is
garbage, a whole encyclopedia could be written on why Ubuntu sucks so
much but I've got better stuff to do.
** Arch
I remember that, 5 years ago, I used to be an Arch user, I also
remember how much problems it gave to me. To stop calling yourself an
"Arch user" is part of growing up. Arch main features are the "AUR"
and the rolling release model. "AUR" stands for "Arch User
Repository", this is a place in which users can write their own
[[https://en.wikipedia.org/wiki/Arch_Linux#PKGBUILD][PKGBUILD scripts]] which will at the end produce a pacman-compatible
package to be installed. The AUR is good to install godforsaken
software no one has ever heard of before.
It's quite comedic, because to install software from AUR, you have to
pick one of the following: either you clone a git repo and run a weird
command I do not want to remember because I'm not an Arch user or you
install an AUR helper, the most popular nowadays is yay, i think. Back
in my day it was yaourt. The AUR helpers are not available on any of
the official Arch Linux repositories.
Arch claims to be a lightweight linux distro because it doesn't ship
with anything, it doesn't ship with a desktop environment or
anything. Insanely smart people whose parents would be proud of them
said that this claim is untrue because Arch Linux uses systemd.
** Gentoo
I'm not sure why anyone would use Gentoo over FreeBSD or OpenBSD, the
BSD ports system is literally Portage but not written in python and
with a friendly interface anyone could use. The main features are the
USE flags which is basically global compilations options or something,
you can do something similar with FreeBSD and OpenBSD without being a
horrible pain. I do not have many experiences with Gentoo and I think
every Gentoo user is just coping with the fact that /g/ doesn't think
that his rice is elite enough.
** Void
Void is the Linux distribution that I use. It is garbage as well. It
uses the "X Binary Package System" (xbps). It began as a try of Linux
to mimic OpenBSD, as Void Linux has a preference for =doas=, and it
used to use LibreSSL instead of OpenSSL but they [[https://voidlinux.org/news/2021/02/OpenSSL.html][regret this choice]]
and switched back to OpenSSL in Feb 2021. This choice made users mad
and some of them (no one) switched to Gentoo to continue using
LibreSSL.
xbps is the fastest package manager that i've seen in a Linux system,
installing packages is something that will be completed in no time
under this operating system. Void Linux also uses =runit= instead of
=systemd=. runit can be a pain in the ass to manage but I've written a
[[https://git.suragu.net/dudemanweed/rnt][runit wrapper in perl]] so you can control it just like you would
use =systemctl=.
Void can also be installed using musl but you gotta be a coping
teenager to use musl instead of glibc, in my opinion, if you install
an operating system is because you want it to work, not because you
want to be fixing stuff all the time.
Despite claiming to be a rolling release distro, the gcc version in
the void repos was 10 for the last 2 years. [[https://github.com/void-linux/void-packages/commit/eb82e2578b1f189e33618ea909e0349d8c48332c][It was updated 3 days ago
to version 14]]. clang is still in version 12 and don't seem to be
updated. On the other hand, Arch has up to date packages.
** Artix Linux
[[https://suragu.net/blog/20221108][I already wasted keystrokes talking about this one]]
** Conclusion
Computers were a mistake.

150
tech_posts/ssh_holyness.org Normal file
View File

@ -0,0 +1,150 @@
#+INCLUDE: "../inc/header.html" export html
#+options: toc:nil
#+OPTIONS: html-postamble:nil
#+OPTIONS: html-style:nil
#+OPTIONS: num:nil p:nil pri:nil stat:nil tags:nil tasks:nil tex:nil timestamp:nil toc:nil title:nil
#+options: ^:{}
#+TITLE: SURAGU - insane stuff you can do with ssh
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../css/styles.css"/>
#+EXPORT_FILE_NAME: ssh_holyness.html
#+AUTHOR: Roberto Cornell
* Insane stuff you can do with ssh
If there's a God, I think he'd probably very dissapointed with us, we
have created many awful things that can't be name because of
respect. If I were God I would be dissapointed with my creation and
probably would end it. But in 2002, a proof that God exists and love
us appeared, the first version of OpenSSH was released.
OpenSSH is a marvellous software, it is one of the most useful things
I've seen in my entire life, and when you master it, all of your
problems will disappear.
** Forwarding ports
This is a known one but that doesn't make it less of a godsend. You
can forward ports through ssh, like you have in a remote server a
software running in port 4040. And because of another reasons
(i.e. firewall, bound only to loopback) you want to have that port in
your computer.
This is possible thanks to the =-R= and =-L= ssh flags. The syntax for
both =-R= and =-L= are the same but the concept is different.
- =-L= "brings" a remote port to your device.
- =-R= "brings" a local port to a remote server.
So, to answer the question in the first paragraph, you can use this
command to bring the port 4040 running in a remote server to your
local computer:
#+begin_src bash
$ ssh -L 4040:127.0.0.1:4040 server.tld
#+end_src
This will forward the port 4040 running in remote server's
127.0.0.1:4040. So you can access the remote server from your
loopbackl address.
By default, ssh binds to the loopback address. If you want, for any
reason, bind the forwarded port to another address, prefix the local
port with the address, like this:
#+begin_src bash
$ ssh -L 0.0.0.0:4040:127.0.0.1:4040 server.tld
#+end_src
To forward a port, it must go to the another server, creating a
tunnel, if you created this forwarding rule with a firewall rule or
another software like socat or netcat, the traffic will be
unencrypted. SSH is a secure protocol, and all the outgoing and
incoming traffict that comes from the tunnel will be encrypted.
You'll notice that everytime you want to forward a port a new ssh
connection will be open, and will create another prompt, you can send
the thing to background combining the =-F= and =-n= flag.
*** Forwaring ports from an existing connection
A feature of ssh that cured my depression is the fact that if you type
"~C" (that's literally typing a tilde and a capital c in a ssh window)
it will prompt the ssh commandline, in which you can type "?" to get
the usage of the commandline.
** Creating hosts
I have this friend that edits the =/etc/hosts= file to add the
hostname of his servers to the system's DNS so he can just type =ssh
<servername>= to ssh to the server. I've told him many times that this
is stupid and he should edit the =~/.ssh/config= file.
As it name suggets, it is the ssh config file. And it is used to
configure ssh. There are an insane ammount of options that can be used
in this config file. But what's important here is that this config
file can save us many, many keystrokes in the ssh command. Here's an
example.
#+begin_src conf-space
Host guadal
HostName 192.168.1.57
AddressFamily inet
RequestTTY yes
User diego
SetEnv SHELL=/bin/zsh
SetEnv ZDOTDIR=/home/diego/
SetEnv ZSHDOTDIR=/home/diego/
SetEnv DISPLAY=:0.0
ForwardX11 Yes
Host rguadal
HostName 192.168.1.57
AddressFamily inet
User root
SetEnv SHELL=/bin/zsh
#+end_src
This config file needs no commentary because you can figure what every
line is doing. After saving a config file i can just type "ssh guadal"
to login to the server as my user and "ssh rguadal" to login as root.
** Tmux and stuff
There's this software called "byobu" that is basically a tmux that is
always running in a remote server so everytime you login to your
server the same session of tmux will be there, and will prompt
automatically.
Thing is that one day I don't know what I was thinking but I decided
to install OpenBSD in my server, and Byobu is not available on the
OpenBSD ports repository and i'm a lazy motherfucker so I won't
compile it. I fixed this issue configuring regular tmux in a fancy way.
So basically tmux works with sessions, like any other terminal
multiplexer, and you can attatch to that sessions at any times, as
many times as you want and with many users you want. It's like this
impossible concept of 2 things at the same place at the same moment.
I got philosophical, first, you have to login into the server and type
=tmux -u2= command, or just =tmux=, i use the =-u2= flag because OpenBSD
is stupid and won't handle unicode alright without those flags.
This will create a tmux session in which you can do whatever you feel
like doing in a UNIX terminal.
When you're finish doing things in a UNIX terminal, you instead of
typing "exit" or "C-d" in the terminal to log off, you detatch from
the tmux session, pressing the modifier (C-b by default) and "d". Then
you exited the tmux session and can log off from the ssh session.
And when you want to get back to the tmux session you had, you can ssh
to the server and type =tmux -u2 a=.
This steps can be saved if you type (in my case because i bothered
configuring ssh, probably you have to type a different command because
you used a different name) =ssh guadal "tmux -u2"= to create a session
and =ssh guadal "tmux -u2 a"= to attatch to the other session.
** Conclusion
Mastering ssh will cure your depression.

201
tech_posts/void_linux.org Normal file
View File

@ -0,0 +1,201 @@
#+INCLUDE: "../inc/header.html" export html
#+options: toc:nil
#+OPTIONS: html-postamble:nil
#+OPTIONS: html-style:nil
#+OPTIONS: num:nil p:nil pri:nil stat:nil tags:nil tasks:nil tex:nil timestamp:nil toc:nil title:nil
#+TITLE: suragu.net - Void Linux is the best distro that exists.
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../css/styles.css"/>
#+EXPORT_FILE_NAME: void.html
#+author: Roberto Cornell
* If IQ was given like dopamine Arch Linux would not exist.
Linux sucks, computers were a complete mistake, the humankind would be
better without computers, we would have not known about many things
and we would have not created man-made horrors beyond your
comprehesion.
Sadly, Ted did not accomplish his goal and we are still forced to use
computers, I think that computers are like drugs, they should not be
used. But if you use them anyways, you have to do them like God
intended them to be done. Using Windows is the bad way, using Linux is
the correct way to use computers, and using Linux will also work as
harm reduction for your years of life. Because despite Linux never
works, at least it lets you do whatever you want, unlike MacOS or
Windows.
I don't have to explain operating systems, or what a Linux distro is,
if you're on suragu.net I'm assuming you're at least running
Debian. If you're running Windows, how the hell did you find this
website?
Anyways, all distros out there suck for distros usage, but the ones
that suckless is Void Linux. A product from my country, Void Linux
does not seem to be affected by the Ministry of Equalty[fn:1].
Void Linux is, like Arch, a rolling-release distro, this means that it
doesn't give a shit about unstability and everything is your
responsability. The packages are usually at their most recent version,
in worst case scenarios you'll only have to wait 2-3 days to install
its most recent versions. But I'm not selling this shit either, I did
not say that Void was a good distribution, I said it sucks less, but
for example, it took, for some reason, 2 years for them to update gcc
from 10 to 12.
[[../img/gcc-update.png]]
I don't know why it took them so long, but at least they did.
** What's so good about Void Linux in contrast to $DISTRO?
#+begin_export html
<div style="border-style: dashed; color: yellow;">
<p>
<i>Disclaimer: If you use gentoo, you might not find this section
useful as you should be attended by professionals of the mental health
sectors rather than by suragu.net</i>
</p>
</div>
#+end_export
I am going to compare Void to the other 2 distros that exists: debian
and Arch.
Archfags have always been a thing, I used to use Arch, the differences
between Void and Arch are mainly 2: Void uses runit (instead of
systemd like Arch) and Arch uses the pacman package manager whereas
Void uses the X Binary Package System. Which is a good package manager
which has never filled me with an urge to cut my wrists and then kill
myself on Twitch.
The thing is that I have already phased out the Linux ultra autism and
I no longer use Void because >systemd but because I genuinely prefer
the xbps package manager to fuckman for completely understandable
reasons. For example:
- the "-y" flag means "yes" like in any other sane piece of
software. For some reason Arch dev thought that "-y" means "--refresh"[fn:2]
- When you query the repos, xbps gives a sane, one liner output while
pacman gives you two outputs
#+CAPTION: Sane, one line, grepeable output
[[../img/xbps-query_output.png]]
#+CAPTION: Insane, filthy, schizophrenic 2 lines output
[[../img/pacman-query_output.png]]
- xbps is way faster unlike pacman, it installs packages faster for
some reason, depsite both xbps and pacman use the same compression
algorithm for its packages. xbps is still faster for unknown
reasons.
The only good thing about Arch Linux packages if that the -dev
packages does not exist, like in BSD systems, I wish all distros devs
knew that -dev packages are useless and header files should be
included with the share objects, some libraries also come with the .a
but that's another kind of question with another kind of answer.
Now, on Debian, well I'd like to shit on debian, actually no, because
Debian has NEVER failed me. And it is still my favorite Linux distros
for things that are not desktops, debian is the second best Linux
distro out there, which I know as the old reliable, but here are some
points that can be made to say that Void is better than Debian (but if
you use Debian as desktop you've got my respect, unless you have a
Lain wallpaper)
- xbps is faster
- I could say "up to date packages" but there always have been Debian
Sid which is basically a rolling release Debian, which is not
suitable for servers because "unstability" but works well in
desktops.
Now, you are right that writing =xbps-install= =xbps-remove= and
=xbps-query= is a pain and it's an idiocy, you're right, i don't
know why they did a program for everything instead of a
subcommand. Unix Philosophy I guess, in any case, enjoy this code
snippet for your shell:
#+begin_src bash
alias xi="doas xbps-install -y"
alias xq="xbps-query"
alias xr="doas xbps-remove"
# Saved me from suicide
#+end_src
** xbps-src
Archfags are addicted to this substance known as "3-MeO-AUR", which is
a dangerous neurodegenerative drug that makes you think that it is ok
for you to install a second package manager just to install 3rd-party
packages (and then they're managed by the same package manager but you
have to update them using the second package manager but you have to
remove them using the first package manager). 3-MeO-AUR also
degenerates your brain to the point that you think that Arch is a good
operating system.
Well, Void Linux main dev used to be a NetBSD dev, so there is
influence of NetBSD in void, xbps is highly inspired in the pkgsrc
port systems, so you can also build packages from source on Void Linux
like if you were in Gentoo, I don't know why someone would do that,
but the thing is that you can. You can also install packages that are
not in the repos using xbps-src, like Discord, Spotify and other
evilnesses. For this you only clone the [[https://github.com/voidlinux/void-packages][void-packages]] repository and
run the commands on the readme, =./xbps-src binary-bootstrap= and then
you can do =./xbps-src package <PACKAGE_NAME>=. You can appened CFLAGS
to the compilation like if you were in Gentoo or FreeBSD. Which is
pretty epic, I have never done it because my autism doesn't go that
far, but if you ask if you can, yes, you can.
And if there's a package that is in the AUR but not on Void Repos,
well, probably you don't really need it and/or you can just type
"make" and "make install" to install that piece of software you
want. But obscure software is usually in void main repos for some
reason, hell, you can even install emerge, apt and pacman through the
official repos, not sure why anyone would do that, but again, if you
ask if you can, indeed, you can. You can also change the configure
flags by editing the package template file, this is retarded, Gentoo
has the USEFLAGS and FreeBSD asks you for the compile options with a
TUI. But, again, I never said Void Linux was a *good* operating system
** It is like a BSD operating system
The reason of why Void Linux exists is because one guy got a pipe,
made a sandwich and /entered the void/. It was coping with the fact
that BSD did not have much hardware support but wanted to use BSD
features, so close in the core Void Linux is somewhat similar to a BSD
operating system. Even more in the past when it used LibreSSL instead
of OpenSSL, and it was the *first linux distro which truly supported
doas*. Still comes with sudo by default and doas is opt-in. I guess
that it all went downhill when the main dev ceased being in Linux
after a psychotic break on Twitter.
** It is not such a pain
I bought a GTX 1050 Ti the other day because I bought a 165hz monitor
but the Intel UHD graphics did not support 165hz at 1080p (or any
other resolution). Some people might tell me "why did you not bought a
Radeon", my answer would be "kill yourself".
I've seen many [[https://i.redd.it/so0bie4tegn61.jpg][memes]] about Nvidia on Linux being a pain, in my
experience it was just "xbps-install nvidia" and rebooting, there we
go, I can run my three monitors at 165hz without a single problem. And
DOOM (2016) runs in Ultra at 80fps at 1080p. At this point i'm flexing
my setup.
In contrast with Debian, void devs give less of a fuck about anything,
they include other package managers in their *official repos* and they
include non-free firmware so anyone can use Void Linux, this is not
Trisquel GNU+Linux, and if you have an exotic piece of software
probably you can just install it in the opt-in nonfree repos.
Shoutouts to the guy who denied the pull request to add sakisafe to
void-packages, I have a job and you're still denying pull requests,
all for free.
* Footnotes
#+begin_export html
<div class="outline-2">
[fn:1] Equalty between genders and shit, not between citizens. So if
you were a hobo before the Sánchez administration, you'll still be a
hobo after the ministry of equalty began existing (again)
[fn:2] According to the manpage -y and --refresh are equivalents.
</div>
#+end_export html