-
Fixing AI Terminal Detection in VSCode: The 'd' Alias Solution
Fixing AI Terminal Detection in VSCode: The ‘d’ Alias Solution The Problem If you’re using AI coding assistants like Cline that execute commands in VSCode’s integrated terminal, you’ve probably encountered this frustrating issue: the AI gets stuck waiting for commands to finish, even when they’ve already completed successfully. The command...
-
Singleton Patterns in Java: DCL vs. IODH
Understanding Singleton Patterns in Java: DCL vs. IODH Introduction In the realm of Java programming, ensuring thread-safe and efficient initialization of resources, particularly singletons, is a common challenge. Two popular patterns to address this are Double-Checked Locking (DCL) and Initialization-on-Demand Holder (IODH). Both have their merits, but they approach the...
-
MDLive Alerts - Learning the new app
Updating Ticker Prices for a paid member trial users see next section If you tap on the update icon (see top red arrow), a popup like below will appear: The will update the “Equity Price” of all today’s alerts. If you are fed up with the popup, you can tap...
-
AppCenter new iOS device registration sequence
-
Learning Dagger with Kotlin
Learning new things brings us mixed feelings sometimes. Probably you have already felt something like this in your mind: I wanna know about this, but I wish I was learning it with that other method/language/framework I prefer. I was learning dagger, but the tutorial⇗ code samples are in java. Here...
-
Free SVG icons anyone?
Just found this⇗, free (MIT license) Xamarin compatible SVG format icons for our projects. What else do we need?
-
Jekyll and how to escape those fence codes
Jekyll has a great support for syntax highlighting, but what if you want to escape the fence codes itself? Meet {% raw %}. With raw, you can escape any Jekyll command, so to print the raw command above, I surrounded it with raw and endraw. Unfortunately I can’t do it...
-
Jekyll and syntax highlighting
Jekyll has a great support for syntax highlighting, by default, Jekyll utilizes Rouge⇗, which is a pure ruby-based code highlighter. Rouge can highlight 100 different languages⇗. Code formatting can be done with {% highlight ruby %}. As you can see, you especify the language right there, even line numbers are...
-
XAML Formatting on VS Mac
Please follow this to make sure your VS Mac formats the code correctly. PlugIn install Repository Install the repository into VS Mac, using these url: http://addins.monodevelop.com/Stable/Mac/8.2.6/ To do that, follow these steps: Open Extensions Select Gallery, Repositories, Manage Repositories Press Add, paste the URL given above: Make sure the new...