This file contains 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
DEST_OS: darwin | |
DEST_CPU: x64 | |
Parallel Jobs: 1 | |
Product type: program | |
[73/75] cxx: src/platform_darwin.cc -> build/default/src/platform_darwin_4.o | |
/usr/bin/g++ -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DHAVE_MONOTONIC_CLOCK=0 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -Ideps/v8/include ../src/platform_darwin.cc -c -o default/src/platform_darwin_4.o | |
../src/platform_darwin.cc:213: error: expected constructor, destructor, or type conversion before ‘<’ token | |
Waf: Leaving directory `/Users/mockee/Sites/nodeProjects/node/b |
This file contains 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
:-moz-full-screen html, | |
:-moz-full-screen body, | |
html:-moz-full-screen, | |
body:-moz-full-screen { | |
overflow-y: auto | |
} |
This file contains 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
var http = require('http'), | |
jsdom = require('jsdom'), | |
nodemailer = require('nodemailer'); | |
smtpTransport = nodemailer.createTransport('SMTP', { | |
service: 'Gmail', | |
auth: { | |
user: '[email protected]', | |
pass: 'password' | |
} |
This file contains 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
<!-- Mobile meta & links --> | |
<!-- Reference | |
Custom Icon and Image Creation Guidelines: | |
http://developer.apple.com/library/safari/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html | |
Configuring Web Applications: | |
http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/configuringwebapplications/configuringwebapplications.html |
This file contains 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 'formula' | |
class Mysql51 < Formula | |
homepage 'http://dev.mysql.com/doc/refman/5.1/en/' | |
url 'http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/mysql-5.1.63.tar.gz' | |
md5 'ae5aef506088e521e4b1cc4f668e96d2' | |
depends_on 'readline' | |
def options |
This file contains 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
# Put this in ~/.zshrc | |
bindkey -v | |
# Put this in ~/.inputrc | |
set editing-mode vi |
This file contains 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
// 支持自定义命名空间 | |
Do.setConfig('namespace', 'Ark'); | |
// 利用 `Do` 自身的 `add` 来定义模块的方法名 | |
Do.add('cookie', { path: 'cookie.js' }); | |
Do.add('ajax', { path: 'ajax.js', requires:['cookie'] }); | |
Do('ajax', function() { | |
console.info(Ark.ajax); // Using ajax with cookie mod. | |
}); |
This file contains 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(win) { | |
var each = function(obj, iterator, context) { | |
if (!obj) { return; } | |
if (Array.prototype.forEach && obj.forEach) { | |
obj.forEach(iterator, context); | |
} else { | |
for (var i = 0, l = obj.length; i < l; i++) { | |
if (i in obj) { | |
iterator.call(context, obj[i], i, obj); |
This file contains 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
// Using new `define.js` | |
// https://gist.github.com/3699759 | |
// Set namespace & module exports aliases | |
define.ns('Ark'); | |
define.config({ | |
'mods/cookie': 'Ark.cookie', | |
'mods/ajax': 'Ark.ajax' | |
}); |
This file contains 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> | |
<html> | |
<head> | |
<title>Media Cpature API</title> | |
</head> | |
<body> | |
<input type="file" accept="image/*" capture="camera"> | |
<input type="file" accept="video/*" capture="camcorder"> | |
<input type="file" accept="audio/*" capture="microphone"> | |
</body> |
OlderNewer