How to Manage Software with Flatpak on Ubuntu 22.04
Introduction to Flatpak on Ubuntu 24.04
Flatpak is a system for running applications on Linux in a secure and isolated way. It works on many Linux distributions, including Ubuntu 24.04. Flatpak makes it easy to install apps without worrying about missing dependencies. It also allows apps to be updated easily.
Parallel Processing In Python3
Python's **kwargs: What is it?
Virtual environment in Python 3
How to Update Your Docker Image Without Starting From Scratch
Hi, it’s me here again! 👋
Ever been in this situation? You have a Docker image
that you’ve been using for a while, and suddenly you need to add some new softwares
. Building everything from scratch again? Nobody has time for that! 😅
Let me share a neat trick I use to save time.
A Late Night Database Recovery Story
Exploring the split Command
The split
command is a useful tool for breaking down large files into smaller, more manageable pieces. It is especially helpful when dealing with file size limitations or when you need to transfer files over networks.
1 Basic Syntax and Example
The basic syntax of the split
command is:
|
|
Use PHPStan to Ensure Code Quality in Your Project
1 Introduction
PHPStan is a powerful static analysis tool for PHP that checks your code for potential errors without executing it. By using PHPStan, you can catch bugs early in the development process, improve the overall quality of your code, and ensure your project is more stable and maintainable.
Git Tags: A Quick Guide
Git
is a popular version control system. It helps developers track changes
in their code. Git tags
are like bookmarks
for important points in your project’s history.
1 Here are some common Git tag commands:
- List all tags:
1 2 3
git tag # List all tags git tag -l "v1.8.5*" # List tags matching a pattern git tag -n # List all tags with commit message
Introduction to PHPDocumentor
PHPDocumentor
is a tool that helps generate technical documentation
for PHP projects
. It reads your PHP code and creates detailed documentation for functions
, classes
, and methods
… This is useful for both new developers and teams working together.
1 Why Use PHPDocumentor?
Using PHPDocumentor makes it easier to understand and maintain your code. It helps others quickly see how to use your functions and classes. Good documentation can save time and reduce mistakes. Also, it improves the quality of your project by keeping everything organized.
Understanding UUID: A Unique Identifier
Understanding UUID: A Unique Identifier
UUID stands for Universally Unique Identifier
. It is a 128-bit number used to identify information uniquely across different systems and applications. UUIDs are often represented as a string of hexadecimal digits, divided into five groups, such as 123e4567-e89b-12d3-a456-426614174000
.
Quick Guide to Using Whimsical Diagrams with ChatGPT
Making mind-maps and diagrams helps organize your ideas and projects. This guide will show you how to use Whimsical Diagrams with ChatGPT. We will cover everything from setting it up, saving your work, export to picture to share with other people. Just follow these easy steps to use these helpful tools.
Pipeline-partten in Laravel
In Laravel, the pipeline pattern helps you process a series of tasks in a clear and organized way. Instead of handling each step separately, you can use a pipeline to apply multiple actions in sequence.
This pattern is useful when you need to apply several steps to data or an object. For example, you can use a pipeline to handle an order request with steps like validation, and adding data to the order and finally save it to database.
Create an Entity Relationship Diagram with draw.io V24.7.5
Boost Your Work Productivity: A Simple Guide
Boost Your Work Productivity: A Simple Guide
In today’s fast-paced world, improving your productivity is crucial for achieving success and maintaining a healthy work-life balance. By working more efficiently, you can get more done in less time, reduce stress, and you have more time for activities you enjoy. Here’s a simple guide to help you boost your work productivity.
Git log quickly and easily
These are some git log commands
I use everyday and I think they are helpful for you.
Sending emails through Gmail in Laravel
Sending emails through Gmail in Laravel is straightforward and requires a few setup steps to integrate Gmail’s SMTP server with your Laravel application.
Using the at Command in Ubuntu 24.04 to Schedule Tasks
Using the at
Command in Ubuntu 24.04 to Schedule Tasks
The at
command allows users to execute specific actions at any future time without needing continuous supervision. In this example, I use Ubuntu 24.04 to test.
The Pomodoro Technique: Enhancing Productivity
The Pomodoro Technique: Enhancing Productivity
The Pomodoro Technique, developed by Francesco Cirillo in the late 1980s, has become a popular method for improving productivity and managing time effectively. Here’s a deeper look into its origins and notable users:
Inheritance in GoLang
Inheritance is an important concept in OOP (Object-Oriented Programming). Since Golang does not support classes, there is no inheritance concept in GoLang. However, you can implement inheritance through struct embedding.
Functional options pattern with example
How to Use ZRAM on Ubuntu 24.04
How to Use Swagger with Docker
Simplifying Version Control with Git Stash
Simplifying Version Control with Git Stash
In the world of software development, managing changes efficiently is crucial. Git, a powerful version control system, offers various commands to help streamline this process. One such command that comes in handy when you need to temporarily store your current changes without committing them is git stash
.
How to Use Google Clock and Habits to Track Daily Activities
Basic Markdown Syntax
This article offers a sample of basic Markdown syntax that can be used in Hugo content files.
Best practices for coder
Ten coder bad habits
OpenVPN magic on Ubuntu 22.04: A beginner's guide
Do you want to protect your data online? OpenVPN is the solution for you! Today, we will install OpenVPN on your Ubuntu 22.04 server and set up a secure VPN connection.
Some softwares I use everyday
These are some softwares I use everyday and I think they are helpful for you.
TimescaleDB working with continuous aggregate
GIT Commit message conventions
1 Commit message conventions
Ref-Url: https://www.conventionalcommits.org/en/v1.0.0/
|
|
How To Use Screen Command In Linux: A Beginner’s Guide
How To Use Screen Command In Linux: A Beginner’s Guide
Have you ever been frustrated when your SSH connection drops and your command gets terminated? If so, you need to learn about screen.
Screen is a tool that lets you create multiple sessions on a single terminal. You can detach from a screen session and re-attach to it later, even from a different computer. This way, you can keep your commands running in the background without interruption.
How to Manage Software with Snap on Ubuntu 22.04
Naming: Every Developer's Nightmare
Strategy Pattern in PHP with examples
1 Example 1: Sort
We need to implement a sorting system that sorts an array of numbers in ascending or descending order
1.1 Without pattern
|
|
How to create ssl certificate for local test environment
Hi there, it’s me again! Today, I’ll guide you through the process of creating an SSL certificate for your local test environment on Ubuntu 20.04. It’s going to be a fun ride, so let’s get started!
In bash shell, run these commands:
How to disable wifi power save Ubuntu 20.04
Hello, today I’ve installed new Ubuntu 20.04. Then I get the wifi problem. When system start, the wifi works fine. But a few moment later, it was dropped so I cannot connect to the internet. I disable wifi, then enable wifi, it works fine for some minutes and fall into problem again.
How to check my ip
Hello, sometimes you need to know “what is my IP address?”. In this post we will learn some ways to check public IP. Have fun!
1 https://api.myip.com
Open your browser to access this link: https://api.myip.com/. You can see something like this: {“ip”:“115.75.212.27”,“country”:“Viet Nam”,“cc”:“VN”} so your IP is: 115.75.212.27.
Bonus: You can use curl command to get data too.
How to create a linux service
How to working with JSON in GoLang
In this post, we will learn how to parse json data in GoLang. Have fun!
Working with structed data
|
|
🚧 How to build a free blog using Hugo
Hello. In this post we will learn how to build a free personal blog using Hugo + Github page. Have fun!
1 Install hugo.
- Download hugo from: https://github.com/gohugoio/hugo/releases
- Install in your PC.
- Check hugo version:
hugo version