首页 > 2015年09月03日 > 全部分享
获取浏览器视口高度device-width
获取浏览器视口高度device-width
分类:其他   时间:2015-09-03 08:08:30    收藏:0  评论:0  赞:0  阅读:307
xib 不响应按钮单击事件问题
在IPhone 6上,单击下个月按钮不响应的解决方法, self.width = SCREEN_WIDTH;//这个必须,否则IPhone6上,下个月按钮不响应。 self.titleLabel.width = SCREEN_WIDTH - self.backButton.width - sel.....
分类:其他   时间:2015-09-03 08:08:20    收藏:0  评论:0  赞:0  阅读:300
StringBuilder和String的区别
转:http://blog.163.com/zhaoyanping_1125/blog/static/201329153201204111726152/自己总结,简而言之,stringbuilder和string的区别在于:stringbuilder是变长的。string是定长的。以下详细介绍Str...
分类:其他   时间:2015-09-03 08:08:10    收藏:0  评论:0  赞:0  阅读:252
octet-stream
firefox突然变成了用gedit打开pdf文件,Where the link to http://download.jw.org/files/media_m...E_20150201.pdf caused the problem of the file being offered to be o...
分类:其他   时间:2015-09-03 08:08:07    收藏:0  评论:0  赞:0  阅读:320
grub(1,2)文件修复
======================grub2文件修复====================== 一、grub2文件修复 1、内核 cat/etc/debian_version 7.8 2、版本 uname-r 3.2.0-4-amd64 3、先模拟破坏mv/boot/grub/grub.cfg/boot/grub/grub.cfg.bak 这样的话系统会找不到配置文件直接进入grub命令行4、先查看..
分类:其他   时间:2015-09-03 07:05:59    收藏:0  评论:0  赞:0  阅读:490
mongodb 数据库用户管理
测试环境centos6.7(x64)mongodb-linux-x86_64-2.7.8.tgz1、创建系统级别管理用户useadmindb.createUser({user:"root",pwd:"123456",roles:[{role:"userAdminAnyDatabase",db:"admin"}]})2、创建正对具体数据库管理用户useabcdb.createUser({user:"test1",pwd:"123456",roles:[{..
分类:数据库技术   时间:2015-09-03 07:05:40    收藏:0  评论:0  赞:0  阅读:246
MySQL(八)
一、MySQL锁相对其他数据库而言,MySQL的锁机制比较简单,其最显著的特点是不同的存储引擎支持不同的锁机制。比如,MyISAM和MEMORY存储引擎采用的是表级锁(table-levellocking);BDB存储引擎采用的是页面锁(page-levellocking),但也支持表级锁;InnoDB存储引擎既支持行级..
分类:数据库技术   时间:2015-09-03 07:05:09    收藏:0  评论:0  赞:0  阅读:377
MySQL(九)
一、MVCC1、简介Multi-VersionConcurrencyControl多版本并发控制,大多数的MySQL事务型存储引擎,如InnoDB,Falcon以及PBXT都不使用一种简单的行锁机制。事实上,他们都和另外一种用来增加并发性的被称为“多版本并发控制(MVCC)”的机制来一起使用。MVCC不只使用在MySQL中,O..
分类:数据库技术   时间:2015-09-03 07:04:49    收藏:0  评论:0  赞:0  阅读:382
MySQL(十)
一、MySQL用户管理1、用户帐号格式username@hostname,password2、用户帐号管理常用的命令CREATEUSER:创建用户DROPUESER:删除用户RENAMEUSER:更改用户名SETPASSWORD:设定用户密码3、命令说明创建用户命令:CREATEUSER语法:CREATEUSERusername@hostname[IDENTIFIEDBY[PASSWO..
分类:数据库技术   时间:2015-09-03 07:04:20    收藏:0  评论:0  赞:0  阅读:293
vim 的使用
编辑模式 输入模式 末行模式 1:字符间光标移动 h:向左移动一个字符 j:光标向下移动一个字符 k:光标向上移动一个字符 l:光标向右移动一个字符 如果想要行多次移劢话,例如向下移动30行,可以使用"30j"或"30↓"的组合按 键,亦即加上想要进行的次数(数字)后,按下即可 单词..
分类:系统服务   时间:2015-09-03 07:03:49    收藏:0  评论:0  赞:0  阅读:284
08-27作业
Linux文本处理三大工具:grep:文本过滤工具;sed:文本编辑器(行);awk:文本报告生成器;gerp使用格式:grep[OPTIONS]PATTERN[FILE...]选项:--color=auto:对匹配到的串做高亮显示;(CentOS7默认带有,CentOS6需要手动填写)-v:显示模式匹配不到行;-i:忽略字符大小写;-o:..
分类:其他   时间:2015-09-03 06:59:59    收藏:0  评论:0  赞:0  阅读:267
Recover Rotated Sorted Array
Given a rotated sorted array, recover it to sorted array in-place.Have you met this question in a real interview?YesWhich company asked you this quest...
分类:其他   时间:2015-09-03 06:58:39    收藏:0  评论:0  赞:0  阅读:258
*Binary Search
For a given sorted array (ascending order) and a target number, find the first index of this number in O(log n) time complexity.If the target number d...
分类:其他   时间:2015-09-03 06:58:19    收藏:0  评论:0  赞:0  阅读:231
Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他   时间:2015-09-03 06:58:09    收藏:0  评论:0  赞:0  阅读:257
python核心编程-第四章-习题
1.身份、类型、值。其中,身份是每个对象的标识,与内存地址密切相关,可用id()返回;类型决定了对象可以保存什么类型的值,用type()函数、isinstance()函数可以得到对象的类型;值就是对象表示的数据2.不可更改指对象创建以后值不可以更新。python中,列表、字典是可更改的,数字、字符串...
分类:编程语言   时间:2015-09-03 06:57:58    收藏:0  评论:0  赞:0  阅读:328
[LeetCode#71]Simplify Path
Problem:Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"Analysis:This pr...
分类:其他   时间:2015-09-03 06:57:49    收藏:0  评论:0  赞:0  阅读:243
Minimum Size Subarray Sum
Given an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If there isn't one, return 0 i...
分类:其他   时间:2015-09-03 06:57:29    收藏:0  评论:0  赞:0  阅读:281
[React] React Fundamentals: Integrating Components with D3 and AngularJS
Since React is only interested in the V (view) of MVC, it plays well with other toolkits and frameworks. This includesAngularJSandD3.A app with React ...
分类:Web开发   时间:2015-09-03 06:57:19    收藏:0  评论:0  赞:0  阅读:336
jquery的ajax同步和异步
之前用了好久jquery的ajax方法,决定把此函数详细记录下,方便参考,ajax可以设定为同步或者异步,async有两个量,默认是true:异步,false:同步。 函数如下 $.ajax({ type:"post", url:"http://xxx.xxx.xxx.xxx...
分类:Web开发   时间:2015-09-03 06:56:49    收藏:0  评论:0  赞:0  阅读:277
Clustered Shading架构实现步骤
最终决定越过Forward+,一步到位,直接调整至更先进的Clustered架构。步骤如下:里程碑1:以CPU方式实现Light Culling,旨在理念验证,并与D3D10兼容里程碑2:以GPU CS shader方式实现高度并行化的Light Culling,舍弃D3D10,仅支持D3D11及以...
分类:其他   时间:2015-09-03 06:56:39    收藏:0  评论:0  赞:0  阅读:701
863条   上一页 1 ... 34 35 36 37 38 ... 44 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!