[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

Expand the centos image of vagrant to 800G

The default capacity of vagrant CentOS 7.2 box is only 8G 8G?! What can be done? This capacity will be full in a few weeks. Maybe it's for the sake of portability, but as a developer who wants to build various development environments on vagrant, the capacity of 8G can only make vagrant a chicken. Fortunately, there are gods on the ...

Added by BlaineSch on Fri, 10 Jan 2020 19:19:07 +0200

Bramble pie 3B + set up gogs service git service

Project homepage: https://gogs.io Download page: https://gogs.io/docs/installation/install_from_binary Download address: https://dl.gogs.io/0.11.91/gogs_0.11.91_raspi_armv7.tar.gz ==Note: I log in with the root account to perform all operations. If pi account is used for operation, please add sudo before all instructions== install gogs is ...

Added by exasp on Thu, 09 Jan 2020 12:08:55 +0200

Running Jupyter/JupyterHub/JupyterLab as a system service

Jupyter/JupyterHub/JupyterLab can run in many ways, including command line, system service, Docker instance, Kubernetes application, etc. Here is how to run it as a system service by using the< magic operator of IPython 6/Jupyter>,<Magic operators of IPython >Can provide better console operation (who uses who knows! If you need t ...

Added by pramodv on Wed, 08 Jan 2020 06:01:58 +0200

pod install abort perfect solution

Background: Updated system 10.12.6, Xcode 9, IOS 11.0.1 Error: pod install abort To solve reverse push: you need to upgrade Ruby Version to 2.2.2; you need to upgrade Homebrew Version (uninstall and reinstall); you need to upgrade common line tools; Step 1: install HomeBrew / uninstall the update #Why update HomeBrew? // ...

Added by jej1216 on Mon, 06 Jan 2020 01:22:23 +0200

Detailed tutorial of installing python3.6 under Ubuntu 1 ~ 16.04.9 (installing instance on Tencent cloud server)

Native version information Because I use Tencent ECs, I use crt to connect to the server. ubuntu@VM-0-13-ubuntu:~$ cat /proc/version Linux version 4.4.0-130-generic (buildd@lgw01-amd64-039) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) ) #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 1. Enter sudo add apt reposit ...

Added by CoffeeOD on Thu, 02 Jan 2020 04:07:45 +0200

20180921 su and sudo commands, restrict root user to log in remotely through ssh

su command User switching. su # Switch to root su username # Switch to username user # When su is followed by - the various environments of the current user are initialized su - username # Specifying users to execute certain commands su - -c "touch /tmp/testfile02.txt" test06 # As test06 user at / tmp ...

Added by fluteflute on Fri, 27 Dec 2019 22:47:54 +0200

Six uses of postgresql highly available repmgr 1 Primary + 1 Standby auto failover

os: ubunbu 16.04 postgresql: 9.6.8 repmgr: 4.1.1 192.168.56.101 node1 192.168.56.102 node2 Under the premise that the production environment ensures the stability of the network, the database can auto failover is the best state. For synchronous replication, it is recommended to configure two Slavs. For asynchronous replication, ...

Added by lasse48 on Wed, 25 Dec 2019 22:35:37 +0200

Brief introduction of new features of systemd and common type analysis of unit, using systemd to manage the nginx of compilation and installation

1. New features of SYSTEMd Process (start) all services in parallel. Service control logic based on dependency definition System state snapshot Activate the process on demand, only when it is accessed for the first time can it really start; 2. Common unit types of SYSTEMd target: simulate the implementation level; service: define system service ...

Added by Sandip on Wed, 11 Dec 2019 20:13:40 +0200

In depth understanding of the building of Redis single machine environment of Redis series

Preface In the process of actual development projects, if we want to use cache, the first thing we think about is Redis. But why most people choose Redis is not able to understand or think about it. They only know that it can be used as cache, which is faster than the database. I happen to be such a person. So when I want to write an introduct ...

Added by craig1978 on Wed, 11 Dec 2019 17:53:23 +0200