以下是我习惯的vim配置,做个记录~_~" 文件编码set fileencoding=utf-8set encoding=utf-8set termencoding=utf-8" 开启语法高亮syntax enable" 防止在文件末尾追加换行符set noendoflineset binary"....
分类:
其他好文 时间:
2014-10-09 14:00:03
阅读次数:
161
地化GO的时候一直遇到一个错误就是check the manual that corresponds to your MySQL server version for the right syntax,反复检查过多次语句都没发现错误,后来网上搜索解决方法见到:http://hi.baidu.com/...
分类:
数据库 时间:
2014-10-06 17:30:00
阅读次数:
213
#lang scheme
( define li '( 1 2 3 4 ) )
( define-syntax set-car!
( syntax-rules ()
( ( set-car! li elem )
( set! li ( cons elem ( cdr li ) ) ) ) ) )
( set-car! li '( a b ) )
#...
分类:
其他好文 时间:
2014-10-05 17:27:48
阅读次数:
189
SHELL syntax error:unexpected end of file 提示错误if [ -n "$1" ]then echo "111"else echo "222"fiexit 0 执行sh my.sh par 提示syntax error:unexpected end of ...
分类:
其他好文 时间:
2014-10-04 13:40:56
阅读次数:
163
worker_cpu_affinity
Syntax:worker_cpu_affinitycpumask[cpumask...]
Default:none
Linuxonly.
WiththisoptionyoucanbindtheworkerprocesstoaCPU,itcallssched_setaffinity().Forexample
worker_processes2;
worker_cpu_affinity0110;
worker_processes4;
worker_cpu_affi..
分类:
其他好文 时间:
2014-10-02 09:32:13
阅读次数:
155
Quick Tip: How to Add Syntax Highlighting to Any Projectpublic String showAllArticleForPage() throws Exception{HttpServletRequest request = ServletAct...
分类:
其他好文 时间:
2014-09-30 14:33:29
阅读次数:
185
一、SASS官方文档(函数):http://sass-lang.com/documentation/Sass/Script/Functions.htmlsass语法:http://www.w3cplus.com/sassguide/syntax.htmlsass函数:http://www.w3cpl...
分类:
Web程序 时间:
2014-09-29 14:12:41
阅读次数:
299
Linux中syntax error near unexpected token... 错误提示有一般有两种原因:1)window和Linux下换行符不一致导致window下的换行和Linux下的换行不同,如果将window下编写的代码文件上传到Linux下,容易出现该错误提示。可用 vi -b 文...
分类:
系统相关 时间:
2014-09-27 11:22:19
阅读次数:
511
#lang?racket
(define-syntax?for
??(syntax-rules?(in?:?as)
????((_?(i?:?list)?body?...)
?????(map?(lambda?(i)
????????????body?...)
??????????list))
?...
分类:
其他好文 时间:
2014-09-25 16:59:09
阅读次数:
219
在日常运用中,经常遇到点击按钮/菜单的时候,选中了文本,为了避免这种情况,可以使用纯css来解决这个问题(IE10+),对于旧版本的就只能用js:onselectstart = 'return false;'这种方式。以下介绍一下-prefix-user-select:Formal syntax.....
分类:
Web程序 时间:
2014-09-25 13:08:08
阅读次数:
245