自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 OpenCV使用笔记

1. OpenCV 3.1 源码编译中的编译器错误:问题:CentOS 7下,假如用户使用Anaconda发行包安装python后,OpenCV 3.1自带的Cmake会在生成makefile的过程中将python包中附带的clang编译器作为默认编译器。然而Clang编译器和OpenCV源码不兼容,不在build过程中报错。# --------------------

2015-12-31 14:22:49 430

原创 Linux Network

1. Launch docker mobtitude/vpn-pptp app2. ip route add 10.0.0.0/8 dev ppp0  (? Not Sure if has Any Effect)3. sudo route add -net 0.0.0.0/0 ppp0

2015-12-29 00:16:34 661

原创 Programming Language Grammar Comparsion

1. Array DeclarationC:int a[5] C++:int* a = new a[5]Java:int[] a = new int[5]Scala:val a:Array[Int] = new Array[Int](5)Python:a = List(5)

2015-12-27 14:37:01 334

原创 C++ Stack Implementation Discussion

1. Q:  Why Stack::top is initialized to -1 ?A: Initialize top = -1 make push(char x){ item[++top] = x} method consistent with the API design that stack::top refers to the top element in the stack

2015-12-27 11:35:42 373

原创 Roy Docker Image Build

C Building Tools:---------------------------------------------------------------------------------sudo apt-get updatesudo apt-get install build-essentialLinux Utilities:-------------

2015-12-25 13:44:33 350

原创 Docker technical notes

1. Mount a host directory into the docker containersudo docker run -i -t -v /home/ubuntu:/mnt/ubuntu d55e /bin/bash

2015-12-25 13:11:06 348

转载 #!bin/bash

It's a convention so the *nix shell knows what kind of interpreter to run.For example, older flavors of ATT defaulted to "sh" (the Bourne shell), while older versions of BSD defaulted to "csh" (th

2015-12-25 11:38:44 268

原创 Linux init.d

In linux, init is the first process started during booting of the computer system. Init is a daemon process that continues running until the system is shut down. It is the direct or indirect ancestor

2015-12-25 11:30:35 400

转载 Five Ways to Create a Scala List

Five ways to create a Scala ListBy Alvin Alexander. Last updated: Jan 5, 2015table of contents [hide]Create a Scala List in the Lisp styleCreate a Scala List in the Java styl

2015-12-21 09:29:21 387

转载 JAVA / Scala Multi Class in One Source File

Java:That is not correct and the basic rules are different.First let me give you a counter example:// This is the content of X.javaclass Y { void i() { System.out.println("!!!"); }}class Z

2015-12-18 10:18:04 471

原创 Graph Based Algorithms, why 2-D instead of 3-D ?

Graph Based Algorithms, why 2-D instead of 3-D ?

2015-12-04 15:04:42 428

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除