Recent Posts

Featured image for Personal Website Outline

Personal Website Outline

Within this article, you’ll find a prime example of a personal website outline that serves as a valuable reference. This exemplary outline showcases the best practices and design principles employed by experts in the field, offering inspiration and guidance for your web development projects.

Homepage

  • Header:

    • Logo or site name: [Your Personal Logo]
    • Navigation menu: Home | About | Skills | Projects | Blog | Services | Contact
    • Search bar: [Search Bar]
  • Hero section:

    • Large, visually appealing image or video: [Image showcasing React and Go development]
    • Headline: John Smith
    • Subheadline: Full-Stack Developer Specializing in React and Go
    • Call to action (CTA) button: View My Work
  • Introduction section:

    • Title: Welcome to My Portfolio
    • Brief introduction: I’m John Smith, a full-stack developer specializing in React and Go. I have a passion for building high-quality web applications that deliver exceptional user experiences.
  • Highlights section:

    • Title: Highlights
    • Skills: React, Go, Redux, RESTful APIs, HTML, CSS
    • Projects:
      • Project 1:
        • Title: E-commerce Website
        • Description: Developed a full-fledged e-commerce website using React, Redux, and Go. Integrated with payment gateways and implemented secure user authentication.
      • Project 2:
        • Title: Task Management App
        • Description: Created a task management application using React for the front end and Go for the back end. Implemented real-time updates and user collaboration features.

About

Dimas Maulana

I build, improve, and maintain software and infrastructure.

What I Do

  • Build and connect software, AI, automation, and infrastructure
  • Deploy, migrate, secure, and troubleshoot systems
  • Improve existing setups without replacing more than necessary
  • Provide ongoing technical support

Each project uses the tools and technologies that fit it best.

Featured image for Setting Up Nginx as a Reverse Proxy with Let's Encrypt and Fail2ban Using Docker Compose

Setting Up Nginx as a Reverse Proxy with Let's Encrypt and Fail2ban Using Docker Compose

In this article, we will explore how to set up a powerful and secure web server environment using Nginx as a reverse proxy with Let’s Encrypt SSL certificates and Fail2ban for enhanced security. We’ll leverage Docker Compose to simplify the deployment process and enable easy management of our services. By the end of this guide, you’ll have a robust setup that includes SSL encryption and protection against malicious actors.

1. Prerequisites

Before starting, ensure that you have a server or virtual machine running a supported operating system. Additionally, make sure your domain name is properly configured and pointing to your server’s IP address.

Featured image for Building and Deploying a React Application to Nginx HTML Folder using GitLab CI with Separate Runners

Building and Deploying a React Application to Nginx HTML Folder using GitLab CI with Separate Runners

Deploying a React application involves building it on one server and deploying it to another. GitLab CI provides a robust solution for automating this process, allowing you to leverage different runners for the build and deployment stages. In this article, we will explore how to utilize GitLab CI to build a React application on a build server and deploy the built source to the Nginx HTML folder on a production server using separate runners.

Featured image for Executing an Embedded Bash Script in Go with Interactive Input

Executing an Embedded Bash Script in Go with Interactive Input

This article will delve further into the code and explain how to enable interactive input when executing the embedded Bash script. We’ll walk through the code and understand how to connect the Go program’s standard input to the command’s standard input, allowing interaction with the Bash script.

1. Overview of the Code

The provided code is a Go program that executes an embedded Bash script. It imports necessary packages such as fmt, log, os, and os/exec to handle command execution, input/output, and error handling.

Featured image for Running an Embedded Bash Script with Command-Line Arguments in Go

Running an Embedded Bash Script with Command-Line Arguments in Go

In this article, we will explore how to embed a Bash script within a Go program and execute it while passing command-line arguments to the embedded script. This approach allows us to package the script directly within the Go binary, eliminating the need for an external script file. We will leverage the os/exec package and the Go embed feature to achieve this.

Prerequisites

  • Basic understanding of Go programming language
  • Familiarity with executing shell scripts

Step 1: Embedding the Bash Script

To embed the Bash script in the Go program, we can use the Go embed feature. Place the Bash script file, named bash.sh in this example, alongside the Go source file. Annotate the script content using the //go:embed directive to indicate that it should be embedded in the binary: