Out of the blue all paid feature of the infotainment system of my Skoka Superb stopped working and required activation key. Bleutooth, Smarklink, Navigation, and Voice control are not longer working as they before, but you can fix it without replacing your Infotainment unit or waiting ages to get to official dealer.
The healthcare industry is undergoing a massive digital transformation. From electronic health records (EHRs) to telemedicine, healthcare organizations leverage information technology to improve patient care, enhance efficiency, and reduce costs. Yet, selecting, implementing, and optimizing new healthcare IT systems can be daunting for many medical practices. This is where healthcare IT consulting…
This is a short tutorial on how to run Selenium .NET Application in Docker with xvfb and Firefox (GeckoDriver). Some tricky parts with how to run xvfb-run command in docker and how to install firefox in Debian buster-slim docker image
I think you all saw this message when trying to record a new Group song: "Headphones Required To save a collab, you must use headphones the entire time." or "Try again Headphones are required to save your collab." when running Smule on Android emulator (BlueStacks for example). Finally you can fix this!
I had an idea for this project for a long time and finally I found some time to implement it. The idea is simple, light up staircase when we step on it! We also decided to go a bit further and also removed annoying wooden plank between floors, repainted wall, and renovated the wood (small cracks, fainted color, etc.)
Almost a year ago I have started a topic in LinkedIn where I asked how old were you when you wrote your first program and what was the programming language. This post collected a lot of feedback (more that 170 comments) and had a lot of views (36k+) and finally ("one year later" meme here...) I got a time to put all the answers together and made some charts. Disclaimer: This poll and statistic is…
Because .NET Core supports self-contained deployment - runtime and framework libraries are deployed alongside the app, so the end use doesn't have to install .NET runtime. Even though this is a great feature if you want to distribute your app to the end users, it has the downside - the size. This is why .NET team developed mechanism called assembly trimming. During the publish process ILLink (the…
Ik verkoop mijn mooie Honda Shadow VT 750 C2 Spirit omdat ik een nieuwe motor heb gekocht (Yamaha Raider). De motor verkeert in zeer nette staat. Starten en rijden. Ook staat de motor altijd netjes en droog onder de veranda.
На днях закінчив ще одну "ранкову" книжку - "Велика четвірка. Прихована ДНК Amazon, Apple, Facebook і Google" за авторством Скотта Гелловея. Автор аналізує причини успіху "Великої четвірки", як і чому вони стали настільки могутніми. Як їм вдалося проникнути так глибоко до нашого життя і, що сталося з компаніями "старого світу" які не змогли адаптуватися до світу інформаційних технологій.
React to GitHub webhook events and run custom scripts on your server. This is useful if you want to setup simple continuous integration and\or deployment.
A simple console application to analyze Nginx log files and visualize the results. It gives you a top-level overview of the website performance (views per day, views per week, top-performing pages, etc) and nothing more. It's written in .NET Core 3.1 and can be deployed as a self-contained application (no need for a .NET runtime)
Just finished another "evening" book, this time quite interesting analysis of why during the past 500 years the western civilization dominated the world and the rest eventually adopted (or in most cases are still trying) the same core principles. Niall Ferguson begins his story with a great example of ancient China. A powerful empire with an astonishing fleet that reached Africa a hundred years…
Цю книгу я віднесу до розділу "Успішний успіх" і "Мотивація". Легко написана, легко читається, чогось фундаментального з неї не дізнатися, але цікаво почитати про досвід успішного бізнесмена та принципи на яких побудовано його компанію.
Simple instruction on how to get messages from the archived mailbox (aka in-place archive) using Microsoft Graph API. You will learn how to use well-known folder names to access data in the exchange server mailboxes without using long and clumsy ids. Graph API is a powerful tool to query data from Office 365. Learn how to utilize its features and make your life simpler.
Xvfb is a simple program to redirect output to a virtual framebuffer. You can run any application in a headless mode, including Selenium, Chrome, and Firefox. This will help you run your Selenium test scenarios event on Raspberry Pi.
This is a simple tutorial on how to install and configure a Samba server on Raspberry Pi. Any Debian-based distro is suitable for this tutorial, I am using Rasbian OS but it should also work with Ubuntu Core.
Unfortunately, Google doesn't make AMR32 (armv7l) builds of ChroreDriver anymore. The latest version of chromedriver-linux32 was released for version 2.33 But there is a solution, people from the Raspbian project have compiled chromium-chromedriver version for the armhf platform and added it to the repo.
First of all, NDepend is a static analysis tool for .NET that can be integrated into Visual Studio (as an extension) or used as part of your continuous delivery pipeline. It allows you to keep track of code quality, technical dept, and visualize the dependencies to get a better overview of the codebase.
This is an overview of the most popular data science (machine learning, data mining, and artificial intelligence) tools for Python. Interest in these fields (artificial intelligence (AI), machine learning (ML), etc.) has increased over the past 5 years and python earned the first place as the most popular "data science" language. TensorFlow, PyTorch, Caffe, Pandas, Keras, Scikit-Learn, SciPy,…
Over the past ten years, I have been writing to my blog. I have started at the time when Angular, React and Vue.js didn't exist at all. In this article, I will show you the statistics I got, tell you what I learned and how I fucked up. I hope it's not the last anniversary, and in ten years I can write another blog post.
Due to a bug in .NET Connector for MySQL you might get JSON data in the wrong encoding. This article will show you how to fix this problem so you can read the data in the correct format.
Explore an easy way to fix MySQL Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. You can either disable it permanently or turn it off before executing an update/delete statements and turn it back on after. SET SQL_SAFE_UPDATES=0; will fix it for you, but be careful, you are not protected against DELETE FROM table statement…
According to a Netcraft's study of the secured (SSL/TLS) sites they monitor, 95% of them are vulnerable to a simple man-in-the-middle attack because they didn't correctly implement HTTP Strict Transport Security (HSTS), a widely-supported security feature that prevents unencrypted HTTP connections to a server. Let's see why it's happening and how we can make your website secure, again.
This article will show you how easy it is to log something to DataDog from Azure Function using a standard ILogger interface from Microsoft.Extensions.Logging.Abstractions NuGet package.
In my frontend application, I was making requests to the backend API, but in some cases, I was getting the following error: Http failure during parsing for http://localhost/api/get-data. If you are facing the same problem welcome on board! In this article you will see why this error is happening and how to fix it.
Blazor - build interactive, modular, and fast front-end applications in C#. Now you can finally forget about JavaScript and start using .net infrastructure to run your C# code in the browser. You can share classes, logic, and components between the backend and frontend. Try it now and you will never want to go back to JS.
A long, long time ago, developers were using machine codes to program computers. It was hard to keep all of them in mind, easy to make a mistake, and almost impossible to read. After struggling with machine codes, they created mnemonic codes to refer to machine code instructions aka Assembly language. The assembler was responsible for translating assembly language to machine codes.
The week is over as well as a great developer conference in Norway. This was my first NDC, and I was lucky to be in the city where it all started back in 2008, Oslo! NDC, Norwegian Developer Conference, is one of the biggest developer conferences in the world present in many cities, but Oslo is the place where it all started.
As you might now, .NET Core 3.0 SDK and Runtime are available on Raspberry Pi (actually, any Linux ARM32 or ARM64 architectures, as well as x64). With the new 3.0 version of .NET Core you can run your console or ASP.NET Core web site\api projects on a cheap 35$ device without any problems (do not expect high performance). We are using Raspberry Pi 3 to control our LinkedIn and Instagram automation…
If you need to only loop through the diagonal elements of the two-dimensional array you can use the following C# code (but should be more or less the same for any programming language). It calculates the diagonal index based on a simple formula and has O(n) complexity, where n = max(width, height)
This guide is helpful for people who decided to migrate a website to another web server and have SSL certificates from Let's Encrypt. This article describes the process for Ubuntu 18.04 but can also be used for other Linux distros (maybe with some small changes).
How to build, test and deploy your ASP.NET Core application in a single click (commit & push)? In this article I will answer this question and show you how to configure CI and CD with Docker and Bitbucket.
LinkedIn is the most popular business-oriented social network. A lot of us have an account there, but not a lot write something there. Most of the time you can see posts from recruiters about the new "awesome" position in "the best" company in the world, but almost no articles about technical aspects of the work.
Finally! You can now use bash and almost any linux program on your Windows 10 machine. You do not need cygwin or MinGW anymore! This will give you opportunity to use rich variety of tools available only on linux. For example wrk - a great HTTP benchmarking tool which I plan to use for a new ASP.NET Core 1.1 benchmark. Linux's user space available from Windows 10 version 1607. But it's disabled by…
Here is an example of the nginx server block (Virtual Hosts) which you can use to host multiple web sites on the same server. Just replace example.com with your own domain name. Do not forget to create all required folders and sent right permissions. Copy one of those templates to the /etc/nginx/sites-available/example.com Proxy example # Ivan Derevianko aka druss http://ivanderevianko.com # Force…
.NET Core framework provides one very useful feature - Self-contained application. You don't need to install any .net runtime on your computer, you can just copy your application to the target host and run it. Furthermore, you can run it on any platform (Windows, Linux, OSX)! When you create a self-contained application, after publishing, you will see the whole .net runtime next to your…
If you are using Selenium WebDriver as a web crawler and thinking that it's too slow, welcome inside! In this article, we will see how to make page parsing time around 50 times faster. As an example, I will parse comments from another article from this blog. I will first parse it using default WebDriver API (FindElement... methods) and then will compare it to CsQuery Here is WebDriver parsing…
If you want to run C# application (mono) with Selenium ChomeDriver on Ubuntu Server 16.04 in headless mode, you definitely should read this article. We will use Xvfb as X server, this will let us emulate "headless" mode because Xvfb performs all graphical operations in memory without showing any screen output. Install mono sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys…
Changes: Show vacations only for currently logged in user (Previously, if you have access to other user's leave tracker you will see his days off as your vacation) Show only days off with Holiday and Sick type (Exclude 2hours short leave and others) Display leave type in calendar (Before was always Vacation, now Holiday or Sick) Download (GitHub) ZohoPeopleClient This C# library was also updated…
Great news! You can already try new C# 7.0 features. All you need is Visual Studio 15 Preview. Let's start! Today we are going to talk about Pattern Matching and will look under the hood of this nice feature. Unfortunately, it is only partly available in VS 15. So we need to wait until next release. Or you can try to get latest Roslyn from GitHub. is operator The is operator is extended to test an…
C# 7.0 is coming! Even 6.0 is not released yet, you can already try new C# 7.0 features. To do that you need: Visual Studio 15 preview Set __DEMO__ and __DEMO_EXPERIMENTAL__ as Conditional compilation symbol in project settings. Not all of the new features available in current preview, but you can already play with some of them. But today we gonna look closer at Local Functions private static void…
Unity3d 5.3.0 introduced JsonUtility class which will help you with JSON serialization and deserialization. But this class has some limitation, and one of them: "You cannot serialize\deserialize System.Guid type" That's a pity, especially if you're using System.Guid in your DTO objects. But, there are solutions: You can change a data type, for example, use System.String or System.UInt32 instead of…
There is no more public Configuration() { AutomaticMigrationsEnabled = false; } in Entity Framework Core 1.0 (formerly EF 7.0) Now you can use extension Migrate method during database initialization. For example, you have custom DBInitializer class: public class DBInitialization { public static void Initialize() { using (var context = new DbContext()) { context.Database.Migrate(); // Other db…
At Novility, we have found that we cannot log working time anymore. You just press "Make me happy" button and nothing :( When ZohoPeopleTimeLogger tries to make you happy it needs information about current jobs from ZOHO. For example, if I try to log time for January 16 and there is no job for this date I will get an error. But user was not able to see that error. That is fixed in release v1.3.…
Guys from Newark element14 have sent me a nice dev board - Intel Galileo Gen2. I was curious because before, Microsoft declared that Windows 10 IoT Core will run on this board. I planned to run my previous benchmark on this board to see if it can beat Raspberry PI 2. Unfortunately, with the latest release they removed this board from the compatibility list :( But this is not a big problem because…
For those who do not know, AppVeyor is Continuous Integration and Deployment service for .NET projects. It is free for open-source projects. Currently, AppVeyor supports latest DNX version (1.0.0-rc1-final) and I've recently migrated my pet project to this version. I will show you how easy it is to build and run all unit tests on CI server every time you commit to GitHub. Visual Studio project…
I will show you how to do lazy db context initialization with Entity Framework 7. The idea is simple, we need an easy way to get database context in a request. If db context was used in the request we should call SaveChanges method and dispose used context if not we shouldn't do anything. For "client", code should look like this: public class SomeRepository { private readonly IDbContext _db;…