All Pages Tagged Tech

Progressive Web App (PWA)

Progressive Web Apps (PWAs) are web apps built and enhanced with modern APIs to deliver enhanced capabilities, reliability, and installability while reaching anyone, anywhere, on …

Image Processing for Website

Image processing became essential part of web development nowadays. It is my way of image processing in Arch Linux with following steps:

  1. Resizing big image before optimizing using …

Astro Notes

JSON import type errors

When we do:

index.astro
import mpps from "../../../content/members/documents/pps-myan/pps-myan.json";
import epps from …

Reset Local Repo to Match Remote Repo Exactly

At any point, you may want to completely reset your local project so it matches the remote repo exactly (discarding any local changes, extra files, etc.).

Here are the safe ways …

CSS overflow-wrap: break-word

When designing for the web, one small but important detail is how browsers handle very long words or strings of text. On mobile screens especially, an unbroken word can stretch …

Submit Data to Google Form via Custom Html Form

Disclaimer: This post is written purely for educational and exploratory purposes, and as a personal technical record. The method described — submitting data to Google Forms …

Arch Linux Installation

Arch linux installation is not that hard if you do it simple as if:

  • you don’t need dual boot and just want to install it as first OS on your drive.
  • your computer is …

My Neovim Setup

Neovim is a fork of aiming to improve the codebase, allowing for easier implementation of APIs, improved user experience and plugin implementation.

Setting up Neovim …

Git Rebase

git rebase

 

In the following scenario, the safest option is using git pull --rebase or setting configuration by git config pull.rebase true.

Analysis of the scenario

  1. Current state …

Controlling Running a Script

We often need to run our script avoiding certain situations like the followings.

  1. Avoiding running a script as ROOT.
  2. Avoiding running a script in background.
  3. Avoiding running a …

Myanmar Unicode and Disqus Comment Box

If you type Myanmar language online, you’ve probably met this problem:
Everything’s fine — until you type ေ (the “E-vowel”) second time (E.g. the second ေ in ကောင်း ေကာင်း) in a …

Build Script for Cloudflare and Hugo

In Cloudflare Pages → Project Settings → Build Configuration, I can set the Framework preset to Hugo, the Build command to hugo, and the Build output directory to public. That’s …

Archlinux Notes

Signing Error of System Upgrading

Upgrading the system regularly running $ sudo pacman -Syu prevents most signing errors. If delay is unavoidable and system upgrade gets delayed …

Calibri Cambria Fonts Linux

Calibri font is default body font in MS Word. Sometime you may need to install Calibri and Cambria fonts for opening MS Office files with LibreOffice in Linux.

To install the …

Disable Drag Lock DWL

Disabling drag_lock function in dwl is recommended if you are experiencing half a second delay on releasing mouse button simulated by touchpad.

For example, it takes half a second …

What Package Provides What Command

Sometime we just want to know which package is a command provided by? For instance, which package provides pactl command. Then use pacman in Arch Linux.

~ …