Update slide copy
parent
613c77f0c9
commit
f7cf6d9979
@ -1,3 +1,3 @@
|
||||
# But Buddy…
|
||||
|
||||
On npm there is a "phantom" and "phantomjs" package, what gives?
|
||||
## On `npm` there is a "`phantom`" and "`phantomjs`" package, what gives?
|
||||
|
@ -0,0 +1,11 @@
|
||||
# Use After Free
|
||||
|
||||
```javascript
|
||||
var page = require('webpage').create();
|
||||
// code, code, code…
|
||||
page.open('about:blank', function () {
|
||||
page.close();
|
||||
console.log('☮ out!');
|
||||
phantom.exit();
|
||||
});
|
||||
```
|
@ -0,0 +1,10 @@
|
||||
# Child Process Module
|
||||
|
||||
- execFile
|
||||
```javascript
|
||||
var execFile = require('child_process').execFile;
|
||||
function execCb(err, stdout, stderr) {
|
||||
// handle callback
|
||||
}
|
||||
execFile('some-command', ['flags'], null, execCb);
|
||||
```
|
@ -1,10 +1,14 @@
|
||||
# File System Module
|
||||
|
||||
- absolute
|
||||
- read
|
||||
- move
|
||||
- remove
|
||||
- list
|
||||
|
||||
|
||||
- makeDirectory/makeTree
|
||||
- isDirectory/isExecutable/isFile/isLink
|
||||
- isDirectory/isFile
|
||||
- isExecutable/isLink
|
||||
- removeDirectory/removeTree
|
||||
- …
|
@ -1,6 +0,0 @@
|
||||
# More goodies
|
||||
|
||||
- The `--remote-debugger-port [debug-port]` flag
|
||||
- Web server module
|
||||
- Use a WebSocket in a webpage
|
||||
- So much awesomeness
|
@ -0,0 +1,6 @@
|
||||
# What about the rest of the browser?
|
||||
|
||||
- HTML5?
|
||||
|
||||
|
||||
- CSS3?
|
Loading…
Reference in New Issue