During the deployment, sometimes I encountered the problem that the files are currently locked and the files can be overwritten. The deployment will then fail and I can’t configure out which process is currently locking the file. I do need a tool to unlock the file by killing the other processes but I just need a portable tool which doesn’t require an installation. Most of the available tool requires an installation so that they can manipulate the context menu on right mouse click to insert their options for unlocking. Therefore I write myself a very simple tool to list all processes accessing the file and kill them all.
Continue reading DropLock – Unlock the locked file in Windows
Today I encountered a very simple problem but shame on me, after more than 10 years as software engineer, I just messed up all things and could hardly figure out how it works. Even with the solution at that moment, I wasn’t satisfied because I just lost the control of my code. I could tell you that’s very, very bad feeling. It’s not the point if the code works or not any more. It’s the point of confidence. When you lost your confidence, everything else collapsed. Sometimes I was just stupid at the wrong moment. 🙂
Continue reading [Solved] First fit problem
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?
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?
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
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
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
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?
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#
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?