java interface calls memcached
1. Before connecting to the memcache server, set up the memcache server in advance, remember the ip and port number of the created server, and use the ip and port number to connect using java code.
2. Start using java links
2.1 introduce the jar files memcached-2.0.1.jar and memcached-1.1.jar into the project
2.2 con ...
Posted by ineedhelp on Sat, 02 May 2020 12:42:36 -0700
ArangoDB data import
ArangoDB
ArangoDB is an open source and free multi model database, which can flexibly build data models by using documents, graphs and key value pairs. Written in c + +, compared with other databases or graph databases, the community of arangodb is relatively small, with few related materials, most of which are in offi ...
Posted by Kitty on Sat, 02 May 2020 08:23:35 -0700
H5 Mock Server summary
What is Mock Server data?
In short, if the Api (that is, the server interface) is not written, the front-end cannot be debugged. Mock Server is a service used to simulate the Api interface to return JSON data!
Here are three kinds of mock processing, and there are many third-party ones, such as (jsonServer + mockJS, ...
Posted by digitalecartoons on Sat, 02 May 2020 05:10:07 -0700
Use of ssdb queues
Recently contacted with ssdb, I feel that it is similar to redis. For the time being, I haven't studied too much. Anyway, even the command is almost used.
The current framework is yii
Requirements:
Due to the large amount of data exported by users, in order to monitor the memory utilization of the server, the task is queued in the form of q ...
Posted by pulsedriver on Sat, 02 May 2020 01:31:41 -0700
Sesame HTTP: setup of crawler Selenium+Chrome agent
Micro blog login limits the number of errors... In addition, a large number of Cookie accounts are blocked and need to be removed from the Cookie pool... Need to use a proxy... Rogue Baidu has been special for most of the day??? It turns out that Google can solve the problem in minutes? What else can baidu do besides sell fake medicine
The Sele ...
Posted by Arbitus on Sat, 02 May 2020 01:10:23 -0700
Detailed explanation of wz framework login function demo1
The purpose of this article is not to introduce how to use it, but to analyze the existing login process and the corresponding adjustments to be made in later formal development.
wz framework (let's promote the technology)
Introduction: Introduction to wz framework
Online experience: Online experience
github: vue-framework-wz
At the ...
Posted by zachrose on Fri, 01 May 2020 21:00:19 -0700
The specific implementation of the custom component of the applet + the communication between the page and the custom component
The specific steps are as follows:
1. Create a component
The singer list in the figure is a component, which is usually placed in the objects for specification.
2. Reference components in the json file of the page
//Want to be inindex.wxml The correspondingindex.json To configure this
{
"usingComponents" ...
Posted by brendandonhue on Fri, 01 May 2020 18:32:38 -0700
Basic knowledge of Javascript (1)
Since I have learned Java before, I will skip the same features and usage of Javascript and Java here.
1, Javascript output
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>js output</title>
</head>
<body>
<p id="one"></p>
<script type="text ...
Posted by alevsky on Fri, 01 May 2020 18:22:01 -0700
New features of C × 9: code generator, compile time reflection
Preface
Today, the official blog of. NET announced the release of the first preview version of C 9 source generators, a feature that users have been shouting for nearly 5 years, and finally released today.
brief introduction
Source Generators, as the name implies, allows developers to get and view user code during code compilation and generat ...
Posted by businessman332211 on Fri, 01 May 2020 14:48:51 -0700
Using Tencent location service for mobile location
1. First, write a tool class to locate the function in common.js
common.js:
//Location service function entry
function getLocationInfo() {
if (localStorageUtils.acquireLocationInfo() == null ||localStorageUtils.acquireLocationInfo().curLongitude == null || localStorageUtils.acquireLocationInfo().curLatitude == null) {
getCurrentL ...
Posted by bradles on Fri, 01 May 2020 13:19:07 -0700