How to address an academic presentation This small piece of note is based on the EFES class of UoG and the video. The question lying here is not how g ...
分类:
其他好文 时间:
2020-12-30 10:25:37
阅读次数:
0
在应用有frameset或者iframe的页面时,parent是父窗口,top是最顶级父窗口(有的窗口中套了好几层frameset或者iframe),self是当前窗口。 1.window.parent 功能:返回父窗口。 语法:window.parent 示例: 比如我们在使用A页面上使用了一个弹 ...
HTML标签基础标签 ? html 页面标签的根标签 ? head头部标签 控制性元素 在该标签定义的内容一般都是不显示的,除了title ? title 整个页面文件的标题 ? meta定义关于HTML 文档的元信息 charset字符设置 防止乱码 ? body页面的主体标签,存放一些页面的显示 ...
分类:
编程语言 时间:
2020-12-29 11:33:29
阅读次数:
0
新建文件夹behavior,新建文件resList.js // resList.js const app = getApp() module.exports = Behavior({ behaviors: [], //引入其它的 behavior properties: {}, //properti ...
分类:
微信 时间:
2020-12-29 11:17:57
阅读次数:
0
Screen 对象包含有关客户端显示屏幕的信息。 Note注意: 没有应用于 screen 对象的公开标准,不过所有浏览器都支持该对象。JavaScript教程 Screen 对象属性 属性说明 availHeight 返回屏幕的高度(不包括Windows任务栏) availWidth 返回屏幕的宽 ...
分类:
其他好文 时间:
2020-12-28 12:00:04
阅读次数:
0
使用 yeild 异步编程 function * abc () { var a = yield API.getGeneralData({ areacode: self.valueAreaVal, year: self.valueDate }); console.log(a); var b = yie ...
分类:
Web程序 时间:
2020-12-28 11:09:50
阅读次数:
0
服务端 # 服务端 import socket class UdpServer(object): def tcpServer(self): sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.setsockopt(socket.S ...
分类:
编程语言 时间:
2020-12-28 10:51:41
阅读次数:
0
本章概要: 线程的优点与进程的缺点,以及线程共享属性 pthread数据类型 pthread_create()/pthread_exit()/pthread_self()/pthread_join()/pthread_detach()/pthread_yield() pthread_attr_ini ...
分类:
编程语言 时间:
2020-12-25 12:23:37
阅读次数:
0
1,通过装饰器实现单例模式,只要任意一个类使用该装饰器装饰,那么就会变成一个单例模式的类 解释:这个类被装饰器装饰完之后,这个类变指向了装饰器的内层函数fun,那么再通过 t1 = MyTest()并没有创建对象,而是调用了函数t1 = fun(),那么对象只能在装饰器内部实现并赋值给t1 def ...
分类:
其他好文 时间:
2020-12-25 12:03:36
阅读次数:
0
Given an array of integers, return the number of (contiguous, non empty) subarrays that have a sum divisible by . Example 1: Note: 1. `1 这道题给了一个数组,让返回 ...
分类:
编程语言 时间:
2020-12-25 11:49:15
阅读次数:
0