-
Angular 6 – Google Drive Api v3 example
I am building a website for hosting and streaming some audio books which I found on the Internet. I decide to use Google Drive for storing my audio files because Google allows me to stream directly from his server. The boring steps what I have to do are downloading audio files, uploading them to Google…
-
AuVid Splitter – Tools for splitting MP3 files
I’m creating a website for hosting some audio books in Vietnamese for my own. I use Google Drive for hosting my audio .mp3 files. Google Drive is great but there is a problem with the streaming for the big audio files (greater than 90 MB). For downloading or streaming those big files, Google will display…
-
.Net Core Web Api – Basic Authentication
For some of my pet projects, I would like to activate the basic authentication for protecting my web API services from unwanted accesses. .Net core allows us to register our middleware to be used as a pipeline in application scope so that we can inject our custom code for handling request before they go to…
-
DropLock – Unlock the locked file in Windows
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…
-
.Net Core – NHibernate with MySQL
I’m making a website for storing my audiobooks which based on WordPress. I get the audio files from the internet, post it to my Google Drive and stream them over my website. But I have to create a playlist for them which I do it manually for now. It’s really time-consuming, therefore, I decided to…
-
[Solved] First fit problem
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…
-
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…
-
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…
-
.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.
-
.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…