jquery1.6版本后引入了prop()方法,很多时候总是混淆attr()与prop()这俩,下面分析一下这俩的区别在此之前,先来了解一下html 的attribute和property,因为jquery的attr()和prop()正是来源于这俩东西。先看一段html代码:根据 DOM (HTML...
分类:
Web程序 时间:
2014-07-24 22:27:22
阅读次数:
297
在阅读源代码的过程中,发现一个头文件有引用:/** The address of the first device table entry. */extern device_t devices[];/** The address after the last device table entry. ...
分类:
其他好文 时间:
2014-07-24 21:38:02
阅读次数:
206
值类型转换为引用类型 是装箱 ,存在堆上引用类型转换为值类型 是拆箱 ,存在栈上泛型用一个数据类型 T 来代替object,在类实例化时指定T的类型,运行时(Runtime)自动编译为本地代码,运行效率和代码质量都有很大提高,并且保证数据类型安全。public class Stack { priva...
分类:
其他好文 时间:
2014-07-24 21:23:46
阅读次数:
234
1.使用mysql,将查询结果导入到文件中 ??mysql -umsg -pmsg message -e "select appkey from app" > 1.txt ? ?2.使用Runtime调用系统命令时候碰到一个问题,我想压缩一个文件,而这个文件所在的目录都是动态...
分类:
其他好文 时间:
2014-07-24 14:51:46
阅读次数:
189
Imports SystemImports System.Runtime.InteropServicesPublic Class DllInvoke Public Sub New(ByVal DLLPath As String) Me.hLib = DllInvoke.LoadL...
情况:Windows下网站直接拷贝至Ubuntu1.删除cache下的所有临时文件。(需保留Thinkphp Runtime下的文件结构,删除文件内容)2.提权,在Linux命令行输入 sudo chmod 777 -R /var/www
分类:
Web程序 时间:
2014-07-24 12:12:45
阅读次数:
1949
首先从“东海颠倒山”__libc_start_main(xtern/dync_hook/spec_hooks.cpp: line 73)开始我们的旅行(还是寻宝比较给劲儿^-^)。通过“永久指针”printf我们来到了“伟大航路”上的 __tern_prog_begin(xtern/lib/runtime/helper.cpp: line 123)岛。让我们在它上面寻找我们想要的东西吧。果然有宝物tern::InstallRuntime(),顺着它我们找了对于我们这个大航海至关重要的伙伴Runtime::...
分类:
其他好文 时间:
2014-07-24 10:42:29
阅读次数:
386
Methods and arrangements for object identification. An identification request is received from different objects of a network. Attributes and values o...
分类:
Web程序 时间:
2014-07-23 22:19:07
阅读次数:
354
#pragma warning(disable:4996)
#include <cstdio>
#include <Windows.h>
#include <tchar.h>
#include <vector>
using namespace std;
/*
submit time : 2
1. Runtime Error
[]
request :
Given a ma...
分类:
其他好文 时间:
2014-07-23 21:34:35
阅读次数:
274
#pragma warning(disable:4996)
#include <cstdio>
#include <tchar.h>
#include <Windows.h>
/*
submit time : 3
1.Runtime Error
34.00515, -3
2.Runtime Error
1.00000, -2147483648
request :
...
分类:
其他好文 时间:
2014-07-23 17:39:11
阅读次数:
268