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
代码创建:
1、appdelegate 把contoller放到跟controller下
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWi...
分类:
移动开发 时间:
2014-05-15 14:57:06
阅读次数:
456
作者:lvyilong316
绿色代表进程(进程的性质)橙色代表文件(文件的性质)。当进程试图打开文件时,内核会进行如下权限测试:
0. 若进程的有效用户ID是0(超级用户),则允许访问。
1. 若进程的有效用户ID等于文件的所有者ID,那么进行文件所有者访问权限的测试(与open的参数对比),对应图中的1。
2. 若进程的有效组ID或进程的附加组ID之一等于文件的...
分类:
系统相关 时间:
2014-05-15 14:43:28
阅读次数:
514
TabActivity的父类是ActivityGroup,而ActivityGroup的父类是Activity。因此从Ams的角度来看,ActivityGroup与普通的Activity没有什么区别,其生命周期包括标准的start,stop,resume,destroy等,而且系统中只允许同时允许一个ActivityGroup.但ActivityGroup内部有一个重要成员变量,其类型为LocalActivityManager,该类的最大特点在于它可以访问应用进程的主类,即ActivityThread类。A...
window.document.onkeydown = disableRefresh;
function disableRefresh(evt){
evt = (evt) ? evt : window.event
if (evt.keyCode) {
if(evt.keyCode == 116){
//do something
}
}
}
keycode 8...
分类:
Web程序 时间:
2014-05-15 06:08:18
阅读次数:
315
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
今天,一位微软员工在自己的官方 Facebook 账号上发布了一张图片,为大家揭开了微软诸多新产品的进展,包括 Windows 9、Office 2015、Window 8.1 Update 2、Modern 版 Office 2013 以及之前爆出的 Windows 365。
Windows 9、Server、移动版本
从图中可以看到,Windows 9 已经进入了开发阶段,只是具体...
一、设置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
描述把文本读出的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