Supun Budhajeewa's Blog

Illustration of a bird flying.
  • Temporarily Ignoring Files in Git with `–assume-unchanged`

    Temporarily Ignoring Files in Git with `–assume-unchanged`

    In Git, you can temporarily ignore changes to a tracked file without modifying the .gitignore file by using the –assume-unchanged flag. This is useful for avoiding accidental commits of local changes to files that are already tracked by Git, such as configuration files or environment-specific settings. It’s particularly helpful for local-only modifications that shouldn’t affect the project history. Key…

    February 26, 2025
  • Enable VSCode Step Debugging with Xdebug on PHP running in Docker

    Enable VSCode Step Debugging with Xdebug on PHP running in Docker

    I am using https://github.com/a2way-com/drop-in-docker-php as the base for this example. But you should be able to do the same on environments configured in any other way. Step 1: Enable Xdebug in the container Add the following line to the Dockerfile for the container that runs PHP (app.Dockerfile files, if you are using A2Way Drop-in-Docker PHP.).…

    August 24, 2024
  • Running Windows Games from Steam on Fedora Silverblue with NVIDIA Graphics

    There are 2 steps to follow for this. Install RPM Fusion I just copied this from https://rpmfusion.org/Configuration#Command_Line_Setup_using_rpm. Once the above command is run, reboot. Install NVIDIA Drivers and Steam I tried using Steam from the Flathub, but it could not see the NVIDIA graphics card. Install “Nvidia System Monitor” from Flathub This will allow you…

    June 16, 2023
  • Fix Steam Proton Windows Games not Running when Accessed Through “Family Library Sharing” in Ubuntu Linux

    If you have set up Steam “Family Library Sharing” in Ubuntu (Or other.) Linux (Perhaps following https://blog.budhajeewa.com/make-steam-family-library-sharing-effective-in-ubuntu-linux/.), you will notice that Windows games running with Steam Proton are not working when the secondary user (The one who is borrowing the games.) is trying to play them. To fix this, log in to the secondary user’s…

    December 5, 2021
  • Make Steam “Family Library Sharing” Effective in Ubuntu Linux

    Steam has a great feature called “Family Library Sharing” that allows you to share games that you’ve already downloaded with other users on the same computer. However, in my experience, in Ubuntu (And most likely in other Linux OSes as well.), other users won’t be able to see any games you have installed, even if…

    December 5, 2021
  • ෂ’ලොක් හෝම්ස් කතා කාලානුක්‍රමික පෙලගැස්ම

    චන්‍දන මෙන්‍ඩිස් මහතා විසින් පරිවර්තිත ශ්‍රීමත් ආත’ කොනන්ඩොයිල් විසින් රචිත ෂ’ලොක් හෝම්ස් කතා ඒවා පළමු වරට නිකුත් වූ අනුපිළිවෙලට පෙල ගැස්ම. ආත’ කොනන්ඩොයිල් විසින් විවිධ සඟරා වලට වරින් වර ලියන ලද ෂ’ලොක් හෝම්ස් කතා වශයෙන් ග්‍රන්ථ 9 කින් එකතු කොට ප්‍රකාශනයට පත් කොට ඇත. ඒවා පහත පරිදි වේ: A Study in Scarlet (නවකතාව)1887 දී Beaton’s Christmas…

    July 15, 2021
  • Mobitel is Sending Unsolicited Spams that Subscribe Users to Unwanted Subscriptions (Live Blog)

    “Live Screen” is what Mobitel calls sending various service advertisements directly to customers’ phones. They appear like system messages from the phone’s operating system, that have the potential of getting users clicking “OK” (Thus activating the advertised “service”, which has a monthly fee.), believing them to be just a regular dialog box. I explicitly asked…

    October 15, 2019
  • `a2way/docker-base-laravel`: A Docker Base Image Specialized for Laravel

    A Docker Image specialized for running Laravel PHP framework with Nginx on an Alpine platform.

    August 23, 2019
  • Docker: Make Files Created Inside Containers Editable Outside

    If you develop your projects using Docker, you might have noticed that files created inside the containers are often owned by the root user, and therefore can’t easily be edited outside that container, unless you manually change their ownership.

    August 18, 2019
  • Buying a 4G Router? Don’t buy the “Tozed M60”

    “Tozed M60” is a device that allows you to connect to the Internet like a normal router and make voice calls using VoLTE technology. But don’t buy it.

    July 25, 2019
1 2 3 … 18
Next Page→

Supun Budhajeewa's Blog