NDC Oslo 2019 - Inspiration, Motivation, People

0
Comments
NDC Oslo 2019 - Inspiration, Motivation, People

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.

Read further...

Install .NET Core 3.0 on Raspberry Pi

0
Comments
Install .NET Core 3.0 on Raspberry Pi

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 (I will tell you about these projects when they are ready for public) via .NET Core console applications.

Read further...

Loop Through The Diagonal Elements In Two Dimensional Array

0
Comments
Loop Through The Diagonal Elements In Two Dimensional Array

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)

Read further...

Divbyte - Software Development Company

0
Comments
Divbyte - Software Development Company

I would like to share with everyone the project I have been working on for some time. Since I love solving problems, communicating with people, and programming (significantly more than 40 hours per week), and working on pet-projects became a bit boring, I decided to start helping real people with real problems.

Read further...

Does anyone read LinkedIn?

0
Comments
Does anyone read LinkedIn?

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.

Read further...

Enable bash on Windows 10

0
Comments
Enable bash on Windows 10

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 default. To enable it you should: Go to Settings -> Updates & security -> for developers a...

Read further...

Nginx Server Blocks (Virtual Hosts) Example Template

0
Comments
Nginx Server Blocks (Virtual Hosts) Example Template

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 without domain domain without www server { server_name www.example.com; listen 80; rewrite ^(.*) ht...

Read further...

Deploy and run .NET Core application without installed runtime. Self-contained applications.

3
Comments
Deploy and run .NET Core application without installed runtime. Self-contained applications.

.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 application. There are some advantages: You do not need to have installed .NET Core on a target machine You ca...

Read further...