摘要: 1. 借鉴http://blog.chinaunix.net/uid-7374279-id-4255927.html 字段名为blob,有四种类型 TinyBlob(255B)、Blob(65k)、MediumBlob(16M)、LongBlob(4G) 例子: create table test 阅读全文
posted @ 2016-10-29 20:35 FANNY1995 阅读(2736) 评论(0) 推荐(0)
摘要: 慢慢尝试使用vim,不断学习使用新的快捷键,将常用快捷键但经常容易忘的写下来, 1. 复制黏贴 命令行模式下按住v选中,y表示复制,d表示剪切,p为复制。 阅读全文
posted @ 2016-10-29 19:38 FANNY1995 阅读(98) 评论(0) 推荐(0)
摘要: jsp语法 1. declaration 由于访问serlvet只有一个,<%! int i = 0; %> 是servlet的变量,刷新时会不断增加 <% int i = 0; %> 局部变量,每次访问都会加1 <%! int i = 0; public void func() {} %> 2. 阅读全文
posted @ 2016-10-29 14:13 FANNY1995 阅读(110) 评论(0) 推荐(0)
摘要: 在mac机器上,用Safari打开html文件 1. 如果html里有中文,则在<head><meta http-equiv="Content-Type" content = "text/html; charset = UTF-8"></head> 阅读全文
posted @ 2016-10-29 13:30 FANNY1995 阅读(91) 评论(0) 推荐(0)