We recently added a new feature for xmake:
you need not write any make-like file (xmake.lua, makefile.am, cmakelist.txt, etc.) and also build it directly.
It will scan all source files and generate xmake.lua automatically for building project.
And xmake will detect 'main' function in source file in order to distin继续阅读 »
TBOOX focus on cross-platform development using c language.
Welcome to join the TBOOX Open Source Community if you want to be interesting to our open source projects.
:)继续阅读 »
This page is going to tell how to install tensorflow on ubuntu 16.04 from the github sources. I sugget you to use conda or miniconda as your python, then you can skip section 6: Create the pip package and install.继续阅读 »
顾名思义,装饰模式就是给一个对象增加一些新的功能,而且是动态的,要求装饰对象和被装饰对象实现同一个接口,装饰对象持有被装饰对象的实例,关系图如下:
Source类是被装饰类,Decorator类是一个装饰类,可以为Source类动态的添加一些功能,代码如下:
public interface Sourceable {
public void method();
}
public class Source implements Sourceable {
@Override
public void method() {
System.out.println("the original 继续阅读 »
Install on windows
Download xmake source codes
Enter the source code directory
Run install.bat
Select the installed directory and enter into this directory
Please wait some mintues
Install from source codes on linux and macosx
bash
$ git clone git@github.com:waruqi/xmake.git
$ cd ./xmake
$ sudo ./install
Install us继续阅读 »