User manual for tablet store combined with Blink public cloud
Preface
In this paper, we will introduce the process of creating the source table and result table jobs in Blink real-time computing platform.
Table storage channel service
Form store Channel service It is a full incremental integrated service based on the data interface of the table store. Through a set of Tunnel Service API s and SDK s, it ...
Added by uidzer0 on Mon, 09 Dec 2019 02:20:07 +0200
python crawler -- selenium module. Get up and move yourself!
selenium
basic operation
from selenium import webdriver
from time import sleep
#Instantiate a browser object
bro = webdriver.Chrome(executable_path=r'C:\pycahrm file\chromedriver.exe')
url = 'https://www.jd.com/'
#User initiated request
bro.get(url)
#Location tag
search_input = bro.find_element_by_id('key')
#Data interaction with the specifi ...
Added by damanic on Mon, 09 Dec 2019 00:02:57 +0200
python 3.7 quick start tutorial 7 Internet
Contents of this tutorial
7 Internet
Internet access
urllib
urllib is a Python module for opening URL s.
import urllib.request
# open a connection to a URL using urllib
webUrl = urllib.request.urlopen('https://china-testing.github.io/address.html')
#get the result code and print it
print ("result code: " + str(webUrl.getcode()))
...
Added by johnh2009 on Sun, 08 Dec 2019 21:33:51 +0200
jQuery -- time flies: AJAX method
jQuery -- review of knowledge points (5): AJAX method
1. $.ajax method: used to execute AJAX (asynchronous HTTP) requests.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>My Test JQuery</title>
<script type="text/javascript" src="./js/jquery-1. ...
Added by webtuto on Sun, 08 Dec 2019 09:42:52 +0200
vue-cli Project Trench
mock data in vue-cli project
Install http-server. Run with the project.
The src path creates a mock folder that configures the required json data.
Root path creates vue.config.js setting proxy condition.
Enter mock.Start http-server.
# yarn global add http-server
# touch vue.config.js
# mkdir src/mock
# touch src/mock/list.json
# cd mock
# h ...
Added by jamesl on Sat, 07 Dec 2019 22:05:28 +0200
1 MySQL ORM learning notes
Node.js ORM - Sequelize
basic
Overview: ORM(Object Relation Mapping) based on Promise supports multiple databases, transactions, associations, etc Installation: npm i sequelize mysql2 -S Basic use:
const Sequelize = require("sequelize");
// Establish connection
const sequelize = new Sequelize("kaikeba", "root", "admin", {
host: "localhost" ...
Added by angeljyt on Fri, 06 Dec 2019 01:59:46 +0200
Python+ITchart to realize wechat robot's automatic reply to specified friends and groups
Here I mainly use three robots, which can be switched.
1. Turing robot
http://www.tuling123.com
2. The Turing robot on showapi (feels the most intelligent, can recognize wechat expressions, English, Chinese, etc., but because I am an ordinary member, I call it 1000 times a day)
https://www.showapi.com/api/lookPoint/60
3. Molly r ...
Added by iBlizz on Fri, 06 Dec 2019 00:26:08 +0200
PHP+Ajax implementation of article mood voting function example
A PHP+Ajax implementation of article mood voting function example, you can learn to understand the basic process of voting: get mood icon and histogram related data through Ajax, when the user clicks one of the mood icons, send a request to Ajax.php, PHP verifies that the user cookie prevents repeated submission, then adds 1 to the correspondin ...
Added by bluebyyou on Thu, 05 Dec 2019 16:40:49 +0200
Discussion: the difference between creating objects before and in a loop
Business scenario
The back end obtains data from the database and passes it to the front end.
Data format obtained by backend: List
Data format of front-end requirements: Json
[scenario analysis]
The data format obtained by the back end is List, while the data format required by the front end is Json. Therefore, the back end needs to reassemble ...
Added by fesan on Thu, 05 Dec 2019 15:31:56 +0200
Array element addition and deletion, including tree structure data
Install npm package
npm i great-jsutils --save
Import api
import {JsUtilsApi, ArrayUtils, Base64, TimeUtils,StringUtils } from "great-jsutils/index";
Example 1: String removal
//String removal: the first parameter is the array to be operated, and the second parameter is the string to be removed
testArray(){
let arr=["a","b","c"];
Arra ...
Added by ierpe on Thu, 05 Dec 2019 12:05:37 +0200