Write a formula component with vue

Because recently received a requirement, there should be a formula editing module in the project, which may have the function of entering formulas and fields manually, and other modules can be modified manually. Du Niang and github haven't found a good wheel for a long time. There is no way but to write one by themselves to realize the basic fu ...

Posted on Fri, 01 Nov 2019 15:52:26 -0400 by phrater

Advanced iOS development (Tang Qiao) reading notes

Part 3: the underlying principles of iOS development 1. Objective-C object model 1.1 isa pointer Code of NSObject.h: NS_ROOT_CLASS @interface NSObject <NSObject> { Class isa; } Code of objc.h: typedef struct objc_class *Class; typedet struct objc_object { Class isa; } *id; Each object has a pointer named isa to the object's class ...

Posted on Fri, 01 Nov 2019 10:04:25 -0400 by johany

Cross domain modification of iframe page content

principle The primary site embeds the proxy page and transfers data to the proxy page. The proxy page operates the DOM of the target page according to the data of the primary site. Because the proxy page and the target page share the same domain, the proxy page can obtain and operate the document object of the target page. Prerequisite You need ...

Posted on Fri, 01 Nov 2019 06:27:41 -0400 by csckid

Using native JS to implement a simple version of web games - greedy snake

Today, I'd like to share a game with you. We'll use the familiar JS to realize a snake eating game. Enjoy yourself. First of all, I will sort out the following ideas: Click Start Game startpage disappear game start Random food, three snakes moving Up, down, left and right change direction Jud ...

Posted on Fri, 01 Nov 2019 00:19:58 -0400 by stone

Spring boot 2.0 integrates elastic search framework to realize high-performance search engine

Source of this article GitHub: smile from cicada https://github.com/cicadasmile/spring-boot-base I. installation and introduction Elasticsearch is a Lucene based search server. It provides a distributed multi-user full-text search engine based on RESTful web interface. Elasticsearch is developed in Java and released as open source under Apache ...

Posted on Thu, 31 Oct 2019 19:05:52 -0400 by Brandon Jaeger

Big data case - MapReduce's reduce end table consolidation (data skew)

Code download address: https://github.com/tazhigang/big-data-github.git I. demand: merge the data in the commodity information table into the order data table according to the commodity id II. Data preparation Data preparation: ==============================order.txt==================================== 1001 01 1 1002 02 2 1003 03 3 1001 0 ...

Posted on Thu, 31 Oct 2019 17:03:26 -0400 by mfallon

Reptile cat eye movie box office

background I don't know what happened recently. I've been confronted with anti climbing means of fonts, starting from Chinese net, shaking sound and so on. I've always wanted to do cat's eye, but I have no energy. I've done two in front, which is not bad. After this, I'm not going to do font a ...

Posted on Thu, 31 Oct 2019 16:32:36 -0400 by livepjam

Rotation matrix of Huawei's 2019 examination paper for recruitment (python version)

Explanation Huawei 2019 online test questions are sorted out as follows for future reference 🔗 GitHub Title Description """ Title Description: --Input an N-order square matrix (0 < N < 10), and output the square matrix after clockwise rotating m (0 < = m < = 10000) times --Rotation ...

Posted on Thu, 31 Oct 2019 13:48:15 -0400 by eightonesix

iOS extraction of image resources in mobile app

Download apple configurator2 and open it. After connecting your phone, select your phone to enter the following interface: Then click add in the upper left corner, select Add app, search for the app you want to obtain resources, here is Douban FM as an example. After that, you will enter this interface: Don't click at this time. Enter ~ ...

Posted on Thu, 31 Oct 2019 09:42:15 -0400 by gavinbsocom

A concise tutorial of golang etcd

Etcd is a key value warehouse with high availability and strong consistency, which has been widely used in many distributed system architectures. This tutorial introduces the main functions and using methods of etcd/clientv3 in golang with some simple examples. If you are not familiar with etcd, please read it first: Easy to understand etcd etc ...

Posted on Thu, 31 Oct 2019 03:07:47 -0400 by Tiger99