Posts

Showing posts with the label github

Navigating GitHub as a Blind Developer: How I Built a Python Workflow to Reclaim My Code

Image
As a backend developer, code is my craft. I spend my days architecting APIs, optimizing databases, and orchestrating containers. But there is a hidden friction in modern software engineering that most sighted developers never have to think about: the user interface barrier. I am completely blind. When I code, my screen reader is my primary window to the digital world, translating code structures, logs, and terminal outputs into speech or Braille. Modern web applications are increasingly complex, packed with dynamic JavaScript, infinite scrolls, and intricate visual widgets. While platforms like GitHub are indispensable for modern engineering, navigating heavy web interfaces with a screen reader can often feel like walking through a maze of hidden walls. The Problem: The Web UI Labyrinth Imagine trying to review a massive pull request on GitHub via a screen reader. You encounter endless nested buttons, hidden dropdowns, visually-driven diff views, an...

Hosting a Static Website on GitHub Pages and Netlify: A Developer’s Guide

Image
Static site generators and modern frontend tooling have transformed how we ship content on the web. Moving away from monolithic LAMP stacks to decoupled, pre-rendered HTML/CSS/JS assets offers massive performance gains and security benefits. When it comes to deploying these assets, GitHub Pages and Netlify remain two of the industry's most reliable and frictionless options. Why Choose GitHub Pages and Netlify? Choosing the right hosting platform comes down to developer experience, continuous deployment capabilities, and performance: Cost & Simplicity: Both platforms offer robust free tiers that easily handle personal portfolios, documentation, and blogs. Continuous Integration (CI/CD): Push to your main branch, and your build pipelines run automatically without manual FTP uploads. Global CDN Distribution: Assets are cached at edge locations worldwide, ensuring sub-second load times. Custom Domains & SSL: Free aut...

Deploying Static Sites to Netlify and GitHub Pages with Custom Domains

Image
You've built a stellar static site, pushed it to GitHub, and hooked it up to a hosting provider. But default subdomains like your-app.netlify.app or username.github.io/repo don't look professional. Connecting a custom domain—like blog.bentaherghassen.com —transforms your personal project into a polished, production-ready brand. If you've already added your domain registrar settings and see that it's auto-verified , congratulations! You've cleared the first major hurdle. Now, what do you need to do next to make your site live? You Added Your Domain and It's Auto-Verified: Next Steps Auto-verification usually means your DNS provider (like Cloudflare, Namecheap, or Google Domains) confirmed ownership via TXT records, or your hosting provider detected existing DNS pathways. However, verification is only proof of ownership; you still need to point the traffic to your host and secure your connection. ...

Mastering Git and GitHub CLI from the Terminal

Image
As a backend developer, context-switching between your code editor, browser, and GitHub UI to create pull requests, review issues, or inspect pipelines can drastically slow you down. By combining native Git commands with the official GitHub CLI ( gh ), you can manage your entire version control lifecycle without ever leaving the terminal. This guide covers the essential terminal workflows to speed up your daily engineering routine. 1. Setting Up and Authenticating the GitHub CLI Before doing anything fancy, make sure you have the official GitHub CLI installed (available via Homebrew, winget, or apt). Once installed, authenticate your terminal with your GitHub account securely: gh auth login Follow the interactive prompts to authenticate via your browser or a personal access token (PAT). Once set up, you can interact with pull requests, issues, and repos instantly. 2. Creating Pull Requests Instantly ...

From Hours to Seconds , Why i build flask-gen

Image
Hello developers  , as developers we all love the 'Magic' of building , but we often dread the "drudgery" of starting. You know the drill: creating the folder structure, configuring the environment, manually setting up blueprints, schemas, and utility files—it’s a process that used to eat up an hour of my afternoon every single time I wanted to experiment with a new idea. note that I am a blind developer working with assistive technologies. Some tasks may require additional effort and time. I’ve spent a significant amount of time meticulously crafting project templates to ensure my code stays clean and maintainable. But no matter how organized I was, the manual setup was a bottleneck I reached a point where I realized that if I was automating everything else in my workflow, I should be automating my project initialization, too. So, I set out to build `flask-gen`, a tool designed to take the friction out of starting a new project.   It wasn't a project I threw toge...

HOW TO BECOME A HACKER!?

Image
1/ Start with Linux: Run a UNIX-like operating systems are the operating systems of the internet, while you can learn to use the internet without understanding UNIX.   For this reason, the hacker culture today is pretty strongly UNIX-centered. There are many types of UNIX-like operating systems, the most popular being Linux, which you can run alongside Microsoft windows on the same machine. 2/ Learn HTML: If you don’t know how to program, learning basic Hypertext mark-up language (HTML) and gradually building proficiency is essential. What you see when you look at a website of pictures, images and design components is all codes using HTML. 3/ Learn the language of Programming: Python is a good “language “to start off with because it’s cleanly designed, well documented, and relatively kind to beginners. Despite being a good first language, it is not just a toy; it is very powerful, flexible, and well-suited for large projects. Java is an alt...

Let's play with bootstrap

Image
# a website using bootstrap  See the code src  on GITHUB

Scientific-Calculator using Eclipse in java program

Image
A scientific calculator built using java swing and eclipse swing window builder. Calculator.java   import java.awt.Color ; import java.awt.EventQueue ; import java.awt.Font ; import java.awt.event.MouseAdapter ; import java.awt.event.MouseEvent ; import java.awt.event.MouseMotionAdapter ; import javax.swing.JFrame ; import javax.swing.JLabel ; import javax.swing.JPanel ; import javax.swing.SwingConstants ; import javax.swing.border.EmptyBorder ; import javax.swing.JMenuBar ; import javax.swing.JMenu ; import javax.swing.JMenuItem ; import java.awt.Toolkit ; import java.awt.Window.Type ; import java.awt.ComponentOrientation ; import java.awt.Cursor ; import javax.swing.JTable ; import javax.swing.JButton ; import javax.swing.JTextField ; import java.awt.event.ActionListener ; import java.awt.event.ActionEvent ; import java.awt.Component ; import javax.swing.JComboBox ; import javax.swing.JTextPane ; import javax.swing.DefaultComboBoxMo...