How to Write a Slash Command with Flask and Python 3 on Ubuntu 16.04

Introduction

Slack is a communication platform for teams. Slack has numerous add-ons that let teams extend Slack, and integrate it with other programs. Slack slash commands are a quick and easy way to perform actions in the message input box. For example, typing /who lists all users in the current channel. You can find a complete list of built-in slash commands at https://get.slack.help/hc/en-us/articles/201259356-Slash-commands. Continue reading “How to Write a Slash Command with Flask and Python 3 on Ubuntu 16.04”

How to Use Vue.js and Axios to Display Data from an API

Introduction

Vue.js is a front-end JavaScript framework for building user interfaces. It's designed from the ground up to be incrementally adoptable, and it integrates well with other libraries or existing projects. This makes it a good fit for small projects as well as sophisticated single-page applications when used with other tooling and libraries. Continue reading “How to Use Vue.js and Axios to Display Data from an API”

How To Manage Backups to the Cloud with Duplicacy

Introduction

Duplicacy is a cross-platform backup tool that offers a number of functionalities — including incremental backups, concurrent backup, and client-side encryption — which aim to streamline the process of backing up data to the cloud. The CLI (command-line interface) Linux version is free for personal use but requires a paid license for commercial users. Additionally, Duplicacy is available for MacOS and Windows with a graphical interface, and this version requires both personal and commercial users to pay for a license. Continue reading “How To Manage Backups to the Cloud with Duplicacy”

Understanding Variables, Scope, and Hoisting in JavaScript

Introduction

Variables are a fundamental part of many programming languages, and are among the first and most important concepts for novice coders to learn. There are a number of different properties of variables in JavaScript, as well as several rules which must be followed when naming them. In JavaScript, there are three keywords used to declare a variable — var, let, and const — and each one affects how the code will interpret the variable differently. Continue reading “Understanding Variables, Scope, and Hoisting in JavaScript”

How To Secure Roundcube on Ubuntu 16.04

Introduction

Because email is such a crucial part of modern day communication, it's important to keep security in mind for all parts of your email pipeline. Roundcube is a webmail client with strong security features and extensive customization options from its plugin repository. This article explains how to further secure a basic, existing Roundcube installation. Continue reading “How To Secure Roundcube on Ubuntu 16.04”

Monitoring for Distributed and Microservices Deployments

Introduction

System and infrastructure monitoring is a core responsibility of operations teams of all sizes. The industry has collectively developed many strategies and tools to help monitor servers, collect important data, and respond to incidents and changing conditions in varying environments. However, as software methodologies and infrastructure designs evolve, monitoring must adapt to meet new challenges and provide insight in relatively unfamiliar territory. Continue reading “Monitoring for Distributed and Microservices Deployments”

VestaCP Nginx Php-fpm Performance On OpenVZ VPS

Here is another short review on how an OpenVZ-based VPS running VestaCP with Nginx and Php-fpm stack can perform in a real production environment hosting real website with real traffic. Previously, I also posted another short review about VestaCP performance using its default configuration (Nginx as frontend proxy, Apache as webserver, PHP, and MySQL). The result was pretty impressive which until then the server received traffic spike. The server was basically ok but I had to move it to another server due to a number of reasons which I can not describe them here. Instead of just moving the website to new server, I wanted to also try different configuration. Hence, I decided to install VestaCP with pure Nginx as webserver and PHP-fpm. Moreover, I always wanted to try Redis so I also installed it alongside with Vestacp. Continue reading “VestaCP Nginx Php-fpm Performance On OpenVZ VPS”