Under DocumentFormat.OpenXml.Packaging(Assembly: DocumentFormat.OpenXml, DocumentFormat.OpenXml.dll)
- Properties
- DocumentType
- PresentationPart
<%@ LANGUAGE="JScript" %> | |
<!doctype html> | |
<html> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<body> | |
<b>Hello ASP.</b> | |
<script language="JScript" runat="server"> | |
try { | |
var doc = new ActiveXObject("MSXML2.DomDocument"); | |
var node64 = doc.createElement('b64'); |
rundll32 javascript:"\..\mshtml,RunHTMLApplication ";(function(){try{var%20fso=new%20ActiveXObject('Scripting.FileSystemObject');fldr=fso.CreateFolder('C:\\Program%20Files\\TestFolder')}catch(e){alert(e.message)}finally{window.close()}}()) |
function * gen() { | |
console.log('start'); | |
var got = yield 'called'; | |
console.log(got); | |
} | |
var g = gen(); | |
var a = g.next(); | |
//顯示start | |
var b = g.next('hello generator'); | |
//顯示hello generator |
module.exports = function(le, cb, payload) { | |
var count = 0; | |
this.getRecurser = function() { | |
return (function(f) { | |
return f(f); | |
})(function(f) { | |
count++; | |
return le(function() { | |
var args = Array.prototype.slice.call(arguments, 0); | |
return f(f).apply(f, args); |
<?php | |
$units = array(3, 8, 4, 5); | |
$cn = 0; | |
$units = array_map(function($a) use(&$cn) { | |
$cn++; | |
return array($a, $cn); | |
}, $units); | |
$first = array_shift($units); | |
$s = array_reduce($units, function($res, $item) { | |
return $res." UNION SELECT ".$item[0].", ".$item[1]." "; |
(function(p){alert(function(t){var ret=[];for(var i in t)if(typeof t[i]!=='function'&&t[i]>0)ret.push({name:i,value:t[i]});return ret}(p).sort(function(a,b){return a.value-b.value}).map(function(d,i,a){if(i>0){return d.name+':'+(d.value-a[i-1].value)}else{return d.name+':0'}}).join('\n'))})(performance.timing) |
<?php | |
declare(ticks=20000000); | |
$a = new handle(); | |
register_tick_function(array(&$a, 'handler')); | |
while($a->a > 0) { | |
//sleep(1); | |
} | |
class handle { | |
var $a = 1; | |
public function handler() { |