PHP
-
Split Unordered List Into Multiple Columns using CSS3 Columns Property
In this article, we are going to learn how to split the unordered list into multiple columns using pure CSS3 Property column-count . What is...
-
PHP: Logout From All Devices on Password Change
To logout users from all devices when the password is changed in PHP, here we will create a good and easy approach to create the script. Here are...
-
Send Email in JavaScript Using SMTP with Example
To Send Email in JavaScript Using SMTP (Simple Mail Transfer Protocol), we will use JavaScript SMTP CDN and Gmail app password as...
-
How to check if an array is empty, NULL, or undefined in jQuery?
To check if an array is empty, NULL, or undefined in jQuery and JavaScript, we use two major functions, jQuery.isEmptyObject(arrayVariable) length...
-
Sum of all duplicate values in an array using JavaScript
Also Read: for-Each In JavaScript With Example Here we create a program to find Sum of all duplicate values in an array using JavaScript. In the...
-
How to Print Multiple Array Values in PHP?
To print multiple array values in PHP, first, we have to merge multiple arrays and store it to a variable. To merge two arrays we use...
-
Get Special Characters from String in jQuery
To Get Special Characters from String in jQuery we use the string indexOf function. Also Read: 7 Most Useful JavaScript Array Functions Here are...
-
Convert Unix timestamp to DateTime jQuery And JS
To Convert Unix timestamp to DateTime using jQuery and JS, we use the JavaScript date object and other date functions to get the time and date...
-
XAMPP, Apache – Error: Apache shutdown unexpectedly
Here we discuss the Error: Apache shutdown unexpectedly issues with XAMPP. In this complete article, we will know why the Apache and MySQL issue...
-
How to get data from the hidden fields in PHP?
To get data from the hidden fields in PHP, we use PHP global variable, $_POST $_REQUEST To create a hidden field, we create an HTML input field...
-
Get Client MAC or Physical And IP Address Using PHP
Before we get started with Get Client MAC or Physical And IP Address Using PHP, first, we have to know some general details about Mac and IP...
-
PHP trim() Function With Multiple Examples
PHP trim() function is mainly used to trim or remove whitespace from the start and end of the string. We can also use it in various ways which we...
-
How to Search and Replace Tag Value in XML File using PHP
To search and replace tag value in XML file using PHP, we use PHP string replace function str_replace(). This is a PHP built-in function which...
-
PHP str_replace Function | Complete Guide
In this tutorial, we learn PHP str_replace Function with help of multiple types of examples. How we can use the PHP str_replace function at the...
-
PHP file_get_contents() Function With Example
In this tutorial, we learn how we can get the complete string from any URL or from any text file by using PHP file_get_contents() Function with...
-
5 systematic ways of coming up with property-based tests
This is a cheat sheet based on a great talk "How to specify it! A guide to writing properties of pure functions" by John Hughes . This talk has a...
-
Solution for Hackerrank problem: Basic Cryptanalysis
There's one programming puzzle I solved many years ago but I still remember it because of the unusual solution. Problem: You have a text encrypted...
-
Solution for Project Euler Problem #700: Eulercoin
Problem: Imagine a sequence 1504170715041707*n mod 4503599627370517 where n is an integer increasing from 1. Find the subsequence of this...
-
Generating CI/CD pipelines for microservices with Yeoman
TL;DR: You can create a Yeoman generator for your CI/CD pipelines. It's good, I tried. Once you start multiplying services, you hit a problem...
-
A good way how to validate types in TypeScript
TL;DR: I've created a typescript library fp-ts-type-check . You can use it to validate the structure of data you get from outside of your...
-
A story about rubber ducks and functional programming
Once upon a time, I wanted to get a rubber duck. One rubber duck. I spent a lot of time looking for a perfect yellow rubber duck not representing...
-
Sudoku Solver in Scala Part 3: Generating cross-dependent test data
This is the last part of my learnings during writing a sudoku solver . It's about several iterations of a property-based test refactoring in an...
-
Sudoku Solver in Scala Part 2: Functions compose, methods don't
I keep writing about my learnings during writing a sudoku solver . This time we touch solver's logic and I have something to share about making...
-
Sudoku Solver in Scala Part 1: Validated types
Sometimes you're trying to solve a puzzle so hard so you have to write a program to solve it. That happened to me with one specific sudoku so I...
-
PHP doesn't want you to do microservices
As a PHP developer, I should probably rejoice when someone's saying "we do microservices in PHP". I don't. I'm fine with PHP and I like...