Phase makes h5 games (2)

This article mainly summarizes the knowledge points in the small game. summary Preload material //Preload sprite material game.load.atlas('button','images/button.png', 'images/button.json') this.load.spritesheet('loading','images/loading.png', 154, 155, 25) //Length, width and number of frames per frame //Preload picture game.load.image('bg' ...

Posted on Sun, 03 May 2020 08:06:32 -0700 by kendall

First operation and maintenance

Question 1: display the current time in the format hh: mm: ss and save it to the time.txt file [kiosk@foudation7 Desktop]$ date +%H:%M:%S >> time.txt Question 2: show lines 15-18 of the / etc/passwd file [kiosk@foudation7 Desktop]$ cat /etc/passwd | head -n 18 | tail -n 3 systemd-network:x: ...

Posted on Sun, 03 May 2020 04:23:45 -0700 by broomstick

Build a fully distributed Hadoop2.6 environment under Centos7

1. Download the Hadoop package and JDK 1. Download Hadoop address: https://archive.apache.org/dist/hadoop/common/hadoop-2.6.4/hadoop-2.6.4.tar.gz2. Download jdk: Link: https://pan.baidu.com/s/1lbu7eBEtgjeGIi2bWthLnA Extraction code: 0j0j 2. Preparing virtual machines 1. Create a new virtual machine (Centos7) in VMware, which is omitted. 2. ...

Posted on Sat, 02 May 2020 21:01:08 -0700 by calavera

Grabbing the dynamic loaded profile page

preparation Using the language python Required library requests, re, math Get dynamic links Open the profile home page, recommend Firefox and Chrome, right-click to view the elements, select network options, then swipe the page, load new content, and find the links and request headers as shown in the following figure. Get load link Link a ...

Posted on Sat, 02 May 2020 19:48:29 -0700 by squimmy

WC simulation (1.2) T2 variable

variable Background: 1.2 WC simulation T2 Analysis: network flow, maximum flow and minimum cut   In fact, this problem... At first glance, it's the minimum cut of network flow... As a result, my brain is full of split points in the examination room, and I'm happy that I didn't come up with a plan... Embarrassed face. Consid ...

Posted on Sat, 02 May 2020 08:39:01 -0700 by mark_kccs

IOS UnionPay payment

Official SDk download address https://open.unionpay.com/ajweb/index Test Demo: http://pan.baidu.com/s/1kUKMaqz 1. Import the official SDK. Directly drag into the project 2. Add system package: Target - > build phases - > link binary with libraries add 4 packages: CFNetwork.framework, SystemConfiguration.framewo ...

Posted on Sat, 02 May 2020 08:05:01 -0700 by leafface

Wechat applet (Express query)

Reading this blog requires a preliminary understanding of wechat applet Point me Make a preliminary understanding design sketch Let's start The first step is to view the directory structure, initially establish each folder, and register the page in app.json without registration, which cannot be displayed We only use the images folder, ...

Posted on Fri, 01 May 2020 21:18:09 -0700 by psych0

Solutions to mysql failure in CentOS 7.0 service startup

At noon, the company had a network problem (I didn't know the network problem at that time) and couldn't connect to SSH, so the server was forced to restart in Alibaba cloud's control panel. As a result, the mysql database couldn't be started, and an error was reported directly by running the mysql command Can't connect to local MySQL server t ...

Posted on Fri, 01 May 2020 08:02:04 -0700 by jlp09550

Simple encapsulation of OkHttpClient network request

OkHttp3 package First, let's take a look at OkHttp OkHttp is a sophisticated network request library with the following features: 1) Support http2, share the same socket for all requests of one machine 2) Built in connection pool to support connection reuse and reduce latency 3) Support transparent gzip compressi ...

Posted on Fri, 01 May 2020 03:36:30 -0700 by bstruss

Detailed installation and deployment of Traefik 2.2.0

Reload Address Reload original address Prerequisite: Traefik 2.X.0 has been released for some time, and many new features of the version have been updated, especially the highlight of the coexistence of TCP forwarding and http forwarding, which can solve many business problems, save many core network ports and experience bare metal deployment. ...

Posted on Thu, 30 Apr 2020 12:40:33 -0700 by plaggypig