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
// 压缩后: | |
<div id="article-content"><div><br></div><div>在这里写文章<div contenteditable="false" class="comment-tpl-wrap tpl-wrap" id="comment-tpl-2" data-id="3369401"><div class="comment-tpl"><div class="box-action"><span class="edit"><i class="icon pencil"></i> 修改</span><span class="remove"><i class="icon remove"></i> 删除</span></div><form class="comment-id-input ui form" style="display: none;"><div class="ui input action"><input type="text" placeholder="请输入目标评论的ID"><button type="submit" class="ui button icon"><i class="icon add sign"></i></button></div></form><div class="card comment-box-wrap" style="display: block;"><div class="comment-box"><a class="author-avatar" href="http://baidu.com" target="_blank"> <img alt="jyTI" src="http://www.regexbuddy.com/img/icon.png"></a><div class="box-info"><span class="author-name"><a href="http://baidu.com" target="_blank">jyTI</a></span><p contenteditable="true" class="comment-content">这是一段内容</p></div></div></div></div></div></div></div> | |
// 原始html: | |
<div id="article-content |
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
import os | |
import Image | |
#生成node 75x75 缩略图 | |
def make_node_thumb(path): | |
base, ext = os.path.splitext(path) | |
try: | |
im = Image.open(path) | |
except IOError: | |
print ' in IOError' |
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
@import "compass/utilities/sprites"; | |
@import "compass"; | |
@import "compass/css3"; | |
@import "reset"; | |
@import "basic"; | |
@import "header"; | |
@import "footer"; | |
@import "card"; | |
@import "badge"; |
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
<?xml version='1.0' encoding='UTF-8' ?> | |
<?charles serialisation-version='2.0' ?> | |
<map> | |
<toolEnabled>true</toolEnabled> | |
<mappings> | |
<mapMapping> | |
<sourceLocation> | |
<protocol>http</protocol> | |
<host>www.wandoujia.com</host> | |
<path>/campaign/remixme</path> |
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
Sampling process 64525 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling Xiami (pid 64525) every 1 millisecond | |
Process: Xiami [64525] | |
Path: /Applications/Xiami.app/Contents/MacOS/Xiami | |
Load Address: 0x108ed6000 | |
Identifier: com.xiami.client | |
Version: 1.3.2 (1826) | |
Code Type: X86-64 | |
Parent Process: launchd [149] |
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
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="ys" | |
# Example aliases |
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 lrSnippet = require('connect-livereload')(); | |
var rewriteRulesSnippet = require('grunt-connect-rewrite/lib/utils').rewriteRequest; | |
var mountFolder = function (connect, dir) { | |
return connect.static(require('path').resolve(dir)); | |
}; | |
module.exports = function (grunt) { | |
require('time-grunt')(grunt); |
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>搜狗高速浏览器双十一网购专版-剁手族的福音</title> | |
<meta content="text/html"; charset="utf-8"; http-equiv="Content-Type"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1"> | |
<script src="js/zepto.min.js"></script> | |
<style> | |
html,body{ |
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
/** | |
* canvas蒙板图片处理插件 | |
* ----------------------------- | |
* 作者:叼怎么写!- -|| | |
* 时间:2014-03-21 | |
* 准则:JS原型 | |
* 联系:wechat--shoe11414255 | |
* 一张网页,要经历怎样的过程,才能抵达用户面前 | |
* 一个特效,要经历这样的修改,才能让用户点个赞 | |
* 一个产品,创意源于生活,源于内心,需要慢慢品味 |