programming

My ToDo List for 2024 (daily updates)

waffarx cash back

How to cut a video based on start and end time using ffmpeg ?

This is the fastest command to cut the video in ffmpeg . ffmpeg -ss 00:01:00 -i input.mp4 -to 00:02:00 -c copy output.mp4 note: the above command trims your video in seconds. explanation of command parts: -i : This specifies the input file. In that case, it is (input.mp4). -ss : Used with -i, this seeks in the input file (input.mp4) to position. 00:01:00 : the time your trimmed video will start with.

You don't need jQuery !

Published on Drew DeVault’s blog on August 19, 2013 . It’s true. You really don’t need jQuery. Modern web browsers can do most of what you want from jQuery, without jQuery. For example, take MediaCrush . It’s a website I spent some time working on with a friend. It’s actually quite sophisticated - drag-and-drop uploading, uploading via a hidden form, events wired up to links and dynamically generated content, and ajax requests/file uploads, the whole she-bang.

CSS Optimization Tips

Painting an unstyled page, and then repainting it once styles are parsed would be bad user experience. For this reason, CSS is render blocking, unless the browser knows the CSS is not currently needed. The browser can paint the page once it has downloaded the CSS and built the CSS object model. Browsers follow a specific rendering path: paint only occurs after layout, which occurs after the render tree is created, which in turn requires both the DOM and the CSSOM trees.

Go: A Beautiful Mess

originally published on medium.com . I published it here because medium is blocked in some countries. An old school guy like me love statically typed language, even I tasted the convenience of dynamic typed languages for handling data with complex structure like JSON or operating data with SQL/NoSQL. The statically typed language avoids many ambiguous issues and let us figure out the mistake before before unit test reports it. So I love Go in many pieces, it leverages many concepts from other languages, has a easy understanding struct types, great tool set for production…etc, and most importantly, it’s easy to write and performance will not let you down, but I also got confused sometimes and found many ambiguous parts in Go.

Is Gio UI Ready for Production ?

Gio UI is a graphics library built in Go programming language. Gio builts user interfaces in immediate mode which is popular in games industry. Gio UI library is efficient and fast. The documentation on the official website is good for experienced developers, but not good enough for beginners. Yes. Gio UI library is ready for production. But its current bottleneck problem is documentation and examples. So, we — here in ValueInBrief — will provide examples, samples and tutorials in the following days.

How to create native GUI apps in Rust for Linux ?

Pop! OS developers team is taking this route. They are re-writing all apps and desktop environment (COSMIC DE) in Rust with GTK 4 library binding/wrapper. So, you can create native GUI apps in Rust for Linux with Rust and GTK 4. Take a look at the source code of popsicle app on github. Popsicle is a program is create bootable USB sticks, and they describe it as “Multiple USB File Flasher”.

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.

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.