首页 > 2015年12月06日 > 全部分享
1073. Scientific Notation (20)
Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+-...
分类:其他   时间:2015-12-06 12:46:35    收藏:0  评论:0  赞:0  阅读:157
DbUtils
1. 创建bean 必须要有id/_id属性(作为表的主键)2. 使用DbUtils 并建数据库1 //2 //public static DbUtils create(Context context, String dbName)3 //4 dbUtils = DbUtils.create(Mai...
分类:数据库技术   时间:2015-12-06 12:46:25    收藏:0  评论:0  赞:0  阅读:138
LAMP 1.7Apache用户认证
假如我们要在www.aaa.com/的 abc/目录下放一些文件,只想让自己访问,做一个用户认证。输入正确的用户和密码才能访问cd /data/wwwmkdir abccd abccp /etc/passwd ./12.txt在浏览器里输入,就可以查看到这个文件www.aaa.com/abc/12....
分类:Web开发   时间:2015-12-06 12:46:15    收藏:0  评论:0  赞:0  阅读:151
老陈 ASP.NET封装
第一个页面using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.T...
分类:Web开发   时间:2015-12-06 12:46:05    收藏:0  评论:0  赞:0  阅读:121
1054. The Dominant Color (20)
挺简单的,多占内存,少用循环Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an ima...
分类:其他   时间:2015-12-06 12:45:55    收藏:0  评论:0  赞:0  阅读:406
1066. Root of AVL Tree (25)
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAn AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two c...
分类:其他   时间:2015-12-06 12:45:45    收藏:0  评论:0  赞:0  阅读:201
javascript关于检测浏览器和操作系统的问题
1.方法学:最好是检测浏览器的最小版本,这样才不会当版本升级之后不断添加新的内容进去。理想的方式:if(isMinIE5){//code}直接检查准确的版本的缺点:if(isMinIE5||isIE6){ //code}但是当版本升级之后加入升级到版本10:if(isMinIE5||isIE6||....
分类:编程语言   时间:2015-12-06 12:45:35    收藏:0  评论:0  赞:0  阅读:226
Mysql中的索引问题
索引的用途提高查询的效率,相当于在字典中建立的字母表或者偏旁部首表,这样查询当然比一行一行查询要快的多 每个存储引擎可以建立索引的长度是不一样的,但每个表至少支持16个索引,总的索引长度至少为256个字节。大多数存储引擎有更高的限制。创建删除索引create index index_name [US...
分类:数据库技术   时间:2015-12-06 12:45:25    收藏:0  评论:0  赞:0  阅读:307
1078. Hashing (25)
挺坑的,现百度的二次探测法。The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the i...
分类:其他   时间:2015-12-06 12:45:15    收藏:0  评论:0  赞:0  阅读:130
1084. Broken Keyboard (20)
On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc...
分类:其他   时间:2015-12-06 12:45:05    收藏:0  评论:0  赞:0  阅读:170
1076. Forwards on Weibo (30)
输入需要稍作变换,变为一个每个人和他的关注者的map 而不是他和他的关注人、然后bfs搜索。注意搜索层数的要求。Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, a...
分类:其他   时间:2015-12-06 12:44:55    收藏:0  评论:0  赞:0  阅读:127
1062. Talent and Virtue (25)
About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor...
分类:其他   时间:2015-12-06 12:44:45    收藏:0  评论:0  赞:0  阅读:101
Android—实现自定义相机倒计时拍照
这篇博客为大家介绍Android自定义相机,并且实现倒计时拍照功能首先自定义拍照会用到SurfaceView控件显示照片的预览区域,以下是布局文件:两个TextView是用来显示提示信息和倒计时的秒数的 接下来是mainActivity中的具体实...
分类:移动平台   时间:2015-12-06 12:44:35    收藏:0  评论:0  赞:0  阅读:254
1064. Complete Binary Search Tree (30)
根据中序遍历建立完全二叉树。时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Binary Search Tree (BST) is recursively defined as a binary tree which has t...
分类:其他   时间:2015-12-06 12:44:25    收藏:0  评论:0  赞:0  阅读:125
一种javascript链式多重继承的方式(__proto__原型链)
var a=function(){this.foo='bar';}a.prototype={b:1};var aa=function(){}aa.prototype={c:2,__proto__:a.prototype};var aaa=function(){}aaa.prototype={c:3,...
分类:编程语言   时间:2015-12-06 12:44:15    收藏:0  评论:0  赞:0  阅读:204
ios开发里面的bundle是什么鬼
在ios开发里面会用到bundle,这bundle是什么东西呢?在程序中我们可以通过代码来打印当前程序的目录路径: NSLog(@"%@",NSHomeDirectory());如果是模拟器打印出来的路径类似下面的路径:/Users/userName/Library/Developer/CoreSi...
分类:移动平台   时间:2015-12-06 12:43:55    收藏:0  评论:0  赞:0  阅读:410
建站经验分享:做网站三年以来得到的4个深刻启示
本文确实是站长的经验之谈
分类:系统服务   时间:2015-12-06 12:42:15    收藏:0  评论:0  赞:0  阅读:134
科学知识:二进制、八进制、十进制、十六进制转换
分类:Web开发   时间:2015-12-06 12:42:05    收藏:0  评论:0  赞:0  阅读:180
在ps里怎么做路径文字?
,文字的方向不仅仅有横排直排,还可以用路径来自定义方向。那么在ps里怎么做路径文字?方法很简单的,下面小编就为大家详细介绍一下,不会的朋友可以跟着教程一起来学习吧
分类:设计   时间:2015-12-06 12:41:55    收藏:0  评论:0  赞:0  阅读:141
div的滚动条如何实现
想让div拥有滚动条可以直接为div指定overflow属性但必须指定div的高度,下面有个示例,大家可以参考下
分类:Web开发   时间:2015-12-06 12:41:45    收藏:0  评论:0  赞:0  阅读:177
1793条   上一页 1 ... 53 54 55 56 57 ... 90 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!