programming

My ToDo List for 2024 (daily updates)

waffarx cash back

Another Strategy to Send a Phishing Link into Facebook Inbox

After few days of that phishing campaign we talked about in a previous post , I faced a new strategy to phish Facebook page admins and steal their accounts/pages. In this method of reaching out to Facebook page admins to convince them to click the phishing link and follow through the phishing funnel is using the inbox. The hacker/phisher is just sending you a direct message in messenger to convince you to click on the link.

Why I Migrated KMT Hugo theme from Tailwind CSS to Vanilla/Pure CSS ?

I created a theme for my bilingual website called kmt . In the beginning, I designed the layout of the theme in Tailwind CSS . After some time, I realized that tailwind is complicate things more for my simple theme. Building and designing with tailwind CSS needs a build step before shipping, but native CSS doesn’t. Using tailwind CSS resets the default values set by web browsers, but I can use those defaults and change ONLY the things I need.

How to show posts of my kmt theme on demo but not on others' websites

I want to create documentation and tutorials about my Hugo theme KMT, but I want to simplify my setup by adding them inside the theme itself. But if I added the posts in kmt theme, they’ll show up on all websites that use the Kmt theme! Another project for demo πŸ”— I can use another instance/project that uses kmt theme, and add posts in it, and deploy it as the kmt theme demo.

Making Your Website Shine on Search Engines: SSG vs. SSR for SEO

So, you’ve built a fantastic website, but how do you get people to find it? Search Engine Optimization (SEO) is key! This post dives into SSG (Static Site Generation) and SSR (Server-Side Rendering), two web development techniques that can significantly boost your SEO. Even if you’re not a programmer, fear not, we’ll explain these concepts in a clear and simple way. Imagine your website as a restaurant menu πŸ”— Static Website (No SSG nor SSR): This is like a printed menu.

Why I migrated my website to Hugo?

futureproof post format πŸ”— In Hugo, we use a markdown file as the structure of the post. It is a reuseable post format. If something happen in the future, I can write a simple script to convert each markdown file into an HTML webpage. super fast πŸ”— Hugo is built in Go, both are super fast. Hugo is simple and fast. I personally appreciate performance and efficiency and simplicity.

Why Markdown for Content?

I rewrite my own website (this website you’re reading on) to be build with Hugo static site generator to save my content in a simple markdown files. Future-Proof πŸ”— The best thing about saving content/posts as markdown files is being futureproof. Why it is futureproof? Isn’t everything susceptible to change? Yes, All things is gonna change in a way or another. But markdown language is simple enough for all programmers to parse its syntax and generate any other file format or post format in the future.

Does Kmt Theme Support Google Analytics?

Yes, KMT theme supports Google Analytics and gtag. Kmt theme is a hugo theme developed mainly for my bilingual website. You just need to add the google analytics / gtag id in hugo.toml. [services] [services.googleAnalytics] - ID = 'G-xxxxxxxxxx' + ID = 'G-XHQY258XEF' Make sure you use your own gtag which is like this G-XHQY258XEF.

Is Kmt Hugo Theme Support Adsense ?

Yes, Kmt theme supports AdSense to display ads on your website. You just need to change the parameter of adsense in your project hugo.toml like this. [params] founded = 2023 - adsense = 'ca-pub-xxxxxxxxxxxxxxxx' + adsense = 'ca-pub-yyyyyyyyyyyyyyyy' Make sure you changed the AdSense ID to the correct one.

Why Another Hugo Theme?

I tried some themes such as PaperMod , Ananke , mini , Anubis and Whisper . Every theme lack in some aspect, so I decided to create a new theme for my own use case. Name of the theme πŸ”— I named the theme KMT which is the name of Egypt - my home - in the ancient egyptian language. I develop the theme for Hugo as open source on GitHub , GitLab and Codeberg .

Why The Hugo Theme is Named Kmt?

I named my Hugo theme kmt after the name of my country. As you can read on Wikipedia page about Egypt . The ancient Egyptian name of the country was (π“†Ž π“…“ π“π“Š–) km.t, which means black land, likely referring to the fertile black soils of the Nile flood plains, distinct from the deshret (⟨dΕ‘αΉ›t⟩), or “red land” of the desert. This name is commonly vocalised as Kemet, but was probably pronounced kuːmat in ancient Egyptian.