A new computer
It took only one year for MacBook air to retire due to insufficient memory and hard disk. It updated the customized version of MacBook pro, and I would feel uneasy when I was happy because I had to reinstall the software to prepare for it. Sure enough, when installing brew, there was no ...
Posted by PDP11 on Sat, 20 Jun 2020 01:55:25 -0700
Homebrew It is a package management tool under Mac OS platform, with many practical functions such as installation, uninstallation, update, view, search, etc. A simple instruction can realize package management, which is very convenient and fast without you caring about all kinds of dependencies and file paths.
/bin/bash - ...
Posted by Arya on Sat, 30 May 2020 08:01:42 -0700
First of all, we need to mention a software called Homebrew
Homebrew is probably the best package manager on Mac. It is equivalent to Ubuntu apt and command-line app store
Max Howell is the author of Homebrew. When he went to google for an interview, the interviewer gave a question about reversing the bi ...
Posted by pedrokas on Sat, 04 Apr 2020 02:31:07 -0700
Because some syntax uses of Python 2.x and 3.x are different, you will encounter the need to switch versions when writing and using Python programs. The following describes pyenv, a tool for switching Python versions.
Take mac as an example. You need to install brew first. If you don't, you need to install brew and pyenv first. No ...
Posted by DarkJamie on Tue, 24 Mar 2020 00:08:07 -0700
I've seen NSQ before and haven't seen it yet.Just when I have time today, I set up a simple try to get the message queue NSQ in this Go Language, which I'll briefly record here.
In fact, NSQ is used relatively little in China. I think I know such a thing here. Just look at the source code a little and learn something.
Introduction to NSQ
NSQ i ...
Posted by CentralOGN on Sun, 22 Mar 2020 10:30:03 -0700
Implementation of middleware with nginx openresty
In the formal ngx.exec(), you must not output anything, such as ngx.say("debug"), otherwise you will be trapped in redirection
The log will constantly prompt attempt to call ngx.exec after sending out response headers
This should be a common sense problem. We all know ...
Posted by PAFTprod on Sun, 08 Mar 2020 03:02:07 -0700
Template Method behavioral class 1
Define the skeleton of an algorithm in a method, and delay some steps to the subclass. The template method allows subclasses to redefine some steps of the algorithm without changing the structure of the algorithm
Ensure that the structure ...
Posted by ginginca on Thu, 05 Mar 2020 04:26:25 -0800
Flash runs directly
usWSGI and ngnix
At present, the performance of the platform is found to be relatively low in the process of using, so we need to find a way to optimize the performance ...
Posted by kylebragger on Mon, 24 Feb 2020 04:21:08 -0800
1. Use intuitive and meaningful variable names
const yyyymmdstr = moment().format("YYYY/MM/DD");
const currentDate = moment().format("YYYY/MM/DD");
2. Use the same words for variables of the same type
Posted by faifas on Thu, 13 Feb 2020 14:24:58 -0800
Tesseract introduction and environment construction
Tesseract for iOS
Due to the limitation of the client core, most of the ID card identification in the market will be put in the server verification. The client is generally only ...
Posted by tomdelonge on Wed, 05 Feb 2020 04:01:10 -0800