码迷,mamicode.com
首页 > 全部
详解 ML2 Core Plugin(I) - 每天5分钟玩转 OpenStack(71)
Core Plugin 的功能是维护数据库中 network, subnet 和 port 的状态,并负责调用相应的 agent 在 network provider 上执行相关操作。本节将详细讨论最重要的 ML2 Core Plugin。 ...
分类:其他好文   时间:2016-08-10 07:40:53    阅读次数:247
8.环境变量1
前言 Windows中有环境变量,比如我们熟悉的path……那么linux有没? 正文 操作系统 真没有大家想的那么智能,反而是很笨的 譬如我们输入 :ls立马执行 那操作系统是怎么执行的?它怎么知道ls要怎么执行?去哪执行?要执行的程序在哪? 环境变量:简单的说,就是告诉系统,根据命令去哪里(文件... ...
分类:其他好文   时间:2016-08-10 07:39:57    阅读次数:198
拷贝写
重新做人 1 // Copy_On_Write.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include <cstring> 6 #include <string> 7 8 using namespace std; 9 10 11 #p ...
分类:其他好文   时间:2016-08-10 07:38:40    阅读次数:272
博客园上好的技术系列收藏
http://blog.oneapm.com/apm-tech/130.html 7天玩转ASP.NET MVC http://www.cnblogs.com/yuangang/p/5748506.html 从入门到精通ASP.NET MVC http://www.cnblogs.com/xiaoh ...
分类:其他好文   时间:2016-08-10 07:38:32    阅读次数:152
Gym 100952D Time to go back 组合学、杨辉三角预处理组合数
组合学 有 n 个礼物, m个朋友, 其中k 个很要好的朋友, 要买 price 大于 d 的礼物 领 price >= d 的礼物个数为 cnt 则如果用 C[cnt][k] * C[n - k][m - k] 则显然不对, 因为这里面前面选的 price >= d的, 后面给普通好朋友选礼物的时候也会选到, 这样总的买的礼物数来说有大量重复了 所以 应该是分步 分类(price >= d 的与 < d 的分开算, 这样就不会相同的礼物选2次了) 首先 C[cnt][k] * C[n...
分类:其他好文   时间:2016-08-10 06:36:37    阅读次数:209
Gym 100952H Special Palindrome 非递减的回文串、dfs打表、查数列网站OEIS
非递减的回文串、打表 比赛结束后看了下public 的代码就我们队是打表过的, 别人都是正规的过的, ⊙﹏⊙‖∣尴尬 分奇偶用 dfs 搞出非递减的左半边串, 然后求出这个的和 ans[sum + i]++; 对于偶数个的直接dfs, 对于奇数的则枚举mid, 然后依次dfs 然后只打了前ans[50] 及以前的, 因为后面的比较大时间不够的, 所以打出前50的表然后到数列网站 OEIS 查了一下, 还真有,?? 所以把那前250个ans贴到 txt里, 然后写一个中间程序 把这些数据 转换成 printf...
分类:Web程序   时间:2016-08-10 06:36:16    阅读次数:390
MySQL---数据库从入门走向大神系列(八)-在java中执行MySQL的存储过程
http://blog.csdn.net/qq_26525215/article/details/52143733在上面链接的博客中,写了如何用MySQL语句定义和执行存储过程Java执行存储过程:准备表stud:列类型分别为: varchar,varchar,int定义的存储过程分别为:p1:-无参delimiter && create procedure p1() begin inse...
分类:数据库   时间:2016-08-10 06:35:59    阅读次数:242
Binary Search Tree Iterator
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return the n ...
分类:其他好文   时间:2016-08-10 06:36:10    阅读次数:125
Fraction to Recurring Decimal
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating ...
分类:其他好文   时间:2016-08-10 06:35:48    阅读次数:172
javaScript的function
一、函数的声明方式 1、普通的函数声明 2、使用变量初始化函数 3、使用Function构造函数 第三种不推荐,因为这种语法导致解析两次代码(第一次解析常规ECMAScript代码,第二次解析传入构造函数中的字符串),从而影响性能,但我们可以通过这种语法来理解,函数是对象,函数名是指针的概念 二、作 ...
分类:编程语言   时间:2016-08-10 06:35:48    阅读次数:220
离散化+线段树 POJ 3277 City Horizon
POJ 3277 City Horizon Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 18466 Accepted: 5077 Time Limit: 2000MS Memory Limit: 65536K Total Su ...
分类:其他好文   时间:2016-08-10 06:35:20    阅读次数:176
Sum of Two Integers
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example:Given a = 1 and b = 2, return 3. Credits:Speci ...
分类:其他好文   时间:2016-08-10 06:36:05    阅读次数:148
getSpecialDemandShort 取明装暖气片之 特殊需求
post request: { "action": "getSpecialDemandShort", "token": "2ef62304-6c03-4ae9-88c4-9889cc45f613", "isDebug": 1, "requestData": { "DeviceBrandKey": " ...
分类:其他好文   时间:2016-08-10 06:36:19    阅读次数:165
关于路由器的设置
最近从芬兰的oulu转到espoo学习,设置路由器困扰了我一个多星期。在以前学习的地方,只要按照正常的程序设置路由器,就可以直接用了,但是到了这里,路由器连上Wi-Fi以后显示的无internet连接,莫名其妙。首先说一下,aalto这边的网络是不需要输入账户和密码就可以直接联网的。所以按照正常的输 ...
分类:其他好文   时间:2016-08-10 06:33:26    阅读次数:274
[Practical Git] Navigate git command pager output with Unix less commands
When using a git command that can have a large amount of output (like git log, git diff, or git blame), Git opens the command output in our terminal " ...
分类:其他好文   时间:2016-08-10 06:33:05    阅读次数:139
javascript面向对象系列第二篇——创建对象的5种模式
[1]对象字面量 [2]工厂模式 [3]构造函数模式 [4]原型模式 [5]组合模式 ...
分类:编程语言   时间:2016-08-10 06:35:06    阅读次数:297
getDictionarys 取 明装暖气片之 锅炉品牌
post request: { "action":"getDictionarys", "token":"026cc2dd-7dbe-4be9-8adb-d7e024f4f918", "Tag":"FurnaceBrand" } response: { "data": { "List": [ { "C ...
分类:其他好文   时间:2016-08-10 06:33:33    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!