This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* /////////////////////////////////////////////////////////////////////// | |
* File: pi.h | |
* | |
* Created: 08.09.27 | |
* Updated: 08.09.27 | |
* | |
* Brief: Caculate pi = 3.14159265358979 | |
* | |
* [<Home>] | |
* Copyright (c) 2008-2020, Waruqi All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* /////////////////////////////////////////////////////////////////////// | |
* File: basic_pool.h | |
* | |
* Created: 08.04.14 | |
* Updated: 08.04.28 | |
* | |
* Brief: basic_pool class | |
* | |
* [<Home>] | |
* Copyright (c) 2008-2020, Waruqi All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ////////////////////////////////////////////////////////////////////////////////////// | |
* includes | |
*/ | |
#include "../demo.h" | |
/* ////////////////////////////////////////////////////////////////////////////////////// | |
* macros | |
*/ | |
// the httpd port |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ////////////////////////////////////////////////////////////////////////////////////// | |
* includes | |
*/ | |
#include "../demo.h" | |
/* ////////////////////////////////////////////////////////////////////////////////////// | |
* macros | |
*/ | |
// the spider url maxn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ////////////////////////////////////////////////////////////////////////////////////// | |
* includes | |
*/ | |
#include "../demo.h" | |
/* ////////////////////////////////////////////////////////////////////////////////////// | |
* types | |
*/ | |
typedef struct __tb_demo_context_t | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- xmake: https://github.com/waruqi/xmake | |
-- define target | |
target("console") | |
-- set kind | |
set_kind("binary") | |
-- add files | |
add_files("src/*.c") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- xmake: https://github.com/waruqi/xmake | |
-- project | |
set_project("tbox") | |
-- version | |
set_version("1.5.1") | |
-- set warning all as error | |
set_warnings("all", "error") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- the debug mode | |
if is_mode("debug") then | |
-- enable the debug symbols | |
set_symbols("debug") | |
-- disable optimization | |
set_optimize("none") | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface Book : NSObject | |
{ | |
NSMutableDictionary *data; | |
} | |
@property (retain) NSString *title; | |
@property (retain) NSString *author; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
##The Text Replacer | |
# | |
# @author ruki | |
# @file replace.py | |
# | |
# ###################################################################################### | |
# imports |
OlderNewer