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
// 创建保存照片文件夹
private void CreateFileJPG() {
File file = new File("/sdcard/image");
if (!file.exists()) {
try {
file.mkdirs();
} catch (Exception e) {
// TODO: handle exceptio...
分类:
移动开发 时间:
2014-05-15 06:39:58
阅读次数:
434
#include
#include
#include
#include
using namespace std;
#ifdef ONLINE_JUDGE
#define FINPUT(file) 0
#define FOUTPUT(file) 0
#else ...
分类:
其他好文 时间:
2014-05-15 06:27:05
阅读次数:
230
VS2012 error : Required file tracker.exe is missing 解决办...
分类:
其他好文 时间:
2014-05-15 05:44:18
阅读次数:
348
在项目里需要运行本地文件或者应用,JDK6后就新增Desktop类,可以直接使用。这样就可以在程序里可以打开任何应用。比如:打开的是pdf文件,本地默认打开是福昕,程序运行的时候就会使用福昕打开pdf文件。
package test;
import java.awt.Desktop;
import java.io.File;
public class DesktopTest {
public...
分类:
编程语言 时间:
2014-05-15 04:40:03
阅读次数:
267
一、设置MyEclipse的字符编码,步骤如下:
1、进入Window--Preferences--General--Workspace,Text file encoding 选项中默认的Default(GBK)选项更改为Other,并将值设为utf-8;
2、进入Window--Preferences--MyEclipse--Files and Editors,将这个选项下面的:ASP ...
分类:
数据库 时间:
2014-05-15 04:18:55
阅读次数:
299
window->preference->General->workspace->Text file encoding->utf-8->Apply->ok
project->clean...
分类:
其他好文 时间:
2014-05-15 03:48:15
阅读次数:
320
(null): File is universal (3 slices) but does not contain a(n) armv7s slice: /Users/robin/Documents/Project/ZBarApp/ZBarApp/ZBarSDK/libzbar.a file '/Users/robin/Documents/Project/ZBarApp/ZBarApp/ZBarS...
分类:
其他好文 时间:
2014-05-15 03:13:59
阅读次数:
397
mysql5.6.14配置my.cnf多实例,mysql_install_db初始化不读取my.cnf配置文件
[ERROR] InnoDB: auto-extending data file ./ibdata1 is of a differentsize 768 pages (rounded down to MB) than specified in the .cnf file: initial65536 pages, max 0 (relevant if non-zero) pages!
2014-0...
分类:
数据库 时间:
2014-05-14 14:20:48
阅读次数:
412
系统:mac os x 10.9eclipse在eclipse 中建立一个project,
命名为Cin_txt,Cin_txt的内容testwanghelloworld以下是输入的代码import java.io.File;import
java.io.FileInputStream;import...
分类:
编程语言 时间:
2014-05-14 11:07:42
阅读次数:
341