diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/archive/index.md | 60 | ||||
-rw-r--r-- | content/home/index.md | 32 | ||||
-rw-r--r-- | content/keys/index.md | 24 | ||||
-rw-r--r-- | content/posts/coding_standards.md | 54 | ||||
-rw-r--r-- | content/posts/gentoo.md | 78 | ||||
-rw-r--r-- | content/posts/index.md | 20 | ||||
-rw-r--r-- | content/posts/nophone.md | 142 | ||||
-rw-r--r-- | content/posts/selfhostmail.md | 55 | ||||
-rw-r--r-- | content/posts/software.md | 82 | ||||
-rw-r--r-- | content/posts/website_created.md | 28 |
10 files changed, 575 insertions, 0 deletions
diff --git a/content/archive/index.md b/content/archive/index.md new file mode 100644 index 0000000..bc3c1e6 --- /dev/null +++ b/content/archive/index.md @@ -0,0 +1,60 @@ +--- +title: "Archive" +slug: "archive" +--- + +This archive includes both my own project and third-party software that I use. + +## My Projects + +## SLCF + +- Description: Suleyman's Linux Configuration Files. +- Source: https://git.farajli.net/slcf +- Downloads + - [slcf.tar.gz](/archive/slcf.tar.gz) + +### DWM + +- Description: My build of Dynamic Window Manager. +- Source: https://git.farajli.net/dwm +- Downloads + - [dwm_farajli-6.5.0.tar.gz](/archive/dwm_farajli-6.5.0.tar.gz) + +### ST + +- Description: My build of Simple Terminal. +- Source: https://git.farajli.net/st +- Downloads + - [st_farajli-0.9.2.0.tar.gz](/archive/st_farajli-0.9.2.0.tar.gz) + +### DMenu + +- Description: My build of Dynamic Menu. +- Source: https://git.farajli.net/dmenu +- Downloads + - [dmenu_farajli-5.3.0.tar.gz](/archive/dmenu_farajli-5.3.0.tar.gz) + + +### SLStatus + +- Description: My build of SLStatus. +- Source: https://git.farajli.net/slstatus +- Downloads + - [dmenu_farajli-5.3.0.tar.gz](/archive/dmenu_farajli-5.3.0.tar.gz) + + +## Third-Party Software + +### Liberation Mono +- Description: The font I use in my desktop environment. +- Homepage: https://www.dafont.com/liberation-mono.font +- Mirror: + - [LiberationMono.tar.gz](/archive/LiberationMono.tar.gz) + +### Jetbrains Mono Nerd Font +- Description: The font required by neo-tree nvim plugin. +- Homepage: https://www.nerdfonts.com/ +- Mirror: + - [JetBrainsMono.tar.gz](/archive/JetBrainsMono.tar.gz) + (2024-08-15) diff --git a/content/home/index.md b/content/home/index.md new file mode 100644 index 0000000..88ad694 --- /dev/null +++ b/content/home/index.md @@ -0,0 +1,32 @@ +--- +title: "Home" +slug: "home" +css: | + time { + font-size: 16px; + color: #bbbbbb; + padding-right: 0.5em; + } + #email { + font-size: 16px; + padding-right: 3.4em; + color: #bbbbbb; + } + #github { + font-size: 16px; + padding-right: 2.8em; + color: #bbbbbb; + } +--- + +### posts +<time>2025-01-24:</time> [Hosting an email server is not possible.](/posts/selfhostmail.html) +<time>2024-12-27:</time> [Software I use.](/posts/software.html) +<time>2024-09-25:</time> [I dislike modern smartphones.](/posts/nophone.html) +<time>2024-09-06:</time> [Why I like Gentoo.](/posts/gentoo.html) +<time>2024-06-09:</time> [New webiste.](/posts/website_created.html) + +### links and contact info + +<span id="email">email:</span> [suleyman@farajli.net](mailto:suleyman@farajli.net) +<span id="github">github:</span> [sfarajli](https://github.com/sfarajli) diff --git a/content/keys/index.md b/content/keys/index.md new file mode 100644 index 0000000..e728b61 --- /dev/null +++ b/content/keys/index.md @@ -0,0 +1,24 @@ +--- +title: "Public keys" +slug: "public-keys" +--- + +# GPG Key + +### suleyman@farajli.net + +- Created: 2025-05-27 +- Expires: 2027-01-01 +- Fingerprint: AE38 55F0 F5E9 F27C 5F4D CBC6 E340 C0B8 5F70 7B8C + +Import: +```curl https://farajli.net/keys/pubkey.asc | gpg --import``` + +Download: [pubkey.asc](https://farajli.net/keys/pubkey.asc) + +# SSH Key + +Add to authorized keys: +`curl https://farajli.net/keys/id_ed25519.pub >> ~/.ssh/authorized_keys` + +Download: [id_ed25519.pub](https://farajli.net/keys/id_ed25519.pub) diff --git a/content/posts/coding_standards.md b/content/posts/coding_standards.md new file mode 100644 index 0000000..728b7dd --- /dev/null +++ b/content/posts/coding_standards.md @@ -0,0 +1,54 @@ +--- +title: "Post Title" +slug: post-title +created: 2024-12-31 +updated: 2025-06-23 +description: "A brief summary of what this page is about." +tags: [linux, self-hosting, minimalism] +draft: true +--- + + +Here are my **personal** coding standards for some languages. + +## Interpreted languages +#### Never put the file extension to the source file instead use a shebang. +`` + #!/bin/sh + #!/bin/python3 + #!/bin/perl +`` + +## Posix shell +#### Always wrap variables with `"${}"` to prevent globbing. +`` + echo "${var}" + echo "${1}" + echo "${@}" +`` + +## Makefiles +#### If Makefile is fully posix complient and doesn't have anything extra add +`.POSIX:` to the beginning of the file + +## C +#### Use K&R style `if`s +`` + if (condition) { + do this; + do that; + do another; + } +`` +#### if only one line don't use curly braces. +`` + while (condition) + do this +`` + +`` + if (condition) + do this + else + do that +`` diff --git a/content/posts/gentoo.md b/content/posts/gentoo.md new file mode 100644 index 0000000..ee89d40 --- /dev/null +++ b/content/posts/gentoo.md @@ -0,0 +1,78 @@ +--- +title: "Why I like Gentoo." +slug: "gentoo" +created: 2024-09-06 +description: "Why I think source based distros are better." +tags: [Technology] +draft: false +--- + +### Why I prefer Gentoo over Arch. +A lot of people say very good things about gentoo linux, it is very well maintained, +It is more secure, It is lightweight and so on. But when it comes down to it, +very few people actually use gentoo, I think that is because they install it +and after a month or so they really get sick of waiting for the packages to compile +and they switch back to whatever they were using before. I know it because, +I had done that in the past, I dual-booted my machine with gentoo and arch linux +intending to only use gentoo, and arch only when I didn't have the time to wait +for the package to compile, but ended up only booting to arch and almost never +to gentoo, at that time if you were to ask me the best package manager +I would have unhesitatingly said arch's pacman, while I still think that pacman is the best +**binary** package manager +for the past few months I have started to really like gentoo and its package manager +portage and there are different reasons for that. + +### Compiling programs makes more sense than downloading binaries. +On unix-like operating systems you generally use +open-source software and that software is made to be compiled by the users specific +to their machines, but on binary based distros you use programs that are compiled for +you by someone else and again to me, personally, compiling just makes more sense. + +### It gives you more perspective to the program you use. +If you'd downloaded a binary package you would only be able to tell if a program is fast, +has enough features and so on, but you wouldn't have known how much time it takes +to compile, what the build dependencies are, and even sometimes the +programming language that it is written in. I do agree that knowing those abstract details +of a package is utterly useless for a typical end-user who is not a programmer +but for a programmer those details are very important, since you get to know what build systems are +faster what programming language compiles faster, builds better and sometimes you +get to learn some stuff that you didn't even know existed. You can build programs from source in other distros +as well but gentoo makes it easier and forces you to do that +and be honest, If you could install binary package in 10 seconds +you wouldn't even bother waiting for it to compile for 20 minutes. + +### You install less packages. +In order to avoid compilation you tent to install less pieces of software +resulting in more stable and more performant system. God forbid you if +you are using arch linux and have access to the AUR +(I had installed more than 2000 useless packages on my arch system). + +### It is more secure, lightweight and faster (at least in theory). +I have not noticed any significant difference in terms of performance +between gentoo and binary based distros and I kind of think that security +on client OSes is overrated, but for some few people these might be important +since you literally can skip some useless parts of a program (useless for you of course) +resulting in less bloated, therefore faster and more secure programs, but again I +don't really find it that important. + +### **No systemd**! +I am not against systemd but I prefer to not use it. +On gentoo the default init system is openrc and it works +with no problem. + +### Bad parts. +Like everything, it has some negative stuff about it as well, +those are + +- Compilation can take some time. +- Gentoo is the one of **the hardest** distro to manage. + +I am saying both of those with an asterisk, because +although I agree that there are some big pieces of software that you basically have to have +like a browser, (it took 6h to compile a browser on my machine) but most of the time +if software takes too much time to compile that indicates that it is +overcomplicated and you shouldn't even be using it. +Gentoo is hard to use but, that also means gentoo forces to know more, making you better at +system administration. + +So, that is all. diff --git a/content/posts/index.md b/content/posts/index.md new file mode 100644 index 0000000..31ebb2b --- /dev/null +++ b/content/posts/index.md @@ -0,0 +1,20 @@ +--- +title: "Posts" +slug: "posts" +css: | + time { + font-size: 16px; + color: #bbbbbb; + padding-right: 0.5em; + } +--- +<time>2025-01-24:</time> [Hosting an email server is not possible.](/posts/selfhostmail.html) + +<time>2024-12-27:</time> [Software I use.](/posts/software.html) + +<time>2024-09-25:</time> [I dislike modern smartphones.](/posts/nophone.html) + +<time>2024-09-06:</time> [Why I like Gentoo.](/posts/gentoo.html) + +<time>2024-06-09:</time> [New webiste.](/posts/website_created.html) + diff --git a/content/posts/nophone.md b/content/posts/nophone.md new file mode 100644 index 0000000..9592805 --- /dev/null +++ b/content/posts/nophone.md @@ -0,0 +1,142 @@ +--- +title: "I dislike modern smartphones." +slug: "no-smart-phone" +created: 2024-09-25 +description: "Explaining why I prefer not to use a smartphone." +tags: [Technology] +draft: false +--- + + +### Why I absolutely hate smartphones. + +For the past few years, the question that I have been asked the most +is that "why don't you use a smartphone", but I've never really +answered any of those questions, even though, +I do have different reasons not to use one. + +The main point is that if you ever use any sort of properly +designed "normal" operating systems and hardware you can't really +go back and use garbage computer operating systems or phones +without getting disgusted. +With smartphones, it is even worse than toy-like computer OSes like windows +or mac, because with those systems you at least get some sort of +proper hardware components like a keyboard, +a monitor with "normal" screen ratio and so on. +But with phones, not only you get an operating system that is no better than +trash, but also some very cringe way to interact with the hardware. +(Yes, I am talking about sensor screens.) + +Now, let's talk about why + +- Operating systems +- Package Management +- User space applications +- Hardware +- Privacy and Security +Absolutely suck on "smart" phones. + +### Operating Systems +There are 2 main OSes for phones: iOS and Android, there are also some not widely used ones +like legacy Windows Phone and even some open-source ones, though here, I shall only talk about the +first 2 that I have mentioned, but that should also be somewhat relevant +to almost all the other phone OSes as well. + +**Android Sucks**! because, you can't even perform the most basic +computer functionalities +like compiling very simple software, writing scripts, and so on, you don't even have +the root access to the phone you "own", but the company that sold you that has full +access to the phone over the internet, that is basically like slavery with extra steps, lol. +Some people might say "Well, that is not a computer +you are not supposed to compile programs and write scripts!" I don't buy that argument +because, in reality, computers and phones are indeed the same thing, the way that they +function is the same, the way they connect with other computers is the same, +they use the same technologies to function (in fact, Android uses the Linux kernel). +The difference between properly written computer OSes and android is that +computer OSes care about the users while phones are trying to keep you under control. +It is also worth mentioning that I am not talking about the pure open source Android +project, I am talking about Android, on which companies put a load of garbage to make +it more "beneficial" for the company. + +With iPhones, it's the same thing except it is even worse, +it should be obvious why, apple! the single worst company +that has ever existed, Apple is trying so hard to keep you +inside of its garbage-like "ecosystem" by making it very hard +and even sometimes impossible to connect with hardware/software +other than Apple's, and all these ***morons*** will be like +> "BuT, DuuuuuDe, APpLE DeVIces WeRk WItH oTher AppLE DeViCes sO SMoOthLy" +Yeah, by making it impossible to work with basically everything else +and you have to have apple garbage all around you. + +### Package Management +Android and iOS do have some sort of package management, +on Android, it's Play store (But you can also install packages using .apk format) +on iOS, you have app store. +Google owns Play Store, and you have to have a google account to be able to use +Play Store (which on Android you basically also have to), on iOS, Apple owns +app store. +That might not seem like a huge deal, but it is. It basically means Google and Apple +have all the control of the programs uploaded to Play Store and app store respectively, +meaning that Google and Apple can block and even change the source code of some programs, +inject absolutely anything inside them. +Those companies need profit no matter what, meaning they would do anything to +get profit, even unethical stuff, and you are the one who let them do that to you. + +### User Space applications +By user space applications, I mean just the programs that people +install on smartphones. Frankly speaking, those programs are +just for normies who don't understand +technology and advances users are completely ignored. Phone programs +are graphical, thus they use more ram and cpu and most of the time they are +full of advertisements (Xiaomi Phones even have ads in the system's gallery). +They are not privacy-respecting, bloated, and kind of useless. +There is one program, however, that is worth talking about separately, and that is +"WhatsApp". It is the most widely used messaging application, though it has absolutely +nothing extraordinary and some stuff that is even worse than an average messaging program. +Here are some bad stuff about it: + +- WhatsApp is not private, **at all**! +- You have to have a smartphone and a phone number. + +Imagine a piece of software requires you to have a phone to be able to use it, +that is basically like saying that a $400 device is a dependency of that program, +this is absolutely *nuts*. I find it quite absurd +that people don't find it absurd. +> If a program as simple as a messaging app requires you to have +> a cell phone, you shouldn't even be using that, +> no matter how many people around you use it! + +### Hardware +Hardware of cellphones absolutely suck they are designed to be broken so easily you can +break them by accident, that is, of course, +to sell more of them, they are nothing like old classic solid Nokia phones +with buttons and stuff, instead you have only a screen and you touch on it +which is very very cringe. +I just want buttons to press, not touchscreens to touch. +Another thing is that you can't upgrade your RAM or your storage and you're supposed to use overpriced +services like iCloud or Google Drive. + +### Privacy and security +Privacy just doesn't exist on smartphones; that is just a matter of fact. +If you use an iPhone, all your photos are sent to Apple servers and can be hacked +(though not quite probable) since, they are not stored only on your local system +which makes it less secure as well, +On Android, people use Google Photos, which is basically as bad as iPhones. + +### Health +Phones are also bad for your health, I can't +tell you the specifics since I am not a doctor. +But it is common knowledge that phones are bad for you. + +### Good stuff about phones +The only good thing about a phone is its camera. +though many people take too many useless pictures +resulting in a mess of data. Nonetheless, cameras are very useful +but it is not worth it to use a smartphone just because of that. + +### Summing it up +Smartphones are useless pieces of garbage that are overpriced, not privacy respecting and +meant for normies who don't understand how technology +works, or at least how it should work, ***no offense***. +Even if you must use a smartphone, that doesn't change the fact that they are +bad for you. diff --git a/content/posts/selfhostmail.md b/content/posts/selfhostmail.md new file mode 100644 index 0000000..f0469ef --- /dev/null +++ b/content/posts/selfhostmail.md @@ -0,0 +1,55 @@ +--- +title: "Hosting an email server is not possible." +slug: "hosting-email-server" +created: 2025-01-24 +description: "Explaining why don't host an email server." +tags: [Technology] +draft: false +--- + +### Reasons to not host your own email server. + +Last summer, I had successfully managed to host my email server but +a couple of days ago I completely removed everything from my server +and purchased an email hosting service. + +I'd like to share my experience with hosting an email server +and what makes the process an absolute nightmare. + +#### - It's hard to find an affordable VPS provider that doesn't block port 25. + +If you don't know anything about email, you need the port 25 to be open to send mails but +most server providers block it to reduce spam and the ones that don't costs more than +the usual ones. + +#### - Getting a domain and IP that is not blacklisted. + +If you have already bought a domain it might be blacklisted meaning that +all the mails you'll send is going to go right into the spam folder of the receiver. +It's the same for IP but chaining it is a lot easier than getting a new domain on most +server providers. + +#### - Not enough documentation is available and some is outdated. + +There isn't that much documentation for setting up an email server, I think that is +partially because of the process being so tough that no one really wants to document it +and there are so many commands involved in the process +even just a small update on one program can make the documentation outdated. + +#### - It's very hard to set up. +Configuring an email server was perhaps the hardest thing that I'd ever done +(even after finding the proper documentation), I spent weeks on that. + +#### - Almost certainly, your mails won't be delivered. + +Even after going through the very difficult process of finding the correct server provider, +documentation and setting everything up (DKIM, SPF etc.) you'll still end up in spams, +you might be able to pass spam filters of some email services, but you'll never feel +confident of sending mails because big email services sometimes update their spam filters +and you got to keep up with those as well, so it doesn't just end there when you set it up. + +#### Summing it up + +I'd gladly host an email server, but I just can't make it work half as good as the paid +email service providers. In the future I might try to do it again +(though I don't think the results will be different) but now I'll stick to email services. diff --git a/content/posts/software.md b/content/posts/software.md new file mode 100644 index 0000000..09f4f6c --- /dev/null +++ b/content/posts/software.md @@ -0,0 +1,82 @@ +--- +title: "Software I use." +slug: "software" +created: 2024-12-27 +description: "Software I recommend, use and some I dislike." +tags: [Technology] +draft: false +--- + + +Here are some of the programs I use, recommend and some I dislike. +You can get my configuration for most of these programs [here](https://git.farajli.net/slcf.git). + +### Criteria +For software to be usable for me it has to be: +1. Free and Open-source +1. Uncomplicated, simple to use +1. Lightweight +1. Fast + +### Operating systems +* [Arch Linux](https://archlinux.org): The best linux distro for most people, since installing packages is very convenient using the AUR and has a great wiki. +* [Gentoo](https://gentoo.org): Unique operating system with a proper wiki, see my [post](../posts/gentoo.html) about it. +* [Void](https://voidlinux.org): Great linux distros free from filthy systemd and glibc. +* [Debian](https://www.debian.org/): Easy to install and use, the best distro for beginners. +* [FreeBSD](https://www.freebsd.org/): Simple operating system with a clean and elegant codebase. +* <a href="https://ubuntu.com" class=orange_text>Ubuntu</a>: Debian done wrong with snaps. +* <a href="https://manjaro.org" class=orange_text>Manjaro</a>: Same as ubuntu except even worse doesn't even work properly. +* <span class=orange_text>MacOS</span>: BSD done wrong, with apple garbage. +* <span class=orange_text>Windows</span>: Graphical trash. + +### Programming languages +* C: Portable assembly, basically the default programming language for unix. +* Go: Modern version of C, very convenient and safe to write programs in. +* Posix Shell: Concise and convenient for scripts and small programs. +* <strong class=orange_text>C++</strong>: Bloated, not safe and a mess, literally every bad piece of software I've ever used was written in C++. + +### Window managers +* [DWM](https://dwm.suckless.org): At first a little hard to configure but at the end totally worth it. +* [BSPWM](https://github.com/baskerville/bspwm): Best static window manager, easy to configure with and an extraordinary tool called bspc. +* [i3wm](https://i3wm.org/): An average window manager, good for beginners. + +### Text editors +* vim and [nvim](https://neovim.io/): Just way too convenient to be real. +* <span class=orange_text>JetBrains IDEs</span>: Bloated, heavy, overcomplicated and costs money(?). + +### Browser +* [Qutebrowser](https://www.qutebrowser.org/): Has vim-keybinds making it very convenient to use. +* [Firefox](https://www.mozilla.org/en-GB/firefox/new/): Sometimes, you need a bloated browser to view bloated sites. + +### Terminal and terminal Utilities +* [st](https://st.suckless.org/): Terminal emulator though a little hard to configure. +* [alacritty](https://alacritty.org/): Terminal emulator which works perfectly fine without any configuration. +* [cmus](https://cmus.github.io/): Music player. +* [zsh](https://www.zsh.org/): Interactive shell. +* [dash](http://gondor.apana.org.au/~herbert/dash/): Shell script interpreter. +* [lf](https://github.com/gokcehan/lf): File manager. +* [translate-shell](https://github.com/soimort/translate-shell): Cli translator. + +### Xorg utilities +* [dmenu](https://tools.suckless.org/dmenu/): Interactive menu to select items. +* [slstatus](https://tools.suckless.org/slstatus/): Status monitor. +* [mpv](https://mpv.io/): Media player. +* [nsxiv](https://nsxiv.codeberg.page/): Image viewer. +* [zathura](https://pwmt.org/projects/zathura/): pdf viewer. + +### Other +* [pandoc](https://pandoc.org): Document converter. +* [git](https://git-scm.com/): Version control system. + +### About hardware +I don't really care about hardware because it is easily replacable and I am fine with whatever just works, +as long as it not overpriced. If you use proper software any hardware should get the job done. + +I am not going to shill thinkpads like everyone else, though I think they are fine, to me only 2 things +set apart thinkpads from all the other laptops, firstly, the fact that they are librebootable and, secondly, +they are really cheap. + +### See also +* [Suckless Rocks page](https://suckless.org/rocks/) +* [Cat-v harmful stuff](https://harmful.cat-v.org/software/) +* [Luke Smith's Post](https://lukesmith.xyz/programs/) diff --git a/content/posts/website_created.md b/content/posts/website_created.md new file mode 100644 index 0000000..fa42637 --- /dev/null +++ b/content/posts/website_created.md @@ -0,0 +1,28 @@ +--- +title: "New webiste." +slug: "new-website" +created: 2024-06-09 +description: "Announcing my new website." +tags: [Technology] +draft: false +--- + + +### I have a website! + +As of June 13th 2024, the best website on the internet has officially been created. + +This site is not made by using one of those fancy and bloated site generators +or any garbage like that, it was created, quite surprisingly, by writing HTML and +CSS, as it is supposed to be, though it is a little inefficient, error-prone +and a pain writing HTML and adding boilerplate code to each file, +thus it's quite probable that I shall write a small program to do that automatically +for me in the future, but that program won't be the same as bloated site generators, +in fact, it'd basically be the same as manual way of writing HTML. +Here are some of the advantages of my website compared to a lot of contemporary ones. + +- Doesn't fill your entire ram. +- Doesn't have ads, tracker or unnecessary JavaScript. +- Loads **Fast**! + +As of now, there isn't that much of content here, but I will probably add a lot more. |