Skip to content

Instantly share code, notes, and snippets.

/**
* User: sunny
* Date: 13-10-28
* Time: 下午6:01
*/
var ObjectID = require('mongoskin').ObjectID;
var config = require('../../config');
var db = config.db;
var Pagination = require('../Pagination');
@yunnysunny
yunnysunny / dabblet.css
Created June 1, 2016 14:17
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@yunnysunny
yunnysunny / index.html
Created June 1, 2016 14:15 — forked from anonymous/index.html
New Document // source http://jsbin.com/kobakih
<!doctype html>
<html lang="zh-CN">
<head>
<title> New Document </title>
<meta name="Generator" content="NPP-Plugin">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<style type="text/css">
*{
@yunnysunny
yunnysunny / .gitignore
Last active August 29, 2015 14:05
百度搜索引擎死链获取工具
/.settings
/.jshintrc
/.project
/*.txt
/*.xml
/*.bat
// sets globals __line, __file, __ext, __dir
// copied and tweaked from: http://goo.gl/wwjGVV and http://goo.gl/umq4s1
// todo: __function and __method?
// begin setting magic properties into global
Object.defineProperty(global, '__stack', {
get: function(){
var orig = Error.prepareStackTrace;
Error.prepareStackTrace = function(_, stack){ return stack; };
var err = new Error;