python如何调用c编译好可执行程序以下总结出几种在Python 中调用 C/C++ 代码的方法--------------------------------------------------------------------发现做便捷的是使用popenfrom os import pope...
分类:
编程语言 时间:
2014-07-01 12:12:50
阅读次数:
223
6月30日学习笔记:版本控制系统git:1、应用:记录文件的所有历史变化随时可恢复到任何一个历史状态多人协作开发或修该错误恢复多功能并行开发2、分类:本地版本控制系统集中化版本控制系统分布式版本控制系统3、基本概念:repository -- 存放所有文件及其历史信息checkout -- 取出或切...
分类:
其他好文 时间:
2014-07-01 12:12:10
阅读次数:
145
This post introduce how to implement the public or private static members in JavaScript.
分类:
编程语言 时间:
2014-07-01 12:10:42
阅读次数:
190
/*** 缓冲区工具类*/public class BufferUtil {/** * 将浮点数组转换成字节缓冲区 */public static ByteBuffer arr2ByteBuffer(float[] arr){ByteBuffer ibb = ByteBuffer.allocateD...
分类:
其他好文 时间:
2014-07-01 12:10:01
阅读次数:
164
/*** 缓冲区工具类*/public class BufferUtil {/** * 将浮点数组转换成字节缓冲区 */public static ByteBuffer arr2ByteBuffer(float[] arr){ByteBuffer ibb = ByteBuffer.allocateD...
分类:
其他好文 时间:
2014-07-01 12:07:23
阅读次数:
280
本教程适用于centos
安装之前
检查nodejs
如果没安装nodejs按照以下步骤安装
$ su -
$ yum install openssl-devel
$ cd /usr/local/src
$ wget http://nodejs.org/dist/v0.10.29/node-v0.10.29.tar.gz
$ tar zxvf node-v0.10.29.tar.gz...
分类:
其他好文 时间:
2014-07-01 08:36:47
阅读次数:
530
这几天总是被一个问题困扰着,那就是base64的加密,在centos 服务器上无法解密。经过反复测试才发现,原来是因为centos 系统没有GB2312库导致的。
加密端是在ASP.NET中处理的,解密是在centos 下使用java。ASP.NET默认采用的是GB2312字符集,所以,对应的解密也必须使用GB2312。为了成功解析,所以必须让centos 也支持GB2312。最终问题解决。
...
分类:
其他好文 时间:
2014-07-01 08:24:41
阅读次数:
221
typedefenum {
UIBarButtonSystemItemDone,
UIBarButtonSystemItemCancel,
UIBarButtonSystemItemEdit,
UIBarButtonSystemItemSave,
UIBarButtonSystemItemAdd,
UIBarButtonSystemItemFlexibleSpace,
UIBarBu...
分类:
其他好文 时间:
2014-07-01 08:03:46
阅读次数:
151
使用静态链接的方式
#include
#include
#include
#ifdef __cplusplus
extern "C" {
#endif
#include "lua/include/lua.h"
#include "lua/include/lauxlib.h"
#include "lua/include/lualib.h"
#pragma comment (li...
分类:
其他好文 时间:
2014-07-01 07:50:09
阅读次数:
189
#include
#include
#include
static char out_ip[15] = "52.0.10.188";
static int out_port = 8888;
int main()
{
char sSendBuf[2049], sRecvBuf[2049];
int connfd = 0, iRet = 0, iSend...
分类:
其他好文 时间:
2014-07-01 06:31:44
阅读次数:
212