|
Πρόσφατες Δημοσιεύσεις
-
Let’s assume you have a .net web api application and you want to access the value of a nested property in your application settings. If you want to override this property value in your Azure App Service you need be careful how you will declare the key for your nested application setting under Configuration section as there is a small......
|
-
Recently, I started playing around with Terraform and I am very excited how easy and fast it is to provision new resources, especially when you want to try out things. And when they are not needed anymore, you can easily delete all the resources with just a single command. So, let’s get started with the basics. What is Infrastructure as......
|
-
At installation guide of Docker Desktop one reads: Containers and images created with Docker Desktop are shared between all user accounts on machines where it is installed. This is because all Windows accounts use the same VM to build and run containers. Note that it is not possible to share containers and images between user […]...
|
-
A friend click by mistake on a message like the following at the Facebook Messenger app on Android, resulting on this same message being sent to all his Facebook friends: When I received it, of course I didn’t click it, since it uses a short url and an icon (says “Look what I found for […]...
|
-
I recently had an issue with an older Windows Server 2008 R2 server that couldn’t logout which had resulted to Remote Desktop not connecting to it anymore (not even with the “admin session” option). Luckily I had an admin go and physically cycle its power since it was a physial one without any lower level […]...
|
-
I had implemented a simple (and most importantly working in older browsers too) way of communication between an IFrame and its parent page via location.replace(“#” + hash), which doesn’t add entries to history like location.hash=… does, and the onhashchange event, when I noticed Edge-Chromium was throwing a “Throttling navigation to prevent the browser from hanging.” […]...
|
-
I have been trying recently to troubleshoot a WordPress website that was not detecting available core and plugin updates. So I installed WordPress Debug Bar plugin and after enabling WP_DEBUG in wp-config.php I could open the Debug menu from the WordPress admin bar and see some errors being logged. At the wp-content/wp-debug.log file that I […]...
|
-
I got a nice expression software charity bundle with Corel Painter 2020 (current version is 2021) and a bunch of brushes in it and then noticed that the brush packs where available for download as separate installers than the Painter software. So I launched one of the brush pack installers from the command-line (can give […]...
|
-
During the summer I was fortunate enough to take part in Summer in Greece Festival, a five-day event by Microsoft Learn Student Ambassadors in which MVPs, MCTs, and Microsoft Employees will present and deep dive to Microsoft technologies. My talk was about a Durable Functions, an extension of Azure Functions that lets you write stateful functions in a serverless compute environment. Source Code You......
|
-
In Greece we are using the US keyboard layout and that means that the tilde key (~) is placed next to number 1 at the top left corner of the key, like the following picture: About a year ago we moved to Luxembourg and my old Macbook died, so I had to replace it with a new one that unfortunately......
|
-
I recently needed to extract a numeric suffix from a string value in Python. Initially I did the following: import re def extractNumSuffix(value): return (None if (search:=re.search(‘^\D*(\d+)$’, value, re.IGNORECASE)) is None else search.group(1)) Note that return has a single-line expression. So print(extractNumSuffix("test1030")) prints 1030 Tried it online at: https://repl.it/languages/python3 However, then I found out […]...
|
-
Here’s how to install Python, PIP package installer and cx_Oracle extension module on MSYS2: $ pacman -S python warning: python-3.8.3-1 is up to date — reinstalling resolving dependencies… looking for conflicting packages… Packages (1) python-3.8.3-1 Total Installed Size: 108.66 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] y … $ pacman -S […]...
|
-
I was just looking for a way to monitor for file system changs in a cross-platform way. After searching the answers here and the ones at the other question mentioned as possible duplicate in that question’s comments, I think I’d go with fswatch since it is has cross-platform support. It uses different kinds of monitors […]...
|
-
One thing I tend to forget is how powerful azure cli is and how many things can be done way faster through this tool. So, for example, if you want to delete all files in an Azure Storage Account at once, a fast and easy way to do just that is by using the delete-batch command from Azure CLI. Run......
|
-
One thing I tend to forget is how powerful azure cli is and how many things can be done way faster through this tool. So, for example, if you want to delete all files in an Azure Storage Account at once, a fast and easy way to do just that is by using the delete-batch command from Azure CLI. Run......
|
-
Was just reading https://www.w3schools.com/python/ref_string_rstrip.asp which says The rstrip() method removes any trailing characters (characters at the end a string), space is the default trailing character to remove. Notes: 1) the chars param was added at Python 2.2.3, can’t use it at older versions as noted at https://docs.python.org/2.6/library/string.html string.rstrip(s[, chars]) Return a copy of the string […]...
|
-
Was just trying to make a Python 2 script work in Python 3 and at first it seemed I just needed a small change to add missing parentheses to the argument of a couple of print statements. But then another issue came up, it wasn’t understanding the command raw_input(somePrompt) that was occuring at various places […]...
|
-
During the 24th AzureHeads meetup, I delivered a presentation about three azure services, Azure Functions, CosmosDB and Signalr; I talked about websockets and the benefits compared to long polling and then, I built a stocks demo application using Azure Functions for the logic, Azure CosmosDB for the data persistence and then I showcase how is it is to add real-time......
|
-
A CRON expression is a string consisting of six or seven subexpressions (fields), separated by white space, that describe individual details of the schedule. A very useful tool that enables users to schedule tasks to run periodically at a specified date/time in the future, thus allowing the automation of a lot of tasks and processes that otherwise would require human......
|
-
On the 25th of April I had the chance to organize the Global Azure Greece 2020 event, the first virtual one of its kind, and also deliver a session thereat. I was one out of 248 international and 18 Greek speakers that took part in this huge online event. I started organizing the Global Azure bootcamp in Greece in 2016......
|
-
If you’re having issues with your Windows 7 or newer, you should consider whether its installation has become corrupted (due to malicious software or hard drive errors). After doing a disk check (say by right clicking the appropriate drive under my computer and selecting Properties, then Tools tab and Error checking) and a complete virus […]...
|
-
Was recently checking out the fine tools from GTmetrix for optimizing some websites I manage and one of the issues I noticed on a client’s site was that GZIP compression was turned off. They have a GZIP compression setup article for IIS and Apache web servers that contains a sample for Apache with compression rules […]...
|
-
During AzureHeads 23rd meetup, I delivered an introductory presentation about Azure API management, what is it, how someone can get started and then I showcase a set of features in Azure Portal like: connecting APIs with Azure Functions and import APIs through Swagger developer portal prevention of API usage spikes using throttling authentication with a backend service caching responses and......
|
-
A thing that really bothers me in Windows, and I believe many would agree, is the lack of UI consistency in Windows applications and components. Although applications implemented with the new Fluid Design System in mind have some very minimal scrollbars that don’t use much of valuable space, there are still a lot of apps, especially the ones built with......
|
-
A friend sent me the other day a screenshot from the installer of Microwords Pro Greek version on Windows 10 that was showing gibberish instead of Greek. At their school on Windows 10 it was showing up fine, so they wondered what the issue was. They mentioned that on Windows 10 english it was showing […]...
|
|
|
|