Quick Start Angular 2 with ASP.NET 5

Angular 2 is now on beta and ASP.NET 5 is on RC version. Both of them are almost near to final release. Use these versions for big projects right now is not a quite right decision because they are still being changed a lot. However, we can begin to make some demo projects to get familiar with new syntax and project templates. In this post, I show you how to make your first app with Angular 2 and ASP.NET 5. This post is only about how to configure so that Angular 2 works with ASP.NET 5.

Continue reading Quick Start Angular 2 with ASP.NET 5

Mac – How to install EOS Utility without CD?

I’m using Qt to develop a software for controlling Canon cameras on Mac OS X. For testing purpose I would like to install EOS Utility on Mac OS X. What makes me suprise is that Canon doesn’t provide link for downloading full EOS Utility but only its updater. If you start the installer, it’ll ask for current installation of EOS Utility. In this post I’ll show how to get full EOS Utility without CD.

Continue reading Mac – How to install EOS Utility without CD?

How to install and configure Mercurial on Ubuntu?

Bitbucket allows us to create a private remote repository based on Mercurial. If you don’t care that the source code can be stolen, you can use his service as your distributed revision control tool. However if your code contains sensitive data and you would like to host a Mercurial on your server, you can follow the steps below to install and configure Mercurial on Ubuntu.

Continue reading How to install and configure Mercurial on Ubuntu?

How to install CyanogenMod on Kindle Fire 5.1.1 2015?

Last year I bought an Amazon Kindle Fire on Black Friday in shopping season. The 7-inch tablet costs about 50 Euro at that time and was pre-installed with all of Amazon services and apps. Of course, we can’t expect a powerful tablet at that price level but the table’s really good for daily activities such as web surfing, listening to the audio book or playing small games. I really like it but the apps and services from Amazon. The advertisement on lock screen doesn’t disturb me at all, but the unnecessary apps from Amazon do make me really annoyed. Therefore, I decide to flash the tablet with CyanogenMod to get rid of all stuff from Amazon.

Continue reading How to install CyanogenMod on Kindle Fire 5.1.1 2015?

Project Oxford – Computer Vision API – OCR

I have introduced some candidates for OCR in the previous posts such as C# – OCR library candidates and C# – An example of OCR web service. Last year Microsoft published his new project for machine learning. The project is called Project Oxford. This project provides us the APIs for computer vision, face, emotion, video, speech, speaker recognition… The project is really interesting, you can learn more about it from its homepage. In this small post, I would like to illustrate how we can make a call to OCR service. OCR ist just a part of Computer Vision APIs.

Continue reading Project Oxford – Computer Vision API – OCR

iTextSharp – Frequently asked questions – Part 2

In previous part C#,iTextSharp – PDF file – Insert/extract image,text,font, text highlighting and auto fillin, I listed some code listings for typical features of iTextSharp in editing PDF files. That post just gets growing up and too long, therefore I would like to continue the work in this second one.

Continue reading iTextSharp – Frequently asked questions – Part 2

ASP.NET Web API – Identity and forgot password

In previous posts, we’ve got familiar with ASP.NET Web API and ASP.NET Identity. We can use ASP.NET Identity with multiple types of clients such as the desktop app, web app or mobile app for registering and authenticating users. The user will open an account with his email and password and then authenticate himself with services with registered info. If we don’t want to force user enter login data each time he accesses our services, we can get a token and use that token as the authentication key for any call to the server. Today I would like to extend our ASP.NET Web API with “Forgot Password” function so that user can reset his password in case he doesn’t remember it anymore.

Continue reading ASP.NET Web API – Identity and forgot password

How I use MiniALA to find web shell backdoor on my host?

I’m using a shared hosting service provided by Bluehost and have many websites on this account. Last month, November, my brother wrote me that he received a lot of traffic to his website although he didn’t update anything. He worried that maybe a web shell backdoor was injected into his website because he used some null-ed plugins and templates (My bro, please don’t use any null-ed components anymore, buy commercial components or use free ones instead). If his website got attacked, my blog will be also on target because we use same account for both websites. I decided to make a short analysis of Apache Access Log (AAL) to check if a web shell backdoor is installed on my shared hosting.

Continue reading How I use MiniALA to find web shell backdoor on my host?