Python tells you: what are the videos of ten million net red Li Ziqi?

Yunqi information:[ Click to view more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! Guide: today, let's talk about Li Ziqi who lives a poem. See the second part for Python technology. Official account background, reply to the keyword "Li Zi Qi" to o ...

Posted by itpvision on Fri, 05 Jun 2020 09:46:32 +0200

PHP Clean Code (Part 2)

PHP Clean Code (Part I) Use default parameters instead of short circuit operation or condition judgment Bad practice: This is not good because $breweryName can be NULL function createMicrobrewery($breweryName = 'Hipster Brew Co.'): void { // ... }    It's OK: This approach is easier to understand than the above, but it needs to contr ...

Posted by Kiubbo on Fri, 27 Mar 2020 11:33:02 +0100

Kubernetes environment building - MacOS

Preparation 1. Mac environment requirements Minikube requires VT-x / AMD-v virtualization to be enabled in BIOS. To check if this is running on OSX / macOS, do the following: sysctl -a | grep machdep.cpu.features | grep VMX If there's output, you're great! 2. [recommended] use Tsinghua brew image source cd "$(brew --repo)" ...

Posted by stebbi on Fri, 20 Mar 2020 20:25:15 +0100

Error in pyenv installing python3.7.0 under Mac OS 10.14

Under Mac OS 10.14, when pyenv is used to install Python 3.7.0, an error is reported, as follows: xwszt@Linxyz:~$ pyenv install 3.7.0 python-build: use openssl from homebrew python-build: use readline from homebrew Downloading Python-3.7.0.tar.xz... -> https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz Installing Python-3.7.0. ...

Posted by wscreate on Mon, 16 Dec 2019 17:27:06 +0100

Linux password generator

Now the application is more and more, often need to enter password, some have no requirements for the robustness of password, some need case, special characters, numbers, at least how many bits, etc., can't think of a better password. Fortunately, in Linux system, we have many ways to generate the password required by symbols. It ...

Posted by ewillms on Tue, 10 Dec 2019 09:42:40 +0100

Navicat Premium 12.0.28(mac version) cracking

1,Download cracked files 2. Decompress the file After decompression, there will be a Navicat keygen MAC folder, in which there are two folders: Navicat keygen and Navicat Patcher 3. Compiled documents openssl needs to be installed before compilation. If homebrew is installed, openssl can be installed through brew install op ...

Posted by lukegw on Sun, 08 Dec 2019 02:59:09 +0100

Homebrew package manager

Homebrew Package manager [toc] I. Introduction Homebrew It is a package manager under Mac OS X, which is equivalent to yum and apt-get under Linux. Homebrew It is easy to download and install applications, and it is no longer necessary to search for various installation packages by hand. Be careful: Homebrew With Mac OS X MacPorts Package Mana ...

Posted by Taro on Sun, 15 Sep 2019 14:49:19 +0200

MacBook Reloads Apache and PHP 7.2

20190718 was supposed to do a php verification code, and it turned out that there were no pictures on my macbook, but it was OK on windows! ___________ Judging that the problem lies in the environment! macOS Mojave 10.14.5 WEB: Self-contained apache PHP: Self-contained php 7.1 After a lot of tossing and turning, the final result is: re-insta ...

Posted by twilightnights on Sat, 20 Jul 2019 14:52:29 +0200

mac upgrade php7 series of problems and Solutions

Causes: Because the computer has its own php 5.3, try to run a php project, database import, and configuration file modification is not a problem, but the final error: Message: Cannot modify header information - headers already sent by  ... Search for information: According to the following blog try in n ways http://www.dabu.info/warning_can ...

Posted by Scriptmaker on Mon, 08 Jul 2019 23:42:08 +0200

[JavaScript Design Patterns] Behavioral Design Patterns -- Template Method Patterns

Template method pattern is a very simple pattern that can be implemented with inheritance only. Template method pattern is composed of two parts. The first part is abstract class, and the second part is concrete implementation subclass. Generally, the algorithmic framework of subclasses is encapsulated in abstract parent classes, which mainly i ...

Posted by ball420 on Sat, 29 Jun 2019 01:42:11 +0200