记忆力不行,做过好多东西,下次用的时候还会忘记,于是就记录一些,为了以后更快的入手:1.marker的点击事件中获取marker的信息
在函数中this就代表当前的markerthis.getPosition()就获取到了marker的位置,不能用e.point 这个是点击的位置。
分类:
其他好文 时间:
2014-05-26 15:14:03
阅读次数:
195
arm-linux-gcc -static -o lcd_show
lcd_show.csudo mount -o loop initrd.img XXX (XXX -- your mount directory)sudo cp
lcd_show XXX/bin/sudo umount XXXsky...
分类:
其他好文 时间:
2014-05-26 14:39:56
阅读次数:
281
oracle 32位导64位SQL>SHUTDOWN
IMMEDIATE;SQL>STARTUP MOUNT;SQL>ALTER SYSTEM ENABLE RESTRICTED
SESSION;SQL>ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;SQL>ALT.....
分类:
数据库 时间:
2014-05-26 09:15:19
阅读次数:
345
1、典型的Point结构体 1 struct point { 2 double x, y; 3
point(double _x = 0, double _y = 0): x(_x), y(_y) { 4 } 5 void input() { 6
sca...
分类:
其他好文 时间:
2014-05-23 03:40:15
阅读次数:
362
第二章 ASM INSTANCE
ASM实例类型:
10g以后ORACLE instance 类型增加了一种ASM类型,参数INSTANCE_TYPE=ASM进行设置。
ASM实例启动命令:
startup nomount启动实例和后台进程,但没有挂载磁盘组
mount以后,实例会启动参数文件中ASM_DISKGROUPS指定的磁盘组,如果参数为空就会触发ORA-15110报错...
分类:
数据库 时间:
2014-05-23 02:22:20
阅读次数:
405
What Is Your Grade?
Problem Description
“Point, point, life of student!”
This is a ballad(歌谣)well known in colleges, and you must care about your...
分类:
其他好文 时间:
2014-05-23 00:59:22
阅读次数:
375
格式:
mount -t cifs //IP/share-folder /mnt-point -o username=your-username,passwd=your-password
[root@client mnt]# mount -t cifs //192.168.230.1/f /mnt/share/ -o username=***,passwd=***
[root@clien...
题意:给你个矩阵,里面有n个标记的点,许多只青蛙在上面跳,每次跳的距离都是一样的且轨迹是直线,目标是从一边跳到另一边,求最多步数的青蛙
思路:排序后,枚举判断
#include
#include
#include
#include
using namespace std;
const int MAXN = 5050;
struct point{
int x,y;
void ini...
分类:
其他好文 时间:
2014-05-22 18:50:02
阅读次数:
255
#include
#include
using namespace std;
class Point
{
public:
Point(double a,double b):x(a),y(b) {}
double getx()
{
return x;
}
double gety()
{
...
分类:
其他好文 时间:
2014-05-21 14:44:07
阅读次数:
281