摘要:
字符转ascii码:用charCodeAt();ascii码砖字符:用fromCharCode();看一个小例子<script>str="A";code=str.charCodeAt();str2=String.fromCharCode(code);str3=String.fromCharCode(0x60+26);document.write(code+'<br/>');document.write(str2+'<br/>');document.write(str3);</script>输出: 阅读全文
随笔档案-2013年03月
Sublime Text 使用简介
2013-03-02 23:12 by @影子@, 448 阅读, 收藏,
摘要:
本文主要参考 Sublime Text 的非官方文档:http://docs.sublimetext.info/en/latest/index.htmlSublime Text是个不错的跨平台编辑器,本文简单介绍一下其用法,这里我使用的是 Sublime Text 2 且在 Windows 下使用,因此可能和其他平台有细微的出入。关于 Windows 版本 Sublime Text 的说明Windows 的 Sublime 有两种版本:普通版(Normal)Sublime Text 相关的文件被放在了两个目录中,一个用于放置程序及其相关文件,一个用于放置数据便携版(Portable)所有的 S 阅读全文