redis cluster building + spring integration

step.1 Compiles redis wget http://download.redis.io/releases/redis-3.2.0.tar.gz tar xzf redis-3.2.0.tar.gz cd redis-3.2.0 make Step 2. Install ruby environment and ruby package management tool rubygems yum install ruby yum install rubygems whereis gem Step 3. Create a redis copy The smallest redis cluster has at least three master s, so ...

Posted by tskweb on Fri, 19 Apr 2019 17:42:33 -0700

Construction of redis cluster

Aim: To simulate cluster building on a computer To make the cluster work properly, we need at least three master nodes. Here we need to create six redis nodes, three of which are master nodes and three are slave nodes. The corresponding ip and port relationships of redis nodes are as follows. 127.0.0.1:7000  127.0.0.1:7001  127.0.0.1:7002  12 ...

Posted by admin on Fri, 19 Apr 2019 09:06:35 -0700

Analysis of CSS and JS Reference Relations in Meetup Rails, Shenzhen, 2010-305

Novice on the road, if there are any mistakes, please remind me in time Analysis of CSS and JS Reference Relations in Rails I. Rails Static File Storage Location You can put it in three places: app / assets, lib/assets, or vendor/assets. At present, app/assets directory is mainly used. app/assets: Stores static resources of programs, such ...

Posted by skicrud on Wed, 17 Apr 2019 03:30:34 -0700

Ruby 2.x Source Code Learning: Lexical Analysis

Preface Ruby did not use LEX to achieve lexical analysis, but chose its own handwritten lexical analyzer, combined with YACC (BISON) to achieve grammatical analysis, the relevant source code in parse.y (YACC grammar description) file. Resolution identifier parser_yylex in parse.y is the entry to the lexical analyzer, and parse_index is called a ...

Posted by raymie7 on Sat, 06 Apr 2019 20:51:30 -0700

Ruby 2.x Source Code Learning: Syntax Analysis & Intermediate Code Generation Method Analysis

Preface This paper analyses how Ruby parses the top-level method definition, assuming that the reader has the basic knowledge of Compiler Principles and understands the basic use of yacc, bison (automatic parser) tools. BNF syntax parser.y contains all the syntax of the Ruby language. Below are the fragments related to functions (the parser.y f ...

Posted by Piba on Sat, 06 Apr 2019 15:51:30 -0700

CentOS 6.5 Compile and Install gitlab

Reference resources https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md https://bbs.gitlab.cc/topic/35/gitlab-ce-8-7-%E6%BA%90%E7%A0%81%E5%AE%89%E8%A3%85%E6%89%8B%E5%86%8C-centos6-rehl6/2 I. Configuration Foundation 1. Install epel source yum -y install epel-release vim wget ntpdate gcc gcc-c++ -y /usr/sbin/ntp ...

Posted by prinzcy on Tue, 02 Apr 2019 15:45:29 -0700

App Automated Testing Exploration 5-Calabash Trampling Summary

For reprinting, please indicate the source: https://lizhaoxuan.github.io Preface In order to ensure the process of reading the previous chapters, we will summarize all the problems that Calabash encountered from the environment to the specific use. Most of them are pits that I actually experienced. At the same time, I will try my best to r ...

Posted by Victorm on Wed, 27 Mar 2019 13:09:31 -0700

Java 8 Function Interface

When passing methods as parameters, Ruby has proc, C # has Delegate, and JavaScript, let alone Java, is embarrassed in this respect. But Java 8 provides Lambda expression and function interfaces, which is undoubtedly the gospel of Javer and makes Java a better language for excellence and ease of use. demand Team C is an agile developme ...

Posted by Rik Peters on Wed, 27 Mar 2019 07:15:30 -0700

Detailed Explanation of Python+OpenCV Face Recognition Technology

Face recognition is always seen in sci-fi movies. Now we can also program it. Ha ha ~ OpenCV is an Intel < open source computer vision library. It consists of a series of C functions and a few C++ classes. It realizes many general algorithms in image processing and computer vision. OpenCV has a cross-platform, high-level API ...

Posted by dodgei on Tue, 26 Mar 2019 00:45:28 -0700

Tengine 2.1.2 (nginx/1.6.2) Installation Configuration, Taobao Web Server

brief introduction Tengine is a Web server project initiated by Taobao.com. On the basis of Nginx, it adds many advanced functions and features to meet the needs of large-scale visiting websites. Tengine's performance and stability have been well tested on large websites such as Taobao and Tianmao Mall. Its ultimate goal is to build an effici ...

Posted by DoD on Fri, 22 Mar 2019 23:09:56 -0700