在介绍如何创建带 ssh 服务的基础镜像之前,我们想回顾一下之前介绍过的内容,其中提到有三种创建镜像的常用办法:从文件系统导入从现有容器使用「docker commit」提交使用 dockerfile 文件 build本章将主要介绍后面 2 种方法。使用「docker commit」提交步骤如下:$ sudo docker run -ti ubuntu:14.04 /bin/bash
#首先,使...
分类:
其他好文 时间:
2014-10-27 12:46:15
阅读次数:
315
和MMORPG不同,实时动作型网络游戏追求操作的响应要求极高( PlayoutDelay 那peer master会直接丢弃这个动作指令(也就是将超时到达的指令当作无效)7. 如果peer master接到的动作指令不超过上述6中描述的范围,那会把这个指令 放入Ti所对应的bucket中,其中: T...
分类:
其他好文 时间:
2014-10-27 00:18:39
阅读次数:
223
1、初始化+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo;+ (N...
分类:
移动开发 时间:
2014-10-25 17:12:08
阅读次数:
245
这段时间一直都在打包资源,然后每次导入都要改图片的属性,真是麻烦,所以一直在寻找一键修改并且打包的方法。
终于让我找到了,太坑人了。
根据自己的需求改代码哦,相信大家都能看明白。
核心部分:
TextureImporter ti = (TextureImporter)TextureImporter.GetAtPath(AssetDatabase.GetAssetPath(obj));
...
分类:
编程语言 时间:
2014-10-24 13:05:46
阅读次数:
398
AM335X是TI(德州仪器)推出的一款功能强大的ARM Cortex A8内核处理芯片。作为TI(德州仪器)的官方合作伙伴,飞凌嵌入式基于该芯片陆续开发生产了三款工业级开发平台:335xD,335xS和335xS-Ⅱ。而作为全系产品中最新推出的335xS-Ⅱ开发平台,一经问世,便因为其小巧的尺寸(...
分类:
其他好文 时间:
2014-10-23 23:56:40
阅读次数:
289
http://acm.hdu.edu.cn/showproblem.php?pid=5078
现场最水的一道题 连排序都不用,因为说了ti
//#pragma comment(linker, "/STACK:102400000,102400000")
#include
#include
#include
#include
#include
#include
#include
#i...
分类:
其他好文 时间:
2014-10-22 22:04:47
阅读次数:
187
针对新板调试,不针对EVM板。
TI XDS560连上DM8168 20pin仿真接口
launch 8168.ccxml,右击CortexA8,选择Connect Target
出现错误如下:
“Error connecting to the target: (Error -181 @ 0x0)
The controller has detected a dead JTAG cloc...
分类:
其他好文 时间:
2014-10-22 15:55:41
阅读次数:
266
本文主要通过阅读源码及调试揭示了AM335X中u-boot的MLO阶段实现机理。...
分类:
其他好文 时间:
2014-10-22 14:40:47
阅读次数:
280
package testJavaAll;
import java.util.Timer;
import java.util.TimerTask;
/**
* 测试线程开启和停止cancel的
*
* 2014年10月21日 10:34:57
*
* yjbo
*/
public class testThread {
Timer ti...
分类:
移动开发 时间:
2014-10-21 12:22:37
阅读次数:
181
题意: m个城市, n张车票, 每张车票ti匹马, 每张车票可以沿某条道路到相邻城市, 花费是路的长度除以马的数量. 求a到b的最小花费, 不能到达输出Impossible1 2 #include 3 #include 4 #include 5 #include 6 #include 7 ...
分类:
其他好文 时间:
2014-10-21 00:44:54
阅读次数:
276