Kensuke Kousaka's Blog

Notes for Developing Software, Service.

Web UI testing using Selenium, PhantomJS, and nose

You can easily test UI if you use Selenium (UI test tools), PhantomJS (Headless browser), and nose (Unit testing library).

Add Google Authenticator to SSH service

This article describes how to add Google Authenticator (one of two step authentication system) to SSH service.

Note for communicating JSON data between jQuery and Python CGI using Ajax

This article notes how to communicate JSON formatted data between jQuery Ajax and Python CGI.

Build environment to run Flask application as production using uWSGI + nginx

This article describes how to prepare production level app running environment, using uWSGI which works on mediating between Python Web application and Web server like nginx.

Unit testing Python Flask program using nose

This article describes how to implement Python unit testing using nose, library which can easily implement unit testing.

Note about how to run CGI on nginx

Note about how to configure nginx to work with CGI written in Python.

Note about Flask: How to implement authentication system on Flask

This article describes how to implement user authentication system to Flask. Base program that this article uses is created in [previously posted article](https://blog-en.k3n.link/flask-jquery-ajax-post).

Note about Flask: How to use jQuery Ajax POST request with Flask

This article describes how to use jQuery Ajax POST request with Flask.

Note about Flask: Intro

Write down a note about Flask, Python based lightweight Web Application Framework.

Build log for notifying server error system using Zabbix + Slack

To check server availability, build monitoring system using Zabbix + Slack.

How to redundant Postfix e-mail server.

If you run e-mail server system by one server, not use redundant setup, you may have risks about can't receive/send e-mails. This article describes how to configure redundant e-mail server to avoid problem.

Log for migrating GnuPG environment to new server

Describe how to migrate GnuPG.

Communicate UI thread from other thread in JavaFX

This article describes how to modify UI from other threads in JavaFX.

Reading line-by-line in Shell Script

Describe how to implement Shell Script that receiving other command's output, reading and computing it line-by-line.

How to implement Euclidean algorithm to find GCD

This article describes how to implement Euclidean algorithm, which can find greatest common divisor of two numbers, in C and Java.