OpenGL environment configuration under Mac CLion

1. Configure glew and glfw Run the following two sentences under the terminal. After installation, you can find the corresponding directory under / usr / local / cell /. brew install glew brew install glfw3 The effect is as follows: 2. Configure glad glad is designed to simplify development. It is not necessary. It is a function loader ...

Posted on Wed, 22 Apr 2020 10:49:44 -0400 by lhaynes

An example of Python Golang parsing web log regularity

Some log files need to be parsed. What python does now is to see the performance of golang. Because it's not so familiar with golang, it doesn't do any optimization. Compare the code and performance of regular extraction of the two languages. Just for reference and thinking Environmental Science macos 11.13.x 15 ...

Posted on Sat, 04 Apr 2020 18:01:07 -0400 by sam2004

Install mysql and mysql common commands under Mac OS

Using brew to install mysql brew install mysql After the installation is successful, use the following command to start / shut down the service brew services start mysql brew services stop mysql Set up a soft connection for mysql.bin ln -s /usr/local/Cellar/mysql/5.7.21/bin/mysql /usr/bin Enter mysql ...

Posted on Tue, 31 Mar 2020 22:21:20 -0400 by Dvector

How to install Brew automatically in China (domestic address)

Reprint: https://zhuanlan.zhihu.com/p/111014448 How to install Brew automatically in China (domestic address)   1, Automatic script (all domestic addresses) /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" perhaps /bin/bash -c "$(curl -fsSL https://gitee. ...

Posted on Sat, 14 Mar 2020 04:57:36 -0400 by slashpine

Solution to the problem of installing tkinter module in Mac

Article directory 0 in front 1 problem description 1 solution 1.1 first make sure to uninstall python3 1.2 then install xcode 1.3 replace ruby script 1.4 install python 1.5 test 0 in front Environmental Science: mac catalina 10.15.1 python 3.7.5 tkinter 8.6 1 problem description When you r ...

Posted on Mon, 24 Feb 2020 06:15:35 -0500 by Fabrizzio PHP

Build PHP development environment in Mac OS Catalina 10.15, including the redis extension of PHP

On October 8, 2019, apple officially released a new generation macOS , version Catalina (11.15). Mac OS Catalina pre installed Ruby (2.6.3), PHP (7.3.9), Perl (5.18.4), Python (2.7.16) and other common scripting languages, as well as Apache (2.4.41) Web server. It should be noted that in the new version, zsh has replaced bash as the default s ...

Posted on Wed, 22 Jan 2020 02:59:39 -0500 by thebluebus

Using fcrackzip to crack zip file password under mac

fcrackzip introduction fcrackzip is a special tool to crack zip type compressed file password. It is small and convenient, fast to crack, and can be cracked by using dictionary and specified character set. It is suitable for linux and mac osx systems fcrackzip installation brew install fcrackzip fcrackzip parameter introduc ...

Posted on Sat, 04 Jan 2020 16:43:21 -0500 by Theramore

Design pattern template method pattern

1. Template method pattern Define the framework of the algorithm in an operation, and delay some steps to the subclass. Common template examples in daily life: the Bank specifies the template / steps for handling business, 1) enter the door to get the number; 2) fill in the document; 3) wait for the call; 4) window handling. The second step is ...

Posted on Tue, 31 Dec 2019 04:42:04 -0500 by jlr2k8

Software recommendation

scrcpy Display and control your Android device Display and control your Android device Project address https://github.com/Genymobile/scrcpy Usage requirement Android device version 5.0 and above Android device to turn on adb debugging mode install Win download 32 bit https://github.com/Genymobile/scrcpy/releases/downl ...

Posted on Tue, 17 Dec 2019 17:14:05 -0500 by aim25

Using opentracing and Jaeger to realize link tracing of golang

Jaeger is an open source distributed tracking system launched by Uber, which is compatible with opentracking API.We can use opentracing to record the embedded points in the key code, and quickly and intuitively view the call execution on the line. Main points config settings cfg := &config.Configuration{ Sampler: &config.SamplerConf ...

Posted on Thu, 12 Dec 2019 08:11:36 -0500 by keiron77