摘要: 资料来源于网络,仅供参考学习。 1、A Java program ends when all its threads finish (more specifically, when all its non-daemon threads finish). If the initial thread ( 阅读全文
posted @ 2017-12-29 12:09 赫尔修斯 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 方法: Windows key + r -> Run dialog cmd -> console cd apache-tomcat-[version]/bin service.bat install/remove [service_name] [/user username] service ins 阅读全文
posted @ 2017-12-29 12:07 赫尔修斯 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 图片来源于网络,仅供参考学习。 阅读全文
posted @ 2017-12-29 11:40 赫尔修斯 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Stack Overflow 上的一个问题:Java: What is the difference between <init> and <clinit>? Stack Overflow 上的一个问题:Java: What is the difference between <init> and 阅读全文
posted @ 2017-12-29 11:28 赫尔修斯 阅读(247) 评论(0) 推荐(0) 编辑
摘要: readAsDataURL(file)会把文件内容转换为data类型的URL: data:text/plain;base64,b3JkZXItaWQJb3JkZXItaXRlbS1p... 这种data类型的URL可以在浏览器地址栏中直接访问。 readAsText(file, [encoding] 阅读全文
posted @ 2017-12-29 11:22 赫尔修斯 阅读(1992) 评论(0) 推荐(0) 编辑
摘要: char(n) 定长 索引效率高 程序里面使用trim去除多余的空白 n 必须是一个介于 1 和 8,000 之间的数值,存储大小为 n 个字节 varchar(n) 变长 效率没char高 灵活 n 必须是一个介于 1 和 8,000 之间的数值。存储大小为输入数据的字节的实际长度,而不是 n 个 阅读全文
posted @ 2017-12-29 10:42 赫尔修斯 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-29 10:38 赫尔修斯 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 以下是在 JS 中事件绑定的三种方式。 1. HTML onclick attribute <button type="button" id="upload" onclick="upload_file();"> 原文: http://www.w3school.com.cn/jsref/jsref_e 阅读全文
posted @ 2017-12-29 10:26 赫尔修斯 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-29 10:19 赫尔修斯 阅读(349) 评论(0) 推荐(0) 编辑
摘要: For Package Control installation, see the Installation Guide. To install Emmet(ex Zen Coding), do the following: 1. Press Ctrl+Shift+P to Open Command 阅读全文
posted @ 2017-12-29 09:57 赫尔修斯 阅读(256) 评论(0) 推荐(0) 编辑
摘要: Copy to your User keymap { "keys": ["shift+f2"], "command": "rename_file", "args": { "paths": ["$file"] } } Create directory/file in your Packages fol 阅读全文
posted @ 2017-12-29 09:57 赫尔修斯 阅读(140) 评论(0) 推荐(0) 编辑