This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 22:33:20 jib:npm $ git pull | |
| Already up-to-date. | |
| 22:33:28 jib:npm $ ls | |
| LICENSE Makefile README.md bin cli.js doc html lib man1 npm-completion.sh npm.js package.json scripts test | |
| 22:33:30 jib:npm $ make | |
| node cli.js install npm | |
| npm info it worked if it ends with ok | |
| npm info using npm@0.2.15 | |
| npm info using node@v0.3.6-pre | |
| npm info fetch http://registry.npmjs.org/npm/-/npm-0.2.15.tgz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require.paths.push('/usr/local/lib/node/'); | |
| var sys = require('sys'), | |
| http = require('http'), | |
| express = require('express'), | |
| jsdom = require('jsdom'); | |
| var app = express.createServer(); | |
| var responseLogic = function(req, res, callback) { | |
| var window = jsdom.jsdom().createWindow(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html lang="en-US"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Eugene Kashida</title> | |
| <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css"> | |
| <style type="text/css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function resizeTextarea () { | |
| while (this.get("scrollHeight") > this.get("offsetHeight")) { | |
| this.set("rows", this.get("rows") + 1); | |
| } | |
| while (this.get("rows") > 3 && this.get("scrollHeight") < this.get("offsetHeight")) { | |
| this.set("rows", this.get("rows") - 1); | |
| } | |
| } |
NewerOlder