码迷,mamicode.com
首页 >  
搜索关键字:window对象 时间计数器 url解析 location navigator open    ( 35018个结果
emacs quick open and jump file (or buffer) which name is current word
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
连载:面向对象葵花宝典:思想、技巧与实践(31) - OCP原则
OCP,Open-Closed Principle,中文翻译为“开闭原则”。 当我第一次看到OCP原则时,我的感觉就是这原则也太抽象了吧,什么开,什么闭呢? 然后我去寻找更加详细的答案,最经典也是最常见的解释就是维基百科了:http://en.wikipedia.org/wiki/Open/closed_principle "software entities (classes, modules,...
分类:其他好文   时间:2014-05-15 14:48:35    阅读次数:292
理清Linux中的各种用户ID关系
作者:lvyilong316 绿色代表进程(进程的性质)橙色代表文件(文件的性质)。当进程试图打开文件时,内核会进行如下权限测试: 0. 若进程的有效用户ID是0(超级用户),则允许访问。 1. 若进程的有效用户ID等于文件的所有者ID,那么进行文件所有者访问权限的测试(与open的参数对比),对应图中的1。 2. 若进程的有效组ID或进程的附加组ID之一等于文件的...
分类:系统相关   时间:2014-05-15 14:43:28    阅读次数:514
android模拟器使用
1. 呼叫虚拟设备/向虚拟设备发送短信 1. 在eclipse中点击: Window--->Open Perspective--->DDMS,选择Emulator Control选项; 2. 在Telephony Actions选项的Incoming number输入要模拟的呼入号码,选择Voi.....
分类:移动开发   时间:2014-05-15 10:58:45    阅读次数:327
source insight实用技巧
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
eclipse 搭建salesforce开发环境
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
【sql】CHARINDEX
语法:CHARINDEX (expressionToFind ,expressionToSearch [ ,start_location ] ) 参数: 1)expressionToFind 包含要查找的序列的字符表达式。expressionToFind最多包含 8000 个字符。 2)...
分类:数据库   时间:2014-05-15 02:24:32    阅读次数:377
0A01-APP-Text-to-Speech
描述把文本读出的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
<在此处打开命令窗口>替换为PowerShell打开模式
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
php 异常捕获
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!