码迷,mamicode.com
首页 >  
搜索关键字:find 用法    ( 65739个结果
java学习笔记
第四章java语法类1.类的构造函数2.同名的方法3.this4.类的继承(extends)(super的用法)5抽象类4.2.6 String类1.构造函数2.求字符串长度(length())3.字符串转换(tostring())4.字符截取(charAt();getChar();getByte(...
分类:编程语言   时间:2014-04-30 03:32:26    阅读次数:689
Slenium 2 Webdriver Highlight Element
def highlight_element(self, locator): """docstring for highlight_element""" self._info("start") element = self._element_find(...
分类:Web程序   时间:2014-04-30 03:28:21    阅读次数:610
LeetCode1:Two Sum
题目: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the t...
分类:其他好文   时间:2014-04-30 03:20:07    阅读次数:502
CSS语法与用法小字典
前言:这是上学时期对CSS学习的整理,一直没见过光,由于不是专门做前端开发的,难免写不到重点,但对于看懂CSS,和掌握一些基本的用法,熟悉里面的门路还是大有裨益的。由于是从word中贴过来的,排版和格式都稍差些。方便日后自己查阅,方便自己同时也方便他人,多好的一件事啊,呵呵!CSS目录一、 CSS简...
分类:Web程序   时间:2014-04-30 02:31:53    阅读次数:760
ntpd (linux时间同步)
开发板使用ntpdate 进行网络时间同步 用法 ntpdate ip 出现如下错误 ntpdate -u ipError resolving ai_socktype: Servname not supported for ai_socktype (-8) 1 Jan 01:44:12 ntpda....
分类:系统相关   时间:2014-04-29 23:36:24    阅读次数:1440
批处理 取得当前路径 %CD%
在DOS的批处理中,有时候需要知道当前的路径。在DOS中,有两个环境变量可以跟当前路径有关,一个是%cd%, 一个是%~dp0。 这两个变量的用法和代表的内容一般是不同的。 1. %cd% 可以用在批处理文件中,也可以用在命令行中;展开后,是驱动器盘符:+当前目录,如: 在 c:/dir 下,Bat...
分类:其他好文   时间:2014-04-29 22:49:08    阅读次数:606
[LeetCode] 4Sum
Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ...
分类:其他好文   时间:2014-04-29 22:40:00    阅读次数:438
Dictionary<Key,Value>的用法
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 计算字符{ class Program { ...
分类:其他好文   时间:2014-04-29 20:45:02    阅读次数:446
《Cracking the Coding Interview》——第17章:普通题——题目8
2014-04-28 23:35题目:最大子数组和问题。解法:O(n)解法。代码: 1 // 17.8 Find the consecutive subarray with maximum sum in an array. 2 // O(n) online algorithm. 3 #include...
分类:其他好文   时间:2014-04-29 16:35:28    阅读次数:429
《Cracking the Coding Interview》——第17章:普通题——题目9
2014-04-28 23:52题目:设计算法,找出一本书中某个单词的出现频率。解法:数就行了。代码: 1 // 17.9 Given a book, find out the occurrences of any given words in it. 2 // Answer: 3 // 1....
分类:其他好文   时间:2014-04-29 16:00:32    阅读次数:388
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!