Create a Self-Signed Certificate for NGINX on macOS
In order to develop better, sometimes we need to configure https in our own local environment. This ...
In React Native 0.62, after building a signed apk, index.android.bundle is a binary file
IssueBefore building a signed apk, I run the below command to bundle my android application project....
Insert string at specified position with PHP
Use PHP's substr_replace() method to insert a string into an existing string. Refer to substr_repla...
Generator random string with PHP
Two ways to generate random strings using PHP.1. With rand methodfunction generateRandomString($leng...
How to migrate a Git repository
IssueWhen the ip of the server is changes, or we use a new server. We will have to migrate our git r...
java.lang.NoClassDefFoundError: Landroidx/localbroadcastmanager/content/LocalBroadcastManager
IssueIn the androidx project, I write these code as bellow.LocalBroadcastManager mgr = LocalBroadcas...
Include OpenSSL support of php 5 in Mac OS
IssueUsing the openssl_encrypt() method in Mac OS, something went wrong.Call to undefined function o...
Enable php_mbstring in PHP
IssueIn the PHP code, using the mb_strlen method, an error outputs as bellow.Call to undefined funct...
Linux make php 5 error: dereferencing pointer to incomplete type ‘X509_EXTENSION’
IssueWhen compiling PHP 5 version in Linux, enable openssl extension. Run the following commands.$ ....
Check if folder is empty or not php
Because PHP's rmdir method can only delete empty folders, you need to determine whether the folder i...
Topics
Hot Articles