首页 > 其他
NSSearchPathForDirectoriesInDomains
fileManager的基本应用:查看列表NSArray *NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory directory,NSSearchPathDomainMask domainMask,BOOL expandTilde);...
分类:其他   时间:2015-01-13 14:17:33    收藏:0  评论:0  赞:0  阅读:244
Single Number
https://oj.leetcode.com/problems/single-number/Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your al...
分类:其他   时间:2015-01-13 14:16:43    收藏:0  评论:0  赞:0  阅读:113
Git
注册,下载git 软件。然后,浏览你的主页面。看看上面的按钮都是做什么的然后在你的 主页面上创建个 仓库 (create repository).创建好后,新窗口里会有一个 Clone 地址 xxxx, 在本地找一个文件夹,在里面用命令行输入’git clone xxxx‘, 你的仓库就能在本地同步...
分类:其他   时间:2015-01-13 14:16:33    收藏:0  评论:0  赞:0  阅读:228
Excel Sheet Column Number
https://oj.leetcode.com/problems/excel-sheet-column-number/Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet...
分类:其他   时间:2015-01-13 14:16:03    收藏:0  评论:0  赞:0  阅读:263
Protocol协议及委托代理(Delegate)传值
前言:因为Object-C是不支持多继承的,所以很多时候都是用Protocol(协议)来代替。Protocol(协议)只能定义公用的一套接口,但不能提供具体的实现方法。也就是说,它只告诉你要做什么,但具体怎么做,它不关心。当一个类要使用某一个Protocol(协议)时,都必须要遵守协议。比如有些必要...
分类:其他   时间:2015-01-13 14:15:43    收藏:0  评论:0  赞:0  阅读:131
SVD神秘值分解
SVD分解SVD分解是LSA的数学基础,本文是我的LSA学习笔记的一部分,之所以单独拿出来,是由于SVD能够说是LSA的基础,要理解LSA必须了解SVD,因此将LSA笔记的SVD一节单独作为一篇文章。本节讨论SVD分解相关数学问题,一个分为3个部分,第一部分讨论线性代数中的一些基础知识,第二部分讨论...
分类:其他   时间:2015-01-13 14:15:34    收藏:0  评论:0  赞:0  阅读:239
Same Tree
https://oj.leetcode.com/problems/same-tree/Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered ...
分类:其他   时间:2015-01-13 14:13:53    收藏:0  评论:0  赞:0  阅读:237
Maximum Depth of Binary Tree
https://oj.leetcode.com/problems/maximum-depth-of-binary-tree/Given a binary tree, find its maximum depth.The maximum depth is the number of nodes alo...
分类:其他   时间:2015-01-13 14:13:43    收藏:0  评论:0  赞:0  阅读:248
Flex:自定义滚动条样式/隐藏上下箭头
Flex组件自定义滚动条的实现.scrollBar{ downArrowUpSkin:Embed(source="img/mainLeftScrollBar/bar_bottom.png"); downArrowOverSkin:Embed(source="img/mainLeftScrollBar...
分类:其他   时间:2015-01-13 14:13:33    收藏:0  评论:0  赞:0  阅读:375
centos配置ruby开发环境(转 )
转自http://my.oschina.net/u/1449160/blog/2607641.安装ruby1.1yum安装,版本旧#yuminstallrubyruby-develruby-riruby-rdocruby-irbruby-shadow1.2删除#yumremoverubyruby-d...
分类:其他   时间:2015-01-13 14:13:23    收藏:0  评论:0  赞:0  阅读:331
去掉Mybatis Generator生成的一堆 example
mybatis generator自动生成的代码里老是有一堆example,虽然说他封装的东西比较多,但是大部分时候并不会用到。如果需要改的时候,在接口和mapper里修改便是了。配置的方法如下:
分类:其他   时间:2015-01-13 14:13:13    收藏:0  评论:0  赞:0  阅读:267
Git 在小团队中的管理流程(转)
目标读者:了解 Git 的基本概念,能够使用 Git 进行基本的本地和远程操作。有关 Git 的基础知识可以参见知乎回答-怎样使用 GitHub?,天猪(刘勇)给出了一些很好的学习资料。本文介绍了小团队中 Git 管理的基本使用流程。小团队的代码管理可以采用这样一种方式:项目存在一个中心远程仓库,作...
分类:其他   时间:2015-01-13 14:13:03    收藏:0  评论:0  赞:0  阅读:284
位制转换题2
输出以下代码结果:#include int main() { printf("%f\n", 5); printf("%d\n", 5.01); return 0;}结果:0.0000001889785610析:1)5是int型,%f 要接收的参数是 double型,结果5 由4个字...
分类:其他   时间:2015-01-13 14:12:53    收藏:0  评论:0  赞:0  阅读:257
Goals ? Ideals ?
Why is it important to set goals ? Because goal can help you do , be , and experience anything you want in life . instead of just letting life happe.....
分类:其他   时间:2015-01-13 14:11:14    收藏:0  评论:0  赞:0  阅读:327
Best Time to Buy and Sell Stock II
https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/Say you have an array for which theithelement is the price of a given stock on day...
分类:其他   时间:2015-01-13 14:11:03    收藏:0  评论:0  赞:0  阅读:265
Debug目录下没有.exe文件
记一下小笔记:VC6.0设置.exe文件的输出路径:Project->Settings->LinkCategory选择"General"在Output file name中输入.exe文件的输出路径即可了。我们还能够在Project->Settings->LinkCategory中选择“Custom...
分类:其他   时间:2015-01-13 14:10:34    收藏:0  评论:0  赞:0  阅读:252
OO设计模式_抽象工厂模式
Motivation在软件系统中,经常面临着“一系列相互依赖的对象”的创建工作;同时,由于需求变化,往往存在更多系列对象的创建工作。如何对应这种变化?如果绕过常规的对象创建方法(New),提供一种“封装机制”来避免客户程序和这种“多系列具体对象创建工作”的紧耦合。Intent提供一个接口,让该接口负...
分类:其他   时间:2015-01-13 14:10:04    收藏:0  评论:0  赞:0  阅读:307
正则严格验证身份证信息
$a = '130424770827005';$reg18 = '/[1-9]\d{5}(((1[9|8])\d{2})|(20[0-1]\d))((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)/';$reg15 = '/[1-9]\d{7}((0...
分类:其他   时间:2015-01-13 14:09:54    收藏:0  评论:0  赞:0  阅读:267
加密器
///随机数byte[] randomByte = new byte[16];//创建字节数组 //实例化加密随机数生成器 RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); ...
分类:其他   时间:2015-01-13 14:09:23    收藏:0  评论:0  赞:0  阅读:267
20:django中的安全问题
本节主要是讲解django中的安全特性,讲述django是如何应对网站一般面临的安全性问题跨站点脚本(XXS)攻击跨站点脚本攻击是指一个用户把客户端脚本注入到其他用户的浏览器中。通常是通过在数据库中存储恶意的脚本,当这些脚本被检索然后展示给其他用户时实现的攻击的,或者诱使 用户点击攻击者的那些会被用...
分类:其他   时间:2015-01-13 14:09:13    收藏:0  评论:0  赞:0  阅读:303
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!