Posts

My ToDo List for 2024 (daily updates)

waffarx cash back

Building Desktop Apps with Go: A Guide to Native GUIs for Linux

How to create native GUI apps in Go for Linux ? 🔗 Go, while excelling in backend development, offers tools to create feature-rich desktop applications with native looks and feel. This post explores popular options for crafting native GUIs in Go specifically for Linux environments. 1. GTK+ with go-gtk 🔗 GTK+ (the GIMP Toolkit) is a widely-used, mature toolkit for building native Linux interfaces. go-gtk provides a Go binding for GTK+, allowing you to leverage GTK+ widgets and functionalities within your Go code.

What is the difference between \\r, \\n, \\t, and \\f in C programming?

These aren’t unique to “C programming”. These are various “control characters”, originally used to control the write-head and paper feeder on Teletype machines. \n is “line feed”. This would bump up the paper one line, whatever that was, but not move the write head. If you did abc\ndef, the teletype would print abc def \r is “carriage return”. This would cause the write head to return to its leftmost position.

Agpeya Privacy Policy

We do not collect any data. No SCAM 🔗 Everything on this app is simple and clear without any compromises to privacy or security. No SPAM 🔗 We do not spam your digital life with any requests or notifications or any other thing. No Data Collection 🔗 We do not collect any data from you on this Agpeya App .

Free space in your Mac for Mobile Development

If you are developing mobile apps for Android and/or iPhone and iPad, make sure to delete unused old software you installed in your journey to develop apps through months of updates and installations of libraries and tools. If you do not want to clean your xcode on Mac manually, there are DevCleaner for Xcode which helps your delete obsolete/unwanted software tools/libs/cache/log. Android Studio 🔗 clean up Gradle 🔗 Your Gradle Home directory contains wrapper, caches and daemons files.

Linux Mint in Brief

Linux Mint is a Linux distributions. It comes with a desktop environment called cinnamon DE. Cinnamon DE is similar to Windows 7 layout. So, too many people recommend Linux new users to start with it. Familiar Look 🔗 Linux Mint has the familiar look of Windows 7. I can differentiate it by the greenish color of the desktop UI. Stable & Reliable 🔗 Linux Mint is based on Ubuntu LTS. Ubuntu is a stable and reliable distro as it is based on Debian itself.

Don't show snap packages in lsblk command output

When your try to see blocks / devices in your Linux distribution that has snap pkgs installed on it, you’ll see too much devices (loop) but they’re not devices. They are actually snap packages. So, how not to show them in the output of the lsblk command. The lsblk command has an -e argument to help to exclude some devices/loops , so we can just exclude loops of snaps. All snap packages on my system has that 7 on them, so I can just exclude any device that has 7 in its description or title, so the command will be lsblk -e 7.

How to use dd to create a bootable USB stick ?

Using dd needs a geek or a developer! if you want to use graphical tools instead, use rufus , popsicle or ventoy . If you sure you want to use dd, here is the step by step guide. First, identify your USB stick (a.k.a USB drive) on your system using this command sudo fdisk –l. The USB stick in my case is /dev/sdb as you can see in the picture. So let’s unmount it via this command umount /dev/sdb*.

Popsicle - Linux utility for flashing multiple USB devices in parallel

Popsicle is a tool made by Pop! OS team. It is a simple tool to create bootable USB drive/stick. It is pre-installed on Pop! OS Linux distribution. Popsicle details in brief 🔗 Features Value Open source Yes, on Github Free (of charge) Yes Programming language Rust can create a bootable Linux disro Yes can create a bootable Windows No Multilanguage (spoken languages) Yes English (the universal language) Yes uptodate yes, updated 3 days ago How to use Popsicle to create bootable USB sticks ?

Make Your Flutter App Slim and Trim: Size Optimization Tips

Ever published a Flutter app and winced at the download size? Here are some tricks to make your app svelte and save users precious storage space. Images 🔗 Supercharge your Icons with SVG: Instead of clunky JPGs or PNGs, use Scalable Vector Graphics (SVG) for icons and vector images. SVG icons are much smaller and won’t lose quality when resized for different screens. WEBP power: For photos, consider using WEBP instead of JPG or PNG.

Mac OS X Terminal: How to use option+delete to delete a word ?

I can backward delete a word using OPTION+DELETE on any text editor on Mac OS but I can’t use it to delete the last word I wrote on Terminal!! It is simple, just with a click of a box! Open Terminal, click on Terminal in menu bar, choose Preferences…, go to profiles tab, click on keyboard tab, check Use Option as Meta key. That’s it! we’re done. You can see the steps on this screenshot.