Imagine someone watching all your daily activities from hundreds of meters in the distance. While walls can protect you from spy glasses and interested neighbours looking out of their windows, they are no obstacle for electromagnetic radiation. WiFi networks in particular often build the backbone of our homes’ communication infrastructure: when you come home, your phone connects to your WiFi; when you turn on your video gaming console, it connects to your WiFi; when you leave, the WiFi connection to ...
Easily share your code with the PHP community by contributing your library as a composer package: This article will show you how to publish your code on GitLab and as a package on packagist.org. Writing Your PHP Code Publishing open source code has never been easier. Using PHP’s package manager composer, thousands of freely available packages are only one composer require away. Believe it or not, but there exists an npm package named “is-odd” with over 700,000 weekly downloads. Its ...
A new web service for extracting email addresses from a text ...
This article describes how to setup a continuous integration pipeline in GitLab for your Vue.js app. Learn how to automate your deployment to GitLab pages in a few easy steps. GitLab pages is a great way to host simple web applications and is easy to integrate into GitLab’s continous integration (CI) pipeline. ...
In this article, I’ll show how to set up a simple development environment for working with Spring Boot inside a VirtualBox Ubuntu Server. You will learn how to configure port forwarding for interacting with the development server set up shared folders for using an IDE on your client to edit code on the server build and execute the application using maven Let’s get started! Prerequisites You need: VirtualBox installed on your host (i.e., your desktop or laptop) A virtual machine ...
While there are many great tutorials to integrate Java and Python applications into Kafka, PHP is often left out. However, by offering scalability, high performance and high availability, Kafka is a very promising data infrastructure for combining legacy applications (such as PHP monoliths) with modern microservices. This article shows you how to setup a Kafka-PHP development environment from scratch using Docker and how to send your first message from a PHP application to a Kafka topic. Architecture Overview For this ...
With the new minor version upgrade PHP 7.3, trailing commas are introduced for function calls. A few thoughts why this is a good thing but does not go far enough. ...
Elasticsearch is a state-of-the-art full-text search engine you might want to use in your next project. It is based on a NoSQL-like document store and optimized for amazingly fast search queries. A powerful API enables features like fuzzy matching (find ‘Toronto’ when searching for ‘Torronto’), stemming (find ‘race’ when searching for ‘racing’) and n-grams (find ‘spaghetti’ with ‘ghett’). In this article, I will show you how to set up an Elasticsearch instance using Docker and PHP and how to easily ...
In August 2018, Sam Thomas discovered a new way to attack PHP applications. This exploitation works by causing the application to unserialize a data structure controlled by the attacker and leads to the execution of arbitrary code on the attacked system. Specifically, this attacks utilizes the phar:// stream wrapper which allows access to Phar application archives. The underlying problem is that PHP unserializes a Phar archive once it is first accessed by a file operation (e.g., file_exists()). In this post, ...