from tkinter import * import wmi import socket c = wmi.WMI() def hard_id(): for physical_disk in c.Win32_DiskDrive(): var = physical_disk.SerialNumber ...
分类:
移动平台 时间:
2021-02-18 23:31:00
收藏:
0 评论:
0 赞:
0 阅读:
69
Debian9 安装 iostat属于sysstat软件包 apt-get install sysstat 使用 iostat -xdm 1 iostat常用命令格式如下: iostat [参数] [时间] [次数] 命令参数说明如下: -c 显示CPU使用情况-d 显示磁盘使用情况-k 以K为单位 ...
分类:
移动平台 时间:
2021-02-18 23:26:06
收藏:
0 评论:
0 赞:
0 阅读:
29
今天做中期的时候做到角色的控制,想了很多种方法,在这记录下其中一种:(使用混合树来控制) 1.找素材,需要一个2d的角色,以及动画(我这个素材是unity自带的) 在这里分享几个找素材的网站,我经常在上面找: https://opengameart.org/ https://www.spriters ...
分类:
移动平台 时间:
2021-02-18 23:25:08
收藏:
0 评论:
0 赞:
0 阅读:
41
只记录一种最简便的方法,在项目根目录下创建vue.config.js,修改module配置: 1 module.exports = { 2 outputDir: 'dist', //build输出目录 3 assetsDir: 'assets', //静态资源目录(js, css, img) 4 l ...
分类:
移动平台 时间:
2021-02-18 16:41:50
收藏:
0 评论:
0 赞:
0 阅读:
45
使用iPhone 6s及更高版本,可以拍摄实时照片,这些照片基本上是3秒钟的视频或运动图像。可以将实时照片转换为GIF或视频,但是如果要普通图像怎么办?可以在iPhone上执行此操作,或者如果已将照片传输到Mac,则可以在其上执行相同操作。如何将实时照片更改为仍在Mac上,一起来看看吧! 如何在Ma ...
分类:
移动平台 时间:
2021-02-18 15:18:35
收藏:
0 评论:
0 赞:
0 阅读:
23
1.前言 在官方 axios 中,还提供了 axios.all和axios.spread 这两个方法,这两个方法主要是为了执行多个并发请求,官方文档中,它们的用法示例如下: function getUserAccount() { return axios.get('/user/12345'); } ...
分类:
移动平台 时间:
2021-02-18 15:18:22
收藏:
0 评论:
0 赞:
0 阅读:
27
问题 Nginx添加CSP响应头设置之后报错: Refused to load the font 'data:application/x-font-woff;charset=utf-8;base64,d09G…’ because it violates the following Content S ...
分类:
移动平台 时间:
2021-02-18 15:09:34
收藏:
0 评论:
0 赞:
0 阅读:
167
网络模块及其封装 1. 网络模块的选择 传统Ajax,XMLHttpRequest(XHR) 配置和调用方式等非常混乱. 编码起来看起来就非常xxx 所以真实开发中很少直接使用, 而是使用jQuery-Ajax JQuery-Ajax 相对于传统ajax很好用 为什么不用 在Vue的整个开发中不需要 ...
分类:
移动平台 时间:
2021-02-18 15:07:59
收藏:
0 评论:
0 赞:
0 阅读:
47
一 无图言屌 先看看神奇的效果 仅用一个TextView实现 二 SpannableStringBuilder Google官方介绍 This is the class for text whose content and markup can both be changed. 翻译过来 这是用于文 ...
分类:
移动平台 时间:
2021-02-17 15:07:43
收藏:
0 评论:
0 赞:
0 阅读:
68
1 PC端设置 1.1 安装 Mail and Calendar 1.2 隐私设置 打开 Mail and Calendar 的电子邮件、日历、联系人隐私开关(否则添加账户时出现0x80004005错误) 1.3 为微软账户设置outlook别名 进入 https://account.live.co ...
分类:
移动平台 时间:
2021-02-17 13:41:09
收藏:
0 评论:
0 赞:
0 阅读:
108
安装应用 我们以安装 kubectl 命令为例: 第一步、先进行应用的搜索 # snap search kubectl Name Version Publisher Notes Summary kubectl 1.18.8 canonical? classic Command line client ...
分类:
移动平台 时间:
2021-02-17 10:41:00
收藏:
0 评论:
0 赞:
0 阅读:
29
异常:This application has no explicit mapping for /error, so you are seeing this as a fallback. 挖坑埋你 2018-03-12 12:49:46 65012 收藏 2 分类专栏: Questions 从菜鸟到 ...
分类:
移动平台 时间:
2021-02-17 10:33:14
收藏:
0 评论:
0 赞:
0 阅读:
28
SpringBoot (3) WebServerApplicationContext SpringBoot版本 SpringBoot 2.1.6 WebServerApplicationContext 在run方法中,通过反射创建了AnnotationConfigServletWebServerAp ...
分类:
移动平台 时间:
2021-02-16 23:17:32
收藏:
0 评论:
0 赞:
0 阅读:
26
06-Android项目搭建 工具环境 android studio 4.1.2 java8 创建工程 就普通的android工程创建就可以。 定义我们需要的依赖库的gradle文件,后面添加依赖都从这里获取,方便做统一的版本管理。新建一个version.gradle // 配置信息,版本信息等 e ...
分类:
移动平台 时间:
2021-02-16 18:21:04
收藏:
0 评论:
0 赞:
0 阅读:
26
import axios from "axios"; import store from "@/store"; import router from "@/router"; const baseURL ='http://localhost:8090' // process.env.VUE_APP_M ...
分类:
移动平台 时间:
2021-02-16 18:15:11
收藏:
0 评论:
0 赞:
0 阅读:
19
1. 题目描述 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining ...
分类:
移动平台 时间:
2021-02-16 18:04:35
收藏:
0 评论:
0 赞:
0 阅读:
48
原题链接 考察:树形dp+有依赖关系的背包dp 求保留边后树边权值最大和 思路: 因为选择子节点必须选择父节点,对于一个父节点u,它的两个子节点v1,v2.v1可以选择m条边,那么v2就能选择q-m-1-1条边对于每个一个树的结点,都能这样枚举,所以动态转移方程为f[u][j] = max(f[u] ...
分类:
移动平台 时间:
2021-02-16 10:14:27
收藏:
0 评论:
0 赞:
0 阅读:
35
import axios from "axios"; //第一种方式 export function request(config,success,failure) { const instance = axios.create({ baseURL:"http://123.207.32.32:800 ...
分类:
移动平台 时间:
2021-02-15 23:44:02
收藏:
0 评论:
0 赞:
0 阅读:
46
一、媒体查询 步骤 检测屏幕尺寸变化,指定范围内指定布局,较为灵活,自由度高 适配代码 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, in ...
分类:
移动平台 时间:
2021-02-15 23:37:52
收藏:
0 评论:
0 赞:
0 阅读:
24
错误:can't toast on a thread that has not called looper.prepare()https://stackoverflow.com/questions/3875184/cant-create-handler-inside-thread-that-has- ...
分类:
移动平台 时间:
2021-02-15 23:28:03
收藏:
0 评论:
0 赞:
0 阅读:
41