Sometime, we need to open a file or buffer which name began with current word in emacs.
Here I give the solution as follows.
(provide 'quick-file-jump)
(defun ab/quick-buffer-jump ()
  "Quickly jum...
                            
                            
                                分类:
其他好文   时间:
2014-05-15 15:02:20   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                OCP,Open-Closed Principle,中文翻译为“开闭原则”。 当我第一次看到OCP原则时,我的感觉就是这原则也太抽象了吧,什么开,什么闭呢? 然后我去寻找更加详细的答案,最经典也是最常见的解释就是维基百科了:http://en.wikipedia.org/wiki/Open/closed_principle "software entities (classes, modules,...
                            
                            
                                分类:
其他好文   时间:
2014-05-15 14:48:35   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                作者:lvyilong316
绿色代表进程(进程的性质)橙色代表文件(文件的性质)。当进程试图打开文件时,内核会进行如下权限测试:
0. 若进程的有效用户ID是0(超级用户),则允许访问。
1. 若进程的有效用户ID等于文件的所有者ID,那么进行文件所有者访问权限的测试(与open的参数对比),对应图中的1。
2. 若进程的有效组ID或进程的附加组ID之一等于文件的...
                            
                            
                                分类:
系统相关   时间:
2014-05-15 14:43:28   
                                阅读次数:
514
                             
                    
                        
                            
                            
                                1. 呼叫虚拟设备/向虚拟设备发送短信 1. 在eclipse中点击: 
Window--->Open Perspective--->DDMS,选择Emulator Control选项; 2. 在Telephony 
Actions选项的Incoming number输入要模拟的呼入号码,选择Voi.....
                            
                            
                                分类:
移动开发   时间:
2014-05-15 10:58:45   
                                阅读次数:
327
                             
                    
                        
                            
                            
                                1 sourceinsight screen font 的默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier
2   document
 options->auto indent 去掉indent Open Brace和Indent Close Brace的效果: 继上一段,在相对缩进行里, 如果输入"{"或"}", 则自动和上一行...
                            
                            
                                分类:
其他好文   时间:
2014-05-15 04:33:36   
                                阅读次数:
330
                             
                    
                        
                            
                            
                                Launch Eclipse and click Help > Install New Software....
Click Add.... In the Add Repository dialog, set the Name to "Force.com IDE" and the
Location to "http://media.developerforce.com/...
                            
                            
                                分类:
系统相关   时间:
2014-05-15 02:51:11   
                                阅读次数:
480
                             
                    
                        
                            
                            
                                语法:CHARINDEX (expressionToFind ,expressionToSearch 
[ ,start_location ] ) 参数: 1)expressionToFind 包含要查找的序列的字符表达式。expressionToFind最多包含 
8000 个字符。 2)...
                            
                            
                                分类:
数据库   时间:
2014-05-15 02:24:32   
                                阅读次数:
377
                             
                    
                        
                            
                            
                                描述把文本读出的API,在手机上测试知识支持英文,中文库应该没有所以不支持
 /*
 * Copyright (C) 2009 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file exce...
                            
                            
                                分类:
移动开发   时间:
2014-05-14 21:34:49   
                                阅读次数:
435
                             
                    
                        
                            
                            
                                Windows中Shift+右键"在此处打开命令窗口"默认是采用cmd的方式打开.把cmd替换为PowerShell的方式打开.1.Ctrl+R输入regedit进入注册表2.找到[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]3.修改数据为powershell.exe-NoExitSet-Location"%V"
                            
                            
                                分类:
其他好文   时间:
2014-05-14 18:47:32   
                                阅读次数:
398
                             
                    
                        
                            
                            
                                1 首先是try,catch getMessage();}function 
file_open($path){ if(!file_exists($path)) //如果文件无法找到,抛出异常对象 { throw new 
Exception("文件无法找到", 1); } if(!f...
                            
                            
                                分类:
Web程序   时间:
2014-05-14 13:19:14   
                                阅读次数:
427