How to install Ubuntu (Nodejs) on Hyper-V?

Since I installed Docker for Windows, I can’t use VirtualBox anymore because Docker requires Hyper-V active and VirtualBox can’t live happily together with Hyper-V. So I have to move all of my virtual machines from VirtualBox to Hyper-V to keep using Docker and virtual machines at the same time. In this blog, I would like to write down the steps for installing Ubuntu and Node.js on Hyper-V

Continue reading How to install Ubuntu (Nodejs) on Hyper-V?

Python – How to download image from Google Search?

I’m training myself to learn machine learning and A.I. When I get started with Tensorflow for transfer learning, I would like to have some images for my training set. The images can be easily found by Google Image Search but I found no way to get all found images downloaded to my local machine. There’re some add-ons for Google Chrome such as Firefox but they don’t really work. They crash most of the time when I start to download them. Therefore I have to write myself a small tool to get this job done for me. In this blog post, I would like to show you how I made it with Python.

Continue reading Python – How to download image from Google Search?

.Net Core – Entity Framework Migration and Sqlite

In previous post, I showed you how to implement a custom migration without using Entity Framework for Sqlite database in .Net core. In this post, I’ll use Entity Framework Migration to manage (upgrade / downgrade) our database structure. Both of approaches will work, you can choose one of 2 solutions as you prefer.

Continue reading .Net Core – Entity Framework Migration and Sqlite

.Net Core – How to publish an ASP.NET core application to Linux host

With the growth of many cheap Linux VPS providers and the new releas of .NET core, we have a possibility to host our applications with a low cost. In this post, I would like to write down the steps how I published a ASP.NET core application to a Linux VPS. The application is just a simple “Hello World!” ASP.NET core. The code will be compiled and deployed manually on the Linux VPS. In praxis, you can automatically deploy your app over FTP or use Git to check out the release branch, build and deploy.

Continue reading .Net Core – How to publish an ASP.NET core application to Linux host

DotNetCore – Sqlite with Entity Framework Code First and Migration

In last months there were 2 big frameworks for software development published: DotNetCore and Angular 2. They’re new and powerful. I’ve spent most of my free time to learn both of them. The combination of DotNetCore Web Api and Angular 2 give me a powerful development enviroment for building website or building web-view app (based on Apache Cordova). I’ve started to build some web apps with Angular 2 (for example YouTubeApp or my private dictionary EnDeVi). They are all my pet projects but it’s a good start for learning new stuffs. In this blog, I would like to write about DotNetCore and Sqlite like the previous post Sqlite with Entity Framework Code First and Migration. Basically there’s nothing new with this post, I just want to test how I can write a simple .NET core console connecting to Sqlite database.

Continue reading DotNetCore – Sqlite with Entity Framework Code First and Migration

How to configure TortoiseHg working with GitHub?

I’m using TortoiseHg as my subversion control client. I love it so much. It works perfectly with Bitbucket without using any addon. GitHub is also a popular platform and sometimes I would like to check out the source code from GitHub for debugging and analyzing. Unfortunately, TortoiseHg can’t do that directly, we need an extension for it to use with GitHub. In this very short post, I would like to write down the steps to install hg-git extension for TortoiseHg so that I can check out the code from GitHub

Continue reading How to configure TortoiseHg working with GitHub?

Elasticsearch NEST – Examples for mapping between Query and C#

During my training with Elasticsearch I would like to map a query with GET/POST method to C# syntax of NEST. It’s very helpful for me to see how NEST composes its internal queries and sends to Elasticsearch server. I just post my sample project here, maybe it’ll help you too.

Continue reading Elasticsearch NEST – Examples for mapping between Query and C#

How to install and publish Elasticsearch on Azure Ubuntu?

As part of my self-training with Elasticsearch, I would like to install Elasticsearch on Azure VM und publish it over the Internet so that I can access my server anywhere. It is not recommended to publish Elasticsearch server on the internet because of security. So don’t do this to your production one, but you can use the concept for publishing server on your LAN. The installation and configuration are pretty easy. It does matter where to find and how you should configure Azure and Elasticsearch.

Continue reading How to install and publish Elasticsearch on Azure Ubuntu?