I've just changed my OS X / Mac main user - I've created a new 'coder' user account that I want to use for development instead of my old 'lombard' acc...
分类:
其他好文 时间:
2014-07-19 15:03:38
阅读次数:
359
测试环境:win7, vs2012如果未安装boost,请参考:http://blog.csdn.net/alex_my/article/details/17630685涉及智能指针:shared_ptr, weak_ptr, scoped_ptr, auto_ptr其它:enable_shared...
分类:
编程语言 时间:
2014-07-19 14:15:45
阅读次数:
276
之前使用vld检测内存泄露,有兴趣可以一观:http://blog.csdn.net/alex_my/article/details/11488805控制台下,MFC未测试。使用方法如下:#include ifdef _DEBUGdefine new new(_NORMAL_BLOCK, __FIL...
一个应用程序可以通过实现ApplicationListener接口来实现对各种生命周期函数的响应。
先看如下代码:
public class MyGame implements ApplicationListener {
public void create () {
}
public void render () {
}
public...
分类:
其他好文 时间:
2014-07-19 02:37:07
阅读次数:
260
What is my disk quota?
GitHub doesn't have any set disk quotas. We try to provide abundant storage for all Git repositories, within reason. Keeping repositories small ensures that our servers a...
分类:
其他好文 时间:
2014-07-19 02:31:15
阅读次数:
334
按照 演示的代码 直接运行会出错,大家需要调整方式。http://koajs.cn/要安装以下$ npm install -g n$ n 0.11.12$ node --harmony my-koa-app.js注意:现在你直接在命令行中运行:node hello.js 是会报错的。错误一般如下:f...
分类:
其他好文 时间:
2014-07-18 18:16:56
阅读次数:
660
The best way to learn DP from DFS! Nice problem.My intuition is that it can be solved by DFS:class Solution {public: int climbStairs(int n) { ...
分类:
其他好文 时间:
2014-07-18 17:24:53
阅读次数:
188
When learning the usage of map collection in java, I found serveral beneficial methods that was encountered in the daily life. Now I made a summary:
import java.util.ArrayList;
import java.util.Col...
分类:
编程语言 时间:
2014-07-18 15:13:56
阅读次数:
242
1 、参数文件及mysql参数 查看mysql 的 my.cnf 配置文件位置命令:>./bin/mysql --help | grep my.cnf 查看mysql 的参数设置命令:mysql>show variables --显示所有参数; // show variables like 'log...
分类:
数据库 时间:
2014-07-18 14:24:56
阅读次数:
342
#include
#include "sys.h"
//设置向量表偏移地址
//NVIC_VectTab:基址
//Offset:偏移量
//CHECK OK
//091207
void MY_NVIC_SetVectorTable(u32 NVIC_VectTab, u32 Offset)
{
//检查参数合法性
assert_param(IS_NVIC_...
分类:
其他好文 时间:
2014-07-18 12:30:58
阅读次数:
338