Bump to $CURRENT_DAY
parent
c58e506f85
commit
53b3e497fa
17
about.org
17
about.org
|
@ -15,15 +15,20 @@ 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/dudemanweed/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 the following banner:
|
||||
can use one the following banners:
|
||||
|
||||
[[./img/banner_suragu.png]]
|
||||
[[./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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
@ -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 {
|
||||
|
@ -87,6 +94,13 @@
|
|||
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 {
|
||||
|
@ -101,11 +115,11 @@
|
|||
body {
|
||||
background-color: black;
|
||||
font-family:monospace;
|
||||
background-image: url(/img/coche_screw.png), url(/img/screw.png), url(../img/bg3.png);
|
||||
background-repeat: no-repeat, no-repeat, repeat;
|
||||
background-position: bottom left, top right, left;
|
||||
background-size: auto, auto, 100%;
|
||||
background-attachment: auto, auto, fixed;
|
||||
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 {
|
||||
|
@ -139,8 +153,6 @@ a:hover {
|
|||
|
||||
}
|
||||
.button {
|
||||
border: 1px;
|
||||
border-style: solid;
|
||||
width: 120px;
|
||||
margin: 2px;
|
||||
text-align: center;
|
||||
|
@ -154,8 +166,13 @@ a:hover {
|
|||
color: @banner;
|
||||
margin: auto;
|
||||
|
||||
}
|
||||
a:hover {
|
||||
color: @cool_click;
|
||||
}
|
||||
.border_green();
|
||||
background-color: @button_bg;
|
||||
|
||||
.border_purple();
|
||||
}
|
||||
|
||||
code {
|
||||
|
|
|
@ -8,20 +8,21 @@
|
|||
// 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-style: solid;
|
||||
max-width: 90%;
|
||||
border-color:@cool_red;
|
||||
border-color: @cool_red;
|
||||
}
|
||||
|
||||
.border_green {
|
||||
border-style:solid;
|
||||
.border_purple {
|
||||
border-style: double;
|
||||
max-width: 90%;
|
||||
border-color: @banner;
|
||||
}
|
||||
|
@ -48,7 +49,7 @@
|
|||
left: 125px;
|
||||
bottom: 0;
|
||||
}
|
||||
.container, .outline-2 {
|
||||
.container, .outline-2, .footnotes {
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
position: relative;
|
||||
|
@ -104,8 +105,9 @@ body {
|
|||
background-color: black;
|
||||
font-family:monospace;
|
||||
background-image: url(../img/bg3.png);
|
||||
background-repeat:none;
|
||||
background-size: 100%;
|
||||
background-position: left;
|
||||
background-repeat:no-repeat;
|
||||
background-size: auto;
|
||||
background-attachment: fixed;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
@ -114,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;
|
||||
}
|
||||
|
@ -140,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;
|
||||
|
@ -154,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 {
|
||||
|
|
|
@ -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>
|
13
index.org
13
index.org
|
@ -9,16 +9,17 @@
|
|||
#+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 on this website is under the Do What the Fuck You Want To
|
||||
Public License
|
||||
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
|
||||
join =#montepinar= in =irc.suragu.net=
|
||||
* Donate
|
||||
|
||||
If you want to help me to defraud the treasury, send cryptocurrencies
|
||||
|
|
|
@ -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
|
||||
|
||||
* SURAGU’s Marijuana Reviews
|
||||
#+begin_export html
|
||||
<h2 style="color:red;">(SURAGUのマリファナレビュー!!)</h2>
|
||||
#+end_export
|
||||
|
||||
Creativity, It’s a known fact that grass increases creativity from
|
||||
eight to eleven times. In fact, everyone finds they’re more creative
|
||||
|
@ -19,12 +23,13 @@ fucking plant has changed so damn much. Like everything in
|
|||
contemporany society, you have so much choice it’s depressing. In this
|
||||
post I will review all the strains I have tried.
|
||||
|
||||
But I won’t say “this shit dope” because that would be too boring. And
|
||||
I won’t say “this shit dope” because that would be too boring. And
|
||||
I’m also not going to explain how each bud helps you with insomnia,
|
||||
anxiety, depression and ADHD because despite recent research shows
|
||||
it’s not so darn harmful, i’m not an idiot either.
|
||||
|
||||
So I’ll review the buds using Pen & Pixel Graphics album covers. I am
|
||||
So I’ll 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.
|
||||
|
||||
|
@ -43,6 +48,9 @@ un mai”
|
|||
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)
|
||||
|
||||
Amnesia Haze is a classic, is a strain that anyone who has been
|
||||
|
@ -257,3 +265,94 @@ 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
|
||||
|
|
19
media.org
19
media.org
|
@ -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
|
||||
|
@ -110,7 +110,11 @@ a * means that I have a physical copy
|
|||
- *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.
|
||||
|
@ -136,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*
|
||||
|
@ -148,7 +153,9 @@ a * means that I have a physical copy
|
|||
- *Zabutom - Zeta force*
|
||||
- *cLOUDEAD - cLOUDEAD*
|
||||
- *death’s dynamic shroud.wmv - I’ll 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
|
||||
- *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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
@ -29,3 +30,5 @@ These articles are sorted from oldest to newest.
|
|||
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]]
|
||||
|
|
|
@ -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.
|
|
@ -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
|
Loading…
Reference in New Issue