2014-01-31 张炎泼
Google HTML CSS 代码风格指南 A Note About Git Commit Messages 继续阅读 »
2018-03-08 findneo
项目地址在 Github:https://github.com/findneo/Newbie-Security-List Newbie-Security-List 一桌菜,十几盘,有荤有素,有凉有热,怎么吃呢?你可以找一盘看起来好吃的,也可以找一盘离自己近的,都行。但是,得动筷子。不管怎么吃,最重要的是得动筷子。学技术也是一样。 有的人死活不动筷子,还不断念叨:“我要开始吃了。我马上就要开始吃了。我只要开始吃就能吃饱。我吃饱了就不饿了。你能不能告诉我该先吃哪一盘?先冷盘后热菜再喝汤这样是不是最好?但是我听说广东人都是先喝汤?这盘菜会不会太远了?这盘会不会太油腻?我吃饱了万一想拉屎你们这里有厕所吗?我真的马上就要开始吃了……为 继续阅读 »
2016-08-10 曹强
gulp的一个案例,主要是对gulpfile.js中的任务进行分割,完成清理、文件复制同时进行筛选压缩、以及html中js和css引用的替换等 more gulpfile.js ```javascript 'use strict'; var gulp = require('gulp'); var config = { pkg: require('./package.json'), publicDir: ['./{public,public/}'], resourcesDir: ['./{resources/,resources/}'], apps: ['ads', 'analysis', 'h 继续阅读 »
2014-12-09 Mithrilwoodrat
这几个实验都是上课时候一两小时实现的,因为老师给出的参考代码有些惨不忍睹(虽然我写的也没好到哪去).因为时间有限,就没用C++. 同样是因为时间有限,仅供参考,有bug概不负责. 代码如下 # -- coding: utf-8 -- class Bank(object): def init(self): self.totalpro = 0 self.process = [] self.res_num = 4 self.res_type = ['A', 'B', 'C', 'D'] self.Resources = {'A':10, 继续阅读 »
2015-12-16 Klaus Ma
Description: The target of this JIRA is to offer the allocation slack resources to the framework. Here're the key points of this design: 继续阅读 »
2016-03-13 Piasy
安卓开发过程中测试的编写是一个公认的痛点,本文总结了我在AndroidTDDBootStrap工程中配置Espresso测试所遇到的坑,例如神秘报错android.content.res.Resources$NotFoundException和java.util.zip.ZipException: duplicate entry,以及对dagger,mock网络请求的实践,目测应该是目前最全面的指南了 :) 本文涉及的完整代码可以在Github: AndroidTDDBootStrap获取。 继续阅读 »
2016-11-07 Lingxian Kong
In 'Project'->'Compute'->'Overview' pannel of Horizon, a common user can see some OpenStack resources usage information in 'Limit Summary' table in pie chart. By default, that includes 'Instances', 'VCPUs', 'RAM', 'Floating IPs', 'Security Groups', 'Volumes' and 'Volume Storage'. Horizon will get usage of those resourc 继续阅读 »
2016-03-22 Klaus Ma
Background Resources can be reserved by frameworks in a variety of ways, including: Static reservations Dynamic reservations via Offer::Operations Dynamic reservations via HTTP endpoints Quotas (None-Goal) 继续阅读 »