Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
$ time node upload.js | |
Error: null | |
Body: <?xml version="1.0" encoding="utf-8" ?> | |
<rsp stat="ok"> | |
<photoid>7735964772</photoid> | |
</rsp> | |
real 0m5.517s | |
user 0m0.106s |
var express = require('express'); | |
var app = express(); | |
app.use( express.cookieParser() ); | |
app.use( express.session( { secret: 'blahblahblah' } ) ); | |
var OAuth= require('oauth').OAuth; |
{ | |
"name": "oauth-shares", | |
"description": "oauth twitter and flickr shares integration", | |
"version": "0.0.1", | |
"private": true, | |
"dependencies": { | |
"express": "3.x", | |
"oauth": "0.9.x" | |
} | |
} |
<?xml version="1.0"?> | |
<root><!-- | |
<item> | |
<name>Backquote to CapsLock and Escape to Backquote</name> | |
<identifier>private.swap_space_and_tab</identifier> | |
<autogen>__KeyToKey__ KeyCode::ESCAPE, KeyCode::BACKQUOTE</autogen> | |
<autogen>__KeyToKey__ KeyCode::BACKQUOTE, KeyCode::CAPSLOCK</autogen> | |
</item> | |
<item> | |
<name>Switch Input Source</name> |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
This is a requirement for brew in the next step. You can install XCode and then install Command Line Tools through the XCode preferences, or you can install just the Command Line Tools.
$ xcode-select --install
var esprima = require("esprima"), | |
esmangle = require("esmangle"), | |
escodegen = require("escodegen"), | |
src = "var fooga = \"wooga\";\n\nconsole.log(fooga);\n\nfooga += 1;", | |
ast, result; | |
ast = esprima.parse(src, { | |
loc : true, | |
tokens : true, |
8月20日,阿里校园招聘前端岗位的在线笔试将统一开始。在这之前,我们先玩一下热身赛吧! http://ued.taobao.com/quiz3/ 截至8月18日11:00之前成功通关并且表现优异的同学,将有机会收到我们的惊喜邮件!
以上是阿里巴巴集团校园招聘的某一条微博的内容。
虽然我早已不是学生,本着好奇心也要玩一玩此游戏!经过几个小时的奋斗,我看到了美女,但不知道那是不是 True Ending。也许很多人把游戏通关之后就不玩不去探索了,可我不一样!我玩游戏向来都是要尽量把所有隐藏要素都挖掘出来才算结束。
正是因为知道结果,才有可能去优化过程,一个工程师的职责难道不正是这个么?“如何自动化、智能地去过每一关”的想法让我的血液稍微沸腾了起来。又经过几个小时的编码及测试,自我感觉已经把“隐藏要素”挖得差不多了。现将各个关卡的过关要点及自动获取过关条件的 JavaScript 脚本放出来。
.modal { | |
width: 800px; | |
left: 40%; | |
} | |
.lightbox-content { | |
width: 100%; | |
} | |
.lightbox-image { |
$.fn.bindFirst = function(which, handler) { | |
// ensures a handler is run before any other registered handlers, | |
// independent of the order in which they were bound | |
var $el = $(this); | |
$el.unbind(which, handler); | |
$el.bind(which, handler); | |
var events = $._data($el[0]).events; | |
var registered = events[which]; | |
registered.unshift(registered.pop()); |