摘要: 新建注册表 reg 文件输入命令: 双击 写入注册表 嫌名字长,可以,在代码里改了,或者安装后进入注册表再修改数据值 计算机\HKEY_CLASSES_ROOT\Directory\Background\shell\runas ps,默认的shift 右键非管理员打开cmd 也可以删除 extend 阅读全文
posted @ 2017-12-13 12:09 willowj 阅读(4551) 评论(0) 推荐(0) 编辑
摘要: "uget " 迅雷最佳替代品 uGet is the 1 Open Source Download Manager app. uGet is a multi platform app for Linux, BSD, Android & Windows (XP 8) 使用 uget 接管Chrome 阅读全文
posted @ 2018-06-26 21:40 willowj 阅读(958) 评论(0) 推荐(0) 编辑
摘要: VirtualBox 复制或者移动系统机,需要移动 VirtualBox vdi虚拟磁盘 直接添加 会报错 Cannot register the hard disk ..... with UUID VirtualBox 设置了 UUID 同一个虚拟磁盘不能重复注册 需要另外给复制/移动的vdi生成 阅读全文
posted @ 2018-05-30 23:31 willowj 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 安装 软件包 .sh .deb debian 类系统安装包,双击也成 .bin .tar.gz 先解压缩 = extract = gzipped archive = get from a file, not a tape drive To find more help on tar, enter o 阅读全文
posted @ 2018-05-30 22:05 willowj 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 安装conda ,pyenv 创建python环境时 有时候需要 permission , 但是默认是安装在用户系统环境下,sudo conda :command not found method 1 : 授予 路径权限 sudo chown R ubuntu /home/ubuntu/anacon 阅读全文
posted @ 2018-05-30 21:08 willowj 阅读(647) 评论(0) 推荐(0) 编辑
摘要: component does not update after modify chartData https://github.com/ElemeFE/v charts/issues/276 修改数据后 视图没有更新 即使 用了 vue.set 修改了数据,但是视图组件还是没有刷新 问题解决: 定义 阅读全文
posted @ 2018-05-18 12:32 willowj 阅读(1940) 评论(0) 推荐(0) 编辑
摘要: 永州 科目三 经验 适用 2017 10月新规:有档位速度匹配、1 2档距离要求,难度加大;如果有考规又变动了,自己注意差异 其实是失败教训... 第二次:最后一步 开关车门 没关紧,好心痛... (熄火松安全带 后 开关车门 ) 第一次:前面两个人连续打靶,避让车辆后,紧张,然后二号线走错道了,超 阅读全文
posted @ 2018-03-10 14:19 willowj 阅读(5095) 评论(1) 推荐(0) 编辑
摘要: 文件名称也要转为 bytes,使用对应编码 encode 或者 from email.header import Header att2["Content-Disposition"] = 'attachment; filename="%s"'% \ str(Header(filename,'utf- 阅读全文
posted @ 2018-01-28 01:05 willowj 阅读(693) 评论(0) 推荐(0) 编辑
摘要: python对象 属性访问优先级:object.name 1. 2. 类 中的 数据描述符 3. 自身属性字典 4. 类属性字典 / 非数据描述符 5. 描述符:定义了 的 类 没有定义,返回描述符(普通类)实例 数据(覆盖型)描述符: 定义了 或者 中一个以上 类属性name如果是数据描述符,会截 阅读全文
posted @ 2018-01-15 14:29 willowj 阅读(463) 评论(0) 推荐(0) 编辑
摘要: python自建 属性访问 (内部一致) 的 字典 date type 继承dict,重写 、`__settattr__` 就行了: ~~~python class adict(dict): def __getattr__(self, attr): return self[attr] def __s 阅读全文
posted @ 2018-01-04 01:17 willowj 阅读(300) 评论(0) 推荐(0) 编辑
摘要: sublime plugins 开发 ;自定义新建文本名称、头部信息 "github" 自定义新建文本名称、头部信息 ~~~python class New_file2(sublime_plugin.TextCommand): """docstring for new_file""" def run 阅读全文
posted @ 2017-12-30 10:36 willowj 阅读(237) 评论(0) 推荐(0) 编辑