How to customize Python UDF in PyFlink 1.10?
We know that PyFlink is newly added in Apache Flink version 1.9, so can the speed of Python UDF function support in Apache Flink 1.10 meet the urgent needs of users?
The development trend of Python UDF
Intuitively, the function of PyFlink Python UDF can also be changed from a seedling to a tree as shown in the above figure. Why do you have thi ...
Posted by premiso on Wed, 11 Dec 2019 07:02:35 -0800
Let Vue also use Redux
Last weekend, I saw the source code of Vuex. I was inspired. Why are all Vuex. So Dongtong wrote a plug-in one afternoon to help Vue use Redux
Gayhub Url
Vue-with-Redux
This is a plug-in used to help Vue use Redux to manage state. Redux is a very popular state management tool. Vue with Redux provides you with a way to use Re ...
Posted by AstroTeg on Tue, 10 Dec 2019 04:23:05 -0800
Android source code download and compilation - 2019
Android source code download and compilation - 2019 (based on Ubuntu 18.10, applicable to domestic environment)
Download repo tool
If you do not download the repo script tool, please go to Tsinghua mirror to download it
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
chmod +x repo
Then set the update source:
export REPO_URL='http ...
Posted by melkara on Mon, 09 Dec 2019 12:35:11 -0800
pm2 remote Publishing
Create configuration item
Create a new pm2 configuration file ecosystem.config.js in the root directory of your git warehouse, as shown in the comments, or execute the pm2 init initialization file ecosystem.config.js.
module.exports = {
apps : [{
//pm2 name
name: "nextcn",
//pm2 run script
script: "./app.js",
//environment va ...
Posted by mligor on Sun, 08 Dec 2019 19:14:23 -0800
git server setup and code check
For local git service, gitlab is usually selected. I first chose gitlab and installed it on centos7 according to the steps on the official website. The download speed was unbearable and I had no choice but to give up. Finally, choose to install gogs image in docker to build git service.
I. installation of gogs
1. Pull image
docker pull gogs/ ...
Posted by glennn3 on Sat, 07 Dec 2019 17:30:54 -0800
Bold prediction: docker app will be an alternative to docker compose
Docker 19.03 introduces an experimental feature: app, which is an instruction of docker, such as image, run, exec, swarm
Official documents: https://docs.docker.com/engine/reference/commandline/app/
Docker app arranges the docker container as a bundle, named application application. You want to package a set of docker containers as an applicati ...
Posted by harinath on Sat, 07 Dec 2019 15:06:18 -0800
LSP merchant API
Your domain: lsp-api-merchant.hhs2717.cn
Virtualhost conf: /usr/local/nginx/conf/vhost/lsp-api-merchant.hhs2717.cn.conf
Directory of: /data/wwwroot/lsp-api-merchant.hhs2717.cn
Rewrite rule: /usr/local/nginx/conf/rewrite/laravel.conf
Self-signed SSL Certificate: /usr/local/nginx/conf/ ...
Posted by spoons84 on Sat, 07 Dec 2019 06:12:50 -0800
jenkins triggers the automatic construction of docker image, uploads it to harbor and publishes it
I. making Dockerfile file
1. Deploy on 172.19.2.51
mkdir -pv /opt/git
git clone http://172.19.2.140:18080/lvqingshan/gcgj.git
cd /opt/git/gcgj
scp app@172.19.2.1:/home/app/portal-tomcat/webapps/portal.war ./
scp app@192.168.37.34:/home/app/portal-tomcat/conf/server.xml ./
vim Dockerfile
FROM tomcat:7.0.77-jre8
ADD server.xml /usr/local/tomcat ...
Posted by Valect on Fri, 06 Dec 2019 15:07:19 -0800
Bosh install Concourse continuous deployment tool
How to use Bosh to deploy applications
Updated: April 23, 2018
Install bosh environment
Download Bosh binary installer
click download
Install virtulbox
wget https://download.virtualbox.org/virtualbox/5.2.10/virtualbox-5.2_5.2.10-122088~Ubuntu~trusty_amd64.deb
dpkg -i virtualbox-5.2_5.2.10-122088~Ubuntu~trusty_amd64.deb
Install some dependen ...
Posted by Cal on Thu, 05 Dec 2019 10:23:50 -0800
Another OneDrive command line client
Another OneDrive command line client
Be based on Laravel-Zero , and made a lot of changes.
This project references onedrivecmd , but the language is based on PHP. After all, PHP is the best language in the world.
OLAINDEX-CMD is the command line version of OLAINDEX
Github
Project address: https://github.com/WangNingkai/OLAINDEX-CMD
Characteri ...
Posted by JD* on Wed, 04 Dec 2019 10:25:21 -0800