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.
How to Stream Your Pre-Recorded Videos to Facebook Live ?
Since Spring 2016, Facebook users have had the option to broadcast live videos to their friends and followers. Live videos are expected to be more personal, candid, and off-the-cuff, so they’re a great option for when you want to add some personality to your Facebook page. Not to mention, they’re pretty darn effective. Live videos tend to receive 10x better engagement than pre-recorded video. They make watching a stream into an event.
Fsck Exfat (fsck_exfat) Manual Page Apple Docs
I looked at Apple manual page online , and didn’t find the page. So I decided to add it here for reference when needed. FSCK_EXFAT(8) BSD System Manager's Manual FSCK_EXFAT(8) NAME fsck_exfat -- Verify and repair ExFAT file systems. SYNOPSIS fsck_exfat -q device ... fsck_exfat [-f] [-p] [-y | -n] [-g | -x] [-d] device ... DESCRIPTION The fsck_exfat utility verifies and repairs ExFAT file systems. The first form of fsck_exfat quickly checks the specified file systems to determine whether they were cleanly unmounted.
[Solved] Disk Utility Stuck on Wait Partition Activate
Fix corrupted exFAT disk macOS/OSX 🔗 exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted. Disk Utility is unable to repair this at first, but the fix is this: Use diskutil list to find the right drive id. You want the id under the IDENTIFIER column, it should look like disk1s1 Run sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3 -d is debug so you’ll see all your files output as they’re processed.
How to display and control your Android device on laptop ?
If you are a software developer, just use scrcpy command line tool to display and control your android smartphone or tablet on a laptop. This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. Install scrcpy on Linux 🔗 To install scrcpy, just use snap package manager like this sudo snap install scrcpy. Choose your Linux distribution to get more information about installation.
How to compress files with xz and upload archive to Google cloud ?
First, install Google cloud command line tool and configure it. pip install gsutil Have your project id ready using gsutil config. Check docs for more info. Create the archive / compressed file tar --create --verbose --xz --file images.tar.xz /directory/containing/images/* Upload the archive/compressed file to Google cloud gsutil cp images.tar.xz gs://<bucket name>. replace <bucket name> with your Google cloud bucket name 😄. If you want to extract contents (images in this case) from archive, use this command tar -xf file.
How to remove an audio track from an mkv ?
You can use final cut pro x or iMovie on Mac OS, or Camtasia Studio or Adobe Premiere Pro or DaVinci Resolve on Windows, or DaVinci Resolve or Blender or Kdenlive or ShotCut on Any Linux distro. But I prefer command line tools. Install mkvtoolsnix or use HomeBrew to install it : brew install --with-qt5 mkvtoolnix. Use mkvinfo to get the audio track IDs that you want. command like this mkvinfo *.
Run Ubuntu with Multipass tool: Effortless Local Development
Effortless Local Development with Multipass: VMs for All (Windows, macOS, Linux) 🔗 Developing applications often requires setting up specific environments to test and debug code. Virtual machines (VMs) are a popular solution, but managing them can be cumbersome. Enter Multipass, a user-friendly tool that simplifies local VM creation for developers on all major operating systems (Windows, macOS, and Linux). What is Multipass? 🔗 Developed by Canonical, Multipass is an open-source command-line tool that streamlines the creation and management of lightweight Ubuntu VMs.
Lazy Adopter
In contrast with early adopters, I am a lazy adopter. In programming, we use the word lazy to tell that this thing will be available or done at the right time, such as lazy-loading images. Lazy-loading images means that the images will be loaded at the right time just before their use. In technology, there are too many tech products and hype. But not all products’ promise come true. You need some patience and a little test of time for products and tools.