码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
codeforces 710C Magic Odd Square(构造或者n阶幻方)
Find an n?×?n matrix with different numbers from 1 to n2, so the sum in each row, column and both main diagonals are odd. Find an n?×?n matrix with di ...
分类:其他好文   时间:2016-08-26 13:45:02    阅读次数:165
jquery获得option的值和对option进行操作
Query获取Select元素,并选择的Text和Value: Query获取Select元素,并设置的 Text和Value: jQuery添加/删除Select元素的Option项: 获取Select : 获取select 选中的 text : $("#ddlRegType").find("op ...
分类:Web程序   时间:2016-08-26 12:12:45    阅读次数:138
whereis 命令
whereis命令只能用于程序名的搜索,而且只搜索二进制文件(参数-b)、man说明文件(参数-m)和源代码文件(参数-s)。如果省略参数,则返回所有信息。 和find相比,whereis查找的速度非常快,这是因为linux系统会将 系统内的所有文件都记录在一个数据库文件中,当使用whereis和下 ...
分类:其他好文   时间:2016-08-26 12:10:55    阅读次数:226
Python语言学习 (六)1.2
常见操作: db.collection.insert(),例如:db.users.insert( {'name':'lig','age':20}) db.collection.find() db.collection.remove(),例如:db.users.remove({'name':'zhan ...
分类:编程语言   时间:2016-08-26 10:28:38    阅读次数:174
实现全选按钮的js代码
//全选,取消全选 $(document).on("click","#selection",function(){ if($(this).hasClass("selected")==false){ $(this).closest(".tablesWrap").find("input[type=che ...
分类:Web程序   时间:2016-08-26 01:09:50    阅读次数:165
LeetCode OJ 4. Median of Two Sorted Arrays
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:其他好文   时间:2016-08-25 23:58:26    阅读次数:342
使用Eclipse创建Maven项目
首先要安装maven for eclipse的插件m2eclipse。 地址:http://www.eclipse.org/m2e/download/ 打开Eclipse,在Eclipse Marketplace中找m2eclipse 在Find输入框输入m2eclipse,然后回车,如图: 我们要 ...
分类:系统相关   时间:2016-08-25 23:25:51    阅读次数:275
jQuery Select的操作集合
1. $("#select_id").change(function(){... }); //为select添加事件,当选择其中一项时触发2. $("#select_id").find("option:selected").text(); //获取select选中的Text3. $("#select ...
分类:Web程序   时间:2016-08-25 20:19:17    阅读次数:201
linux php开启openssl
1.测试openssl是否安装查看版本 openssl version查看路径 which openssl2.因为要扩展php扩展模块,所以要通过phpize可以建立php的外挂模块find / -name phpize 查找路径在哪里3. /var/www/php7/bin/phpize./con ...
分类:Web程序   时间:2016-08-25 14:31:24    阅读次数:220
84. Largest Rectangle in Histogram *HARD* -- 求柱状图中的最大矩形面积
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:其他好文   时间:2016-08-24 19:19:06    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!