首页 > 其他
[转] IaaS 、PaaS、SaaS科普
IaaS: Infrastructure-as-a-Service(基础设施即服务)第一层叫做IaaS,有时候也叫做Hardware-as-a-Service,几年前如果你想在办公室或者公司的网站上运行一些企业应用,你需要去买服务器,或者别的高昂的硬件来控制本地应用,让你的业务运行起来。但是现在有I...
分类:其他   时间:2015-09-03 09:14:29    收藏:0  评论:0  赞:0  阅读:264
hdu 1176 免费馅饼(数塔类型)
http://acm.hdu.edu.cn/showproblem.php?pid=1176免费馅饼Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): ...
分类:其他   时间:2015-09-03 09:14:19    收藏:0  评论:0  赞:0  阅读:231
AI (Adobe Illustrator)详细用法(一)
一、新建文档1、设置面板的各项参数双击面板工具,会弹出“面板选项”窗口。2、文档设置文档设置好了以后,可以修改,在文件——》文档设置中打开修改。二、界面设置1、用户界面编辑——》首选项——》用户界面。2、双击缩放双击一个面板会在“合并”——“简略版”——“最大化”三种面板间切换。3、保存工作区如果下...
分类:其他   时间:2015-09-03 09:14:09    收藏:0  评论:0  赞:0  阅读:280
cin.get()让程序可连续输入
#include "stdafx.h" #include int main(){ using namespace std;int carrots;cout>carrots; cout<<"Here are two more"; carrots=carrots+2; cout<<"Now you ha...
分类:其他   时间:2015-09-03 09:13:29    收藏:0  评论:0  赞:0  阅读:310
增加应用服务器的可伸缩性
1.功能服务器FS 无论是采用哪一种群集方案,当碰到AS为客户端提供某个服务非常的消耗CPU或内存时,我们都可以将这部分业务逻辑从AS中拆分出来转交给功能服务器(FS)处理,如下图所示: 利用FS进行对AS增强,并不需要做任何特别的工作来支持,这点完全可以由具体应用根据具体情况自己完成,而且也非常容...
分类:其他   时间:2015-09-03 09:12:59    收藏:0  评论:0  赞:0  阅读:236
trailingZeroes
Given an integern, return the number of trailing zeroes inn!.给一个数字n,返回它n!数字后面有多少个0。public class Solution { public int trailingZeroes(int n) { ...
分类:其他   时间:2015-09-03 09:12:49    收藏:0  评论:0  赞:0  阅读:232
c专家编程---优先级规则
对于一些复杂的类型组合,总是搞不明白,今天阅读了“优先级规则”这块,有了进一步的理解,特将规则记在此处,供自己学习查询使用。优先级规则:A、声明从它的名字开始读取,然后按照优先级顺序依次读取B、优先级从高到低依次是B.1声明中被括号括起来的部分 B.2后缀操作符括号()表示这是一个函数,而方括号【】...
分类:其他   时间:2015-09-03 09:12:09    收藏:0  评论:0  赞:0  阅读:234
研究生科研与吃饭
转眼一年过去了,研究生学习的生活也过去了三分之一还要多一些。论学习,的确学习到不少东西,但是论科研,似乎还是差的很远。因为我选择了年轻的导师,他没有任何的带人的经验,我有些时候还是觉得自己力所不及,力不从心的。 从一开始对科研充满信心,到现在似乎已经倦怠,各种滋味其实只能自己体会。有时候我...
分类:其他   时间:2015-09-03 09:11:59    收藏:0  评论:0  赞:0  阅读:303
twoSum
C方法(用hash) 1 typedef struct HashNode 2 { 3 int key; 4 int val; 5 }HashNode; 6 7 typedef struct HashMap 8 { 9 int size;10 HashNode** storage...
分类:其他   时间:2015-09-03 09:11:29    收藏:0  评论:0  赞:0  阅读:270
block底层实现拆解
在很多的系统方法中都使用的到了block,它的实质是函数指针 ?void(*block)()? 常常用block代替代理 ?在C中,函数是保存了整个函数的地址入口,直接调用函数执行。 而block,只是调用了一段代码,在合适的时候执...
分类:其他   时间:2015-09-03 08:10:19    收藏:0  评论:0  赞:0  阅读:282
OSChina 周四乱弹 —— 阅兵都开始了,你还在睡!
各位程序员,你们起床了吗?抗战阅兵都要开始了,你们还在睡懒觉!要是你们去参加抗战阅兵,肯定是这幅模样 @开源首席操蛋 :现在向我们走来的是程序员方阵! 他们穿着拖鞋,披着毛巾, 左手拿着键盘,右手举着鼠...
分类:其他   时间:2015-09-03 08:10:10    收藏:0  评论:0  赞:0  阅读:581
获取浏览器视口高度device-width
获取浏览器视口高度device-width
分类:其他   时间:2015-09-03 08:08:30    收藏:0  评论:0  赞:0  阅读:311
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  阅读:303
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  阅读:254
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  阅读:323
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  阅读:496
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  阅读:269
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  阅读:261
*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  阅读:233
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  阅读:261
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!