Hi everyone,

This is my first post on this newly created personal site/blog.

I’m still in the early stages of the site development. So expect some changes in the coming weeks. However, I’ll keep the design minimal as much as I can, as I hate busy-looking sites specially when it is about reading text such as blogs and articles.

Comment Section

Unfortunately, for now there’ll be no comment section. I may add something like Discus or Facebook comments API. Still not sure for now, will see.

Markdown Editing

But the best thing I’ve accomplished for now is the usage of Markdown syntax for my pages/blogs instead of pure html/css codes within the text. Thanks to Hugo

Markdown is always fun to write with, specially technical/academic writing. It just feels much faster and straightforward than MS Word.

Here is an example code block;

function Person(firstName, lastName) {
    this._firstName = firstName;
    this._lastName = lastName;

    this.log = function() {
        console.log('I am ', this._firstName, this._lastName);
    }

    Object.defineProperty(this, 'profession', {
        set: function(val) {
            this._profession = val;
        },
        get: function() {
            console.log(this._firstName, this._lastName, 'is a', this._profession);
        }
    })
}

and

#!/bin/bash
echo "Today is " `date`

echo -e "\nenter the path to directory"
read the_path

echo -e "\n you path has the following files and folders: "
ls $the_path
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Example HTML5 Document</title>
        <meta name="description" content="Sample article showcasing basic Markdown syntax and formatting for HTML elements.">
    </head>
    <body>
        <p>Test</p>
    </body>
</html>
import SwiftUI


struct ContentView: View {
    var name = "مصطفى..."
    var body: some View {
        VStack {
            Image(systemName: "heart")
                .padding(.bottom)
                .imageScale(.large)
                .foregroundColor(.accentColor)
            Text("Hi")
                .fontWeight(.bold)
                .font(.system(size: 20))
                .multilineTextAlignment(/*@START_MENU_TOKEN@*/.center/*@END_MENU_TOKEN@*/)
                .padding(.bottom)
            Text(name)
                .font(.system(size: 20))
                .multilineTextAlignment(.trailing)
        }
        .padding()
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

Why not Wordpress?

Is Wordpress still a blogging-focused CMS?

I love Wordpress and I’ve been using it since 2007, that’s 15 years!

But this time I want to try something different, a newer technology or site design philosophy. So I went with the current trend of SSG (Static Site Generator).

It’s fun and you’ll learn a lot of new things down the road, sharpening your HTML/CSS/JS skills as well. Plus, as everything is completely static so that makes the loading time extremely fast.

Having fun with the Open-Source community, so really nothing to hate here.

That’s about it or now.

Take care… Mustafa :)