操作
Change operations:
0 a b change all characters into '0's in [a , b]
1 a b change all characters into '1's in [a , b]
2 a b change all '0's into '1's and change all '1's into '0's in [a, b]
Out...
分类:
其他好文 时间:
2014-08-20 12:36:52
阅读次数:
392
译至:http://d.hatena.ne.jp/embedded/20140819/p1 虽然Aarch64(ARM64)的板子还很难到手、但通过使用qemu就能执行Aarch64的用户空间程序。利用Docker的话,就能很方便的尝试Aarch64的环境。编译也可以执行。 准备 使用Ubuntu ...
分类:
其他好文 时间:
2014-08-19 22:11:25
阅读次数:
362
if语句继续看docker.go文件的main函数if reexec.Init() { return }go语言的if不需要像其它语言那样必须加括号,而且,可以在判断以前,增加赋值语句语法IfStmt = "if" [ SimpleStmt ";" ] Expression Bl...
分类:
编程语言 时间:
2014-08-19 20:48:15
阅读次数:
288
Hi,The problem is:$ check_jmx4perl --url http://localhost:8081/jolokia --mbean java.lang:type=Threading --operation findDeadlockedThreads --null no-de...
分类:
其他好文 时间:
2014-08-19 18:37:25
阅读次数:
311
1 Namespace用来做PID的隔离,有了namespace,在docker container里头看来,就是一个完整的linux的世界。在host看来,container里的进程,就是一个普通的host进程,namespace提供这种pid的映射和隔离效果,host承载着container,就...
分类:
系统相关 时间:
2014-08-19 18:33:15
阅读次数:
281
Using Supervisor with Docker
Note: - If you don't like sudo then see Giving
non-root access
Traditionally a Docker container runs a single process when it is launched, for example an Apache ...
分类:
其他好文 时间:
2014-08-19 12:54:34
阅读次数:
367
1 /** 2 * 面向对象(运算类) 3 * 简易计算器 4 * @author Monica 5 * 6 */ 7 public class Operation { 8 private double numberA = 0; 9 private double numb...
分类:
其他好文 时间:
2014-08-19 12:43:14
阅读次数:
162
【现象】有终端输入用户名,密码后,桌面环境启动失败。
【报错】log文件中显示:
(EE)
Fatal server error:
(EE) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
【原因】由xorg升级引起,具体描述如下:
FS#41257 - [xorg-server] take ad...
分类:
系统相关 时间:
2014-08-19 11:03:44
阅读次数:
249
std::map插入已存在的key时,key对应的内容不会被更新,如果不知道这一点,可能会造成运行结果与预期的不一致“Because element keys in amapare unique, the insertion operation checks whether each inserte...
分类:
其他好文 时间:
2014-08-19 10:38:03
阅读次数:
226