A simple URL shortener RESTful API written in Go

A simple URL shortener RESTful API written in Go
A screenshot of the API docs of the url shortener.
About An simple URL shortener RESTful web service API written in Go, using the net/http package for the server, the HttpRouter for the router and Bolt DB for the database. The Stoplight service was used to design and document the REST API. See below for the API Documentation The API service is deployed on Heroku, and you can access it on url-shortener-thanoskoutr.herokuapp.com. Because the Heroku Free plan is no longer available from November 28, 2022, the above link does not work.
Read more →

Grafana Configure

Grafana Configure
Screenshot of a Grafana Dashboard. The Grafana Labs Marks are trademarks of Grafana Labs, and are used with Grafana Labs’ permission. We are not affiliated with, endorsed or sponsored by Grafana Labs or its affiliates.
In this post, we will see how we can install Grafana in our Ubuntu Server. Grafana is an open-source data visualization and monitoring tool that can easily be integrated with other tools. We will install Grafana in our server as a service and not in a container. We have more than one way to install Grafana: By downloading the Linux binary By downloading and installing the .deb package By installing from the official repository We will show the last method, because we don’t have to manually update the package ourselves.
Read more →

InfluxDB Configure

InfluxDB Configure
Screenshot of InfluxDB dashboard. InfluxDB® is a trademark registered by InfluxData, which is not affiliated with, and does not endorse, this site.
In this post, we will see how we can install the latest version of InfluxDB (ver 2.0) in our Ubuntu Server. With the new version there’s only one thing to download and install and we can avoid installing the TICK Stack (Telegraf, InfluxDB, Chronograf, Kapacitor). The new version is not a simple time-series database anymore, but also a platform for querying, visualization and data manipulation. We have more than one way to install InfluxDB 2.
Read more →

Building a DSL Info Bot with Selenium and Plotly

Building a DSL Info Bot with Selenium and Plotly
A screenshot of the time series generated plot from the DSL link info over time.
About A python bot, that uses Selenium, in order to automatically access the Router/Modem’s web-based setup page and get DSL Link info. It uses Plotly to create an interactive Plot as an HTML web page. It also supports the export of the data to an InfluxDB Bucket for further monitoring and visualizing. Currently gets the following info: CRC Errors FEC Errors Showtime_start Support for the following Routers/Modems: ZTE Nova Routers (H267N, H288A, …) The need behind this project, was to monitor my DSL Link information over time, to correlate with various internet outages or sudden internet speed issues.
Read more →

Building a full stack application for finding Movies on Streaming Platforms with the SERN stack (SQL, Express, React, Node)

Building a full stack application for finding Movies on Streaming Platforms with the SERN stack (SQL, Express, React, Node)
A screenshot of the full stack app, where a user can search for movies on streaming platforms.
About The purpose of this project is to create a Web Application in which a user can search movies to watch in different streaming platforms (Netflix, Hulu, Amazon Prime, Disney+). The user can filter the results with different criteria and choose to search on any number of the streaming platforms in order to find the desired movies. Also, some statistics are provided about the number of movies that are available on each platform in the form of a pie chart.
Read more →

Change Wordpress Port

Change Wordpress Port
Wordpress Logo
In this post we will see, how we can change the default port (port 80) of Wordpress to something else (port 1280) in order to have port 80 available for other applications to use. To make this change we will need to change 2 main things, the Apache configuration files and some options in the MySQL database. We are assuming that Wordpress is installed in a LAMP stack on an Ubuntu or Debian server.
Read more →

Wordpress Install

Wordpress Install
Wordpress Logo
Wordpress Installation and Configuration Guide. Prerequisites Create a sudo user on your server Install a LAMP stack Secure your site with SSL (can be done after) Create a MySQL Database and User for WordPress Log in to a MySQL administrative account (root): sudo mysql -u root -p Create wordpress database: CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; Create exclusive user for this database: GRANT ALL ON wordpress.
Read more →

LAMP Install

LAMP Install
The LAMP stack.
MySQL Install MySQL sudo apt install mysql-server Run security script Accept almost everything, and add secure root password: sudo mysql_secure_installation Change authentication method If you don’t change the authentication method from auth_socket to mysql_native_password then anyone with a sudo user password can log in as root. To check the authentication method, enter MySQL: sudo mysql And type: SELECT user,authentication_string,plugin,host FROM mysql.user; To configure the root account to authenticate with a password, run the following ALTER USER command.
Read more →