12 2016 档案

摘要:compound.sql: DROP PROCEDURE IF EXISTS compound_server_dbfrom_to_dbto;DELIMITER $$CREATE PROCEDURE compound_server_dbfrom_to_dbto()BEGIN DECLARE done 阅读全文
posted @ 2016-12-27 14:52 啊饭 阅读(287) 评论(0) 推荐(0)
摘要:删除防火墙:netsh advfirewall firewall delete rule name=%gate_rule_name% 添加防火墙:netsh advfirewall firewall add rule name=%gate_rule_name% dir=in action=allow 阅读全文
posted @ 2016-12-21 11:48 啊饭 阅读(290) 评论(0) 推荐(0)
摘要:测试: 阅读全文
posted @ 2016-12-17 16:11 啊饭 阅读(3704) 评论(0) 推荐(0)
摘要:这篇文章演示了Makefile使用mysqlpp库和lua库的写法。 test.cpp: test.lua: Makefile: 阅读全文
posted @ 2016-12-16 15:33 啊饭 阅读(594) 评论(0) 推荐(0)
摘要:这篇文章演示多目录,c,c++混编的Makefile写法。 文件夹: $dir/bin/ $dir/deps/ deps/inc/ deps/lib/ deps/src/ $dir/obj/ $dir/project/ project/test.mk $dir/src/ src/class1.cpp 阅读全文
posted @ 2016-12-16 15:27 啊饭 阅读(237) 评论(0) 推荐(0)
摘要:funs.h: funs.c Makefile main.c 编译: gcc -o main.exe -lfuns -L/home/xt/test_lib main.c 阅读全文
posted @ 2016-12-16 14:57 啊饭 阅读(905) 评论(0) 推荐(0)
摘要:classA.lua: classA = { a = 0, b = 0,}; classA.meta = {__index = classA} function classA:new(a, b) local o = {}; setmetatable(o, self.meta); o.a = a; o 阅读全文
posted @ 2016-12-15 15:39 啊饭 阅读(6782) 评论(0) 推荐(1)
摘要:test.h: test.cpp: main.cpp: test.lua: 阅读全文
posted @ 2016-12-14 16:04 啊饭 阅读(2797) 评论(0) 推荐(0)