上一页 1 2 3 4 5 6 ··· 14 下一页
  2020年8月6日
摘要: [Registry] Root: HKCR; SubKey: NGIE; ValueData: "NGIE"; ValueType: string; Flags: CreateValueIfDoesntExist UninsDeleteKey; Root: HKCR; SubKey: NGIE; V 阅读全文
posted @ 2020-08-06 14:02 二豆 阅读(971) 评论(0) 推荐(0) 编辑
  2020年7月31日
摘要: var xhr = new XMLHttpRequest();xhr.open('GET', "http://abc/a.jpg");xhr.responseType = 'blob';xhr.onload = function(){ var content = xhr.response; var 阅读全文
posted @ 2020-07-31 10:03 二豆 阅读(1205) 评论(0) 推荐(0) 编辑
  2020年7月3日
摘要: import logging,os from sqlserver import sqlserver from openpyxl.workbook import Workbook from openpyxl.writer.excel import ExcelWriter from openpyxl.u 阅读全文
posted @ 2020-07-03 13:35 二豆 阅读(851) 评论(0) 推荐(0) 编辑
  2020年7月2日
摘要: vue.config.js中增加: configureWebpack: config => { require('@vux/loader').merge(config, { plugins: ['vux-ui', { name: 'less-theme', path: 'src/theme.less 阅读全文
posted @ 2020-07-02 09:29 二豆 阅读(304) 评论(0) 推荐(0) 编辑
  2020年7月1日
摘要: 打包的时候,打包程序无法判断动态调用,_mssql是动态调用的,就是用才调用,不会一开始就调用,于是打包程序就不知道要不要包进exe里面,估计打包的时候不会去尝试运行pymssql里面的函数,因此也无法得知动态调用的模块,于是乎,老外给的解决方案就是在程序最开始手动调用,为了最小的程序开销,调用一下 阅读全文
posted @ 2020-07-01 19:23 二豆 阅读(387) 评论(0) 推荐(0) 编辑
  2020年6月23日
摘要: 前端开发调试的时候,通常是localhost,而接口不在本机,会有跨域问题。通过http.server 实现的请求代理,解决了跨域问题并且实现登录。 class MyRequestHandler(SimpleHTTPRequestHandler): def addHeader(self): self 阅读全文
posted @ 2020-06-23 11:50 二豆 阅读(1138) 评论(0) 推荐(0) 编辑
摘要: ls /usr/bin/python* sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 sudo update-alternatives --install /usr/bin/python 阅读全文
posted @ 2020-06-23 11:30 二豆 阅读(213) 评论(0) 推荐(0) 编辑
  2020年5月7日
摘要: 公司的邮箱只有50M,时常需要清理,于是写了个清理工具: import os import time import logging import configparser from exchangelib import DELEGATE, Account, Credentials, Configur 阅读全文
posted @ 2020-05-07 09:19 二豆 阅读(511) 评论(0) 推荐(0) 编辑
  2020年4月20日
摘要: import time import datetime t = time.time() print (t) #原始时间数据 print (int(t)) #秒级时间戳 print (int(round(t * 1000))) #毫秒级时间戳 print (int(round(t * 1000000) 阅读全文
posted @ 2020-04-20 10:20 二豆 阅读(153) 评论(0) 推荐(0) 编辑
  2020年4月14日
摘要: vux x-input 清除按钮不起作用,解决办法: 找到node_modues—vux—src–components—x-input --index.vue 组件,修改以下三处 focus () { // 优化添加 setTimeout(() => { this.$refs.input.focus 阅读全文
posted @ 2020-04-14 09:40 二豆 阅读(1026) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页