go的编程基础 1. go的注释方法 // :单行注释 /* */ :多行注释 例如: package main import "fmt" // func main() { /* fmt.Printf("hello, world\n") } */ func main() { fmt.Println( ...
分类:
编程语言 时间:
2020-05-20 12:35:56
阅读次数:
51
在webpack4中使用splitChunkPlugin时,根据需要将公共代码拆分为多个依赖后,需要在创建htmlWebpackPlugin时候按需引入对应入口文件依赖的chunk。但是html-webpack-plugin的chunk配置项只能手动添加,在没有得知拆分后的chunk情况下,无法得知 ...
分类:
Web程序 时间:
2020-05-19 22:47:32
阅读次数:
84
update jxgz_rymc r set Reorder = ( select i from ( SELECT ( @i := CASE WHEN @DepartmentId = t1.DepartmentId THEN @i + 1 ELSE 1 END ) AS i, (@Departmen ...
分类:
数据库 时间:
2020-05-19 20:36:02
阅读次数:
98
https://github.com/appium/mitmproxy-java 因为是基于java写的appium自动化。 希望能在跑case的过程中实现拦截请求并修改response的功能。 就调研了多种proxy的工具。 anyproxy是用js文件写的,可能实现需求。 又尝试了一下mitmp ...
分类:
编程语言 时间:
2020-05-19 18:55:04
阅读次数:
118
前段时间不小心改了host 配置,想要还原,以下是默认配置: # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change t ...
分类:
系统相关 时间:
2020-05-19 18:49:21
阅读次数:
78
有问题先找 官方文档 :https://docs.microsoft.com/zh cn/windows/wsl/user support 而不是找其他的什么博客和教程,毕竟他们许多都没有更新,或可能是旧版本,比如这个: "点我" 再比如这个: "点我" 这些都老得不要不要的了。 2020年5月19 ...
package com.example.sevenzuoy; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import a ...
分类:
其他好文 时间:
2020-05-19 10:54:05
阅读次数:
50
题目 Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 i ...
分类:
其他好文 时间:
2020-05-19 01:04:00
阅读次数:
58
学习内容 先上项目地址,一个简单的AVPlayerDemo: https://github.com/practiceqian/QCAVPlayerDemo AVPlayer学习 1. 几个播放器相关的类 AVPlayer、AVURLAsset、AVPlayerItem、AVPlayerLayer 2 ...
分类:
其他好文 时间:
2020-05-19 00:21:52
阅读次数:
80
#include<stdio.h> #include<string.h> #define yw 10000 //yw表示压4位数 struct node{ int s[10001];//s存储数据 int len,zf;//len存储位数,zf存储正负(1为正-1为负) }; char dr[100 ...
分类:
编程语言 时间:
2020-05-18 20:34:37
阅读次数:
55