码迷,mamicode.com
首页 > 2016年01月25日 > 全部分享
高度关注!国务院对A股发出强烈信号↓
高度关注!国务院对A股发出强烈信号↓http://dwz.cn/2qHBd1郎咸平:中国股市存在一大隐疾 使其成为全球市场的一个另类!http://dwz.cn/2qHBVy一不小心,马云又完成了四场颠覆!http://dwz.cn/2qHClb量化投资Matlab应用实战班,资深专家深入讲解Mat...
分类:其他好文   时间:2016-01-25 06:38:34    阅读次数:195
(You Can Hack It, Architecture and Design) => { Dependency Injection; }
(You Can Hack It, Architecture and Design) => { Dependency Injection; }
分类:其他好文   时间:2016-01-25 06:39:12    阅读次数:122
堆排序和优先级队列
1 // max_heap and priority queue 2 // the index must be [1,size],not [0,size-1] 3 #include 4 using namespace std; 5 int arr[20] = {1,4,2,3,9,7,8...
分类:编程语言   时间:2016-01-25 06:38:03    阅读次数:229
$regex
db.transactions.find({"_id":{"$gt":ObjectId("16a4f6b7d1adb1796ce2e091")},"userId": {$regex:'89A105e1',$options: 'i'}}) * ^ $ db.transactions.find({"_i...
分类:其他好文   时间:2016-01-25 06:37:19    阅读次数:179
设计模式概述 + 分类
A:设计模式概述 设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。 使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性以及代码的结构更加清晰. B:设计模式分类 创建型模式(创建对象的): 单例模式、抽象工厂模式、...
分类:其他好文   时间:2016-01-25 06:36:37    阅读次数:127
1.3.2 Barn Repair
It was a dark and stormy night that ripped the roof and gates off the stalls that hold Farmer John's cows. Happily, many of the cows were on vacation,...
分类:其他好文   时间:2016-01-25 06:38:07    阅读次数:198
查找两个已排序数组的中位数(Median of Two Sorted Arrays)
https://leetcode.com/problems/median-of-two-sorted-arrays/一个常见的思路就是利用递归查找第K个数来实现。 1 private int FindKth(int[] a, int sa, int[] b, int sb, int ...
分类:编程语言   时间:2016-01-25 06:37:08    阅读次数:308
深夜里的自我吐槽与自我展望
或许是沉浸在高考完就解放之中还未缓过神来,对于自己的大一上学期对于自己的表现我只能打个D,离开初高中六年的封闭式寄宿学校步入这个自由的大学殿堂我显然没能好好安排自己控制自己。选这个专业,我觉得自己以后很轻松会变得IT大神,什么软件网站各种牛叉技术都玩的很溜,可目前的我还离得好远。没上大学时我...
分类:其他好文   时间:2016-01-25 06:36:52    阅读次数:228
Python/Keras如何将给定的数据集打乱
给定数据集data,数据集对应的标签labelindex = [i for i in range(len(data))] random.shuffle(index) data = data[index]label = label[index](1)首先,获得数据集的所有index,其实就是0,1,....
分类:编程语言   时间:2016-01-25 06:36:50    阅读次数:287
1.3.4 Combination Lock
Farmer John's cows keep escaping from his farm and causing mischief. To try and prevent them from leaving, he purchases a fancy combination lock to ke...
分类:其他好文   时间:2016-01-25 06:36:13    阅读次数:237
UIScrollView的属性总结
PropertiesalwaysBounceHorizontal //一个布尔值,决定是否弹跳总是出现水平滚动时达到结束内容的看法。默认值是NO 。@property(nonatomic) BOOL alwaysBounceHorizontal //如果这个属性被设置为YES而且bounces的值是...
分类:其他好文   时间:2016-01-25 06:33:35    阅读次数:196
HDU 1429 - 胜利大逃亡(续)
Problem DescriptionIgnatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)……这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些地方安装了带锁的门,钥匙藏在地牢另外的某些地方。刚开始Ignatius被关在(sx,sy)的位置,离开地牢的门在(e...
分类:其他好文   时间:2016-01-25 06:34:15    阅读次数:143
普通快速排序的两种实现
1 #include 2 using namespace std; 3 4 int arr[10] = {1,9,2,5,4,6,3,8,7,1}; 5 6 void dump(int arr[],int cnt) 7 { 8 for(int i=0;i=end)return;18 ...
分类:编程语言   时间:2016-01-25 06:34:55    阅读次数:128
Keras如何构造简单的CNN网络
1. 导入各种模块基本形式为:import 模块名from 某个文件 import 某个模块2. 导入数据(以两类分类问题为例,即numClass = 2)训练集数据data可以看到,data是一个四维的ndarray训练集的标签3. 将导入的数据转化我keras可以接受的数据格式keras要求的l...
分类:其他好文   时间:2016-01-25 06:33:19    阅读次数:1217
网络编程3要素
A: IP地址 标示我们计算机在互联网上的位置B: 端口号 标示我们的计算机中的应用程序的C: 协议 数据的传输规则IP地址: 标示我们的计算机在互联网上的位置 IP地址的由来, 我们都计算机只能识别二进制数据,那么IP地址应该也是一个二进制数据,它是一个32的二进制数据 比如: 0...
分类:其他好文   时间:2016-01-25 06:33:18    阅读次数:159
Implement Find and replace (find given pattern and replace it with a given string)
public static String FindAndReplace(String GivenString, String Pattern, String ReplaceString) { int j = 0; int tempi; ...
分类:其他好文   时间:2016-01-25 06:34:47    阅读次数:125
ubuntu 系统 opencv3.1.0 安装
编译环境安装: sudo apt-get install build-essential必需包安装:sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-de...
分类:系统相关   时间:2016-01-25 06:35:27    阅读次数:214
1156条   上一页 1 ... 60 61 62 63 64 65 66 ... 68 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!