Learn how to start using modules in java 9 – a beginner tutorial.
“A man who dares to waste one hour of time has not discovered the value of life.” ― Charles Darwin, The Life & Letters of Charles Darwin
A major enhancement of Java version 9 is the Modules facility. Modules have been designed to be especially useful in building and maintaining large systems.
Continue reading “Java 9 Modules Tutorial – Getting Started”
Learn the technical aspects of bitcoin address generation.
“You can’t be happy unless you’re unhappy sometimes.” ― Lauren Oliver, Delirium
Let us learn how Bitcoin works by implementing various aspects of the technology, shall we? The technology includes the following aspects.
Continue reading “How to Generate Bitcoin Addresses in Java”
Become a Datascience Pro – Host your own Jupyter Notebooks
“To say goodbye is to die a little.” ― Raymond Chandler, The Long Goodbye
Docker is pretty cool when it comes to deployment of software. It isolates the deployed software from the host system. It does this by running a lighter version of an OS inside a container and deploying the software on top of this OS.
Continue reading “How to use Docker to Deploy Jupyter with Nginx”
Learn how to configure these components to host a python web application
“Pressure is something you feel when you don’t know what the hell you’re doing.” ― Peyton Manning
Continue reading “Run Python Web Application in Docker using Nginx and uWsgi”
Check out ways of setting up website root outside the docker container.
“What the mind can conceive and believe, and the heart desire, you can achieve.” ― Norman Vincent Peale
In this article here, we have described how to use Nginx with SSL enabled inside a docker container. Not discussed in that article is the aspect of the website root. Once the web server is installed inside the docker container, it has looks for the web site root within the container OS file system. This is controlled by this Nginx clause in the file /etc/nginx/sites-available/default.
Continue reading “Nginx Inside Docker – Website Root Configuration”
Run Nginx inside a Docker Container with Ubuntu 16.04
“Live boldly. Push yourself. Don’t settle.” ― Jojo Moyes, Me Before You
Docker is a very cool technology for running whole operating systems inside a process. You run a command on the host system and a whole new virtual system springs into existence, ready to operate as you have configured it. This capability offers unprecedented power and flexibility to build and throw away infrastructure as you wish. You could use this capability in test environments, running applications with differing system requirements in the same host, and a lot more.
Continue reading “Nginx Inside Docker with Ubuntu 16.04 HOWTO”
Learn about Character Classes in python regular expressions.
“Anyone who says he can see through women is missing a lot.” ― Groucho Marx
New to regular expressions? Start here.
In the last article, we covered some beginning aspects of regular expressions in python. We now continue to examine details of character classes.
Continue reading “Python Regular Expressions Tutorial – Part 2”
A Gentle Introduction to Python Regular Expressions
“Suspect each moment, for it is a thief, tiptoeing away with more than it brings.” ― John Updike, A Month Of Sundays
Continue reading “Python Regular Expressions Tutorial – Part 1”
Basics of building a blockchain using python, part 1
“Even if you are on the right track, you’ll get run over if you just sit there.” ― Will Rogers
A Blockchain is all the craze right now. With the Bitcoin price on a runaway track, everyone wants in on the bitcoin bandwagon. While buying and selling bitcoin and other cryptocurrencies is good (or bad, depending on your finances!), let us learn the basics of the technology behind these cryptocurrencies. In the process we will also attempt to come up with the building blocks of the technology starting from scratch.
Continue reading “Python Crypto Basics for Building a Blockchain”
Learn how to configure the Tomcat web server with SSL.
“Help someone, you earn a friend. Help someone too much, you make an enemy.” ― Erol Ozan
After covering SSL-enabling the Apache web server and the Nginx web server using an SSL certificate, let us now find out how to secure Apache Tomcat with HTTPS. Tomcat is an open-source java web server intended as a reference implementation of Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. For the sake of this article, we shall install version 8.5.28 of the Tomcat web server. This version is the latest in the 8.0 series of the server. Installation of the next version, 9.0, should be similar.
Continue reading “Using SSL to Secure Tomcat with HTTPS”