[Cocoapods] installation and use of the third-party library management tool Cocoapods

Reprint address: https://www.jianshu.com/p/9727434520b0 brief introduction CocoaPods is a tool responsible for managing the third-party open source code in iOS projects. Using CocoaPods can save time and improve work efficiency in setting up and updating the third-party open source library. How to ...

Added by Parody on Thu, 16 Jan 2020 10:14:59 +0200

On Mac, kill the process regularly according to the process name / restart the process by the way of Daemons

Reference blogger article https://blog.csdn.net/u010976445/article/details/50819287 To kill and restart pycharm program under Mac as an example to write script, using Python 3.6 environment 1, Kill process ps -ef | grep pycharm | awk '{print $2}' | xargs kill -9  # After ps -ef | grep pycharm | awk '{print }' | xargs is exe ...

Added by weedo on Mon, 06 Jan 2020 19:23:08 +0200

Understand Nginx location matching thoroughly

Nginx's location implements fine-grained processing of requests, some URI s return static content, some distribute to back-end servers, and so on. Understand its matching rules thoroughly today An example of the simplest location is as follows server { server_name website.com; location /admin/ { # The configuration you plac ...

Added by pavanpuligandla on Mon, 30 Dec 2019 06:15:04 +0200

Extract python tar.gz, tar, zip, rar files

For these general methods of decompression, there are a lot of introductions on the Internet. Here, I will not repeat them, but go to the main topic directly. tar.gz decompress import gzip def un_gz(file_name): """decompression gz package""" f_name = file_name.replace(".gz", "") #Get the name of the file, remove ...

Added by mherr170 on Mon, 23 Dec 2019 20:22:19 +0200

One-line command for mysql to go struct

Githubd address Chinese Documents | DOCUMENT okcli can generate the specified data table as a corresponding model file and currently supports bringing column names, data types, default values, comments into the specified model.Like the following files: import "time" type ( Student struct { Id int32 `db:"id"` N ...

Added by blacksmoke26 on Sat, 14 Dec 2019 03:10:29 +0200

Alibaba cloud log service Rest API usage example reference

Summary Log Service (LOG for short) is a one-stop service for LOG data, which is tempered in Alibaba group through a large number of big data scenarios. Besides operating through the management console, LOG also provides API (Application Programming Interface) to write and query LOG data, manage their own projects and LOG libraries. In the actu ...

Added by Gestahr on Thu, 05 Dec 2019 04:27:56 +0200

Java export excel file

demand Export online / offline user information of each xmpp machine room to Excel table (timed task + web button), and provide download button on Web page for download. Effect preview Export file effects Click download pop-up effect Code results overview ...

Added by screamer141 on Sat, 30 Nov 2019 21:51:21 +0200

Analysis of bin directory structure in Linux system

Generalization In Linux system, the executable commands are usually stored in / bin, / sbin, / user/bin, / user/sbing. The details are as follows: /bin Store the most basic and necessary execution commands of system operation, that is, the commands that can be executed for all users. The following is the bin directory und ...

Added by alex clone on Sat, 30 Nov 2019 07:29:35 +0200

Using diskutil to format U disk under mac

brief introduction People who have used win32diskimage know that the u disk will become several partitions after being mirrored with that object, and some partitions cannot be mounted, and the disk management tool of Mac can not deal with this problem well, but there is no good partition tool under Mac. If there is one that can be recommended ...

Added by jester626 on Tue, 12 Nov 2019 01:29:32 +0200

SSH autologin | SSH management tool

sshAutoLogin It can make your ssh login simply as well as efficiently on Mac or Linux. we are frequently using ssh login remote server by terminal. We will find a headache that is often entering a repetitive command line. Fuck~ it's a waste of time!Maybe you cloud write configure of alias on profile. enenen~ Finally, I determined to write a tim ...

Added by garcon on Thu, 31 Oct 2019 16:14:03 +0200