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
<style type="text/css"> | |
#allmap {width: 100%;height: 100%;overflow: hidden;margin:0;} | |
</style> | |
<div id="allmap"></div> | |
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=myTuIQ3Uc0cfVMp8Mhocf5MW"></script> | |
<script type="text/javascript"> | |
var map = new BMap.Map("allmap"); | |
var point = new BMap.Point(116.404, 39.915); | |
map.centerAndZoom(point, 15); |
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 'nokogiri' | |
require 'open-uri' | |
doc = Nokogiri::HTML(open('http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%253daps&field-keywords=women+dress')) | |
doc.css('.a-fixed-left-grid-col.a-col-right').each do |c| | |
a=c.css('.s-access-detail-page') | |
p [a.text, a.attr('href').value, c.css('.s-price').text] | |
end |
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
<html> | |
<head> | |
<style> | |
body { | |
color:white; | |
background:black; | |
} | |
</style> |
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
package main | |
import ( | |
"github.com/elazarl/goproxy" | |
"log" | |
"net/http" | |
"regexp" | |
) | |
var players = map[string] string { | |
"youku_loader": "http://chat.saas.bdfzer.com/uploads/20131101171855-loader.swf", |
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
#!/user/bin/env ruby | |
#coding: utf-8 | |
APP_ROOT = File.dirname(__FILE__) | |
PROJECT_NAME = 'My Fantastic Game' | |
PROJECT_HOST = '0.0.0.0' | |
WEB_PORT = 9292 | |
WS_PORT = 8080 | |
COOKIE_KEY = 'my.session.key' | |
COOKIE_SECRET = 'shh_replace_me_withsomething_moresecret' |
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
Started GET "/self_drivings/44?status=success&fee=1&bankDealId=130913404926&bankId=BOC&ext1=44&payAmount=1&dealId=1185702759&orderTime=20130913143903&signMsg=9CCC771523EBED8B58C5296ECF823404&payType=10&language=1&errCode=&version=v2.0&ext2=&signType=1&orderAmount=1&orderId=ZJ20130913143836728&dealTime=20130913144138&merchantAcctId=1002213648401&payResult=10" for 1.83.125.41 at 2013-09-13 14:41:11 +0800 | |
Processing by SelfDrivingsController#show as HTML | |
Parameters: {"status"=>"success", "fee"=>"1", "bankDealId"=>"130913404926", "bankId"=>"BOC", "ext1"=>"44", "payAmount"=>"1", "dealId"=>"1185702759", "orderTime"=>"20130913143903", "signMsg"=>"9CCC771523EBED8B58C5296ECF823404", "payType"=>"10", "language"=>"1", "errCode"=>"", "version"=>"v2.0", "ext2"=>"", "signType"=>"1", "orderAmount"=>"1", "orderId"=>"ZJ20130913143836728", "dealTime"=>"20130913144138", "merchantAcctId"=>"1002213648401", "payResult"=>"10", "id"=>"44"} |
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
[core] | |
editor = vim | |
pager = less -F -X | |
[color] | |
ui = true | |
[user] | |
email = [email protected] | |
name = kikyous | |
[alias] | |
s = status |
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
" Modeline and Notes | |
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker: | |
" | |
" _ _ _ _ | |
" | | _(_) | ___ _ __ _(_)_ __ ___ | |
" | |/ / | |/ / | | |____\ \ / / | '_ ` _ \ | |
" | <| | <| |_| |_____\ V /| | | | | | | | |
" |_|\_\_|_|\_\\__, | \_/ |_|_| |_| |_| | |
" |___/ | |
" |
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
;;配置路径 | |
(add-to-list 'load-path "~/.emacs.d") | |
(add-to-list 'load-path "~/.emacs.d/evil") | |
(add-to-list 'load-path "~/.emacs.d/auto-complete") | |
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes") | |
;;摘掉菜单,工具栏和滚动条 | |
;;M-` or F10 菜单唤出热键 | |
;; (if (fboundp 'menu-bar-mode) (menu-bar-mode -1)) | |
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1)) |
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
_ _ _ _ | |
| | _(_) | ___ _ __ _(_)_ __ ___ | |
| |/ / | |/ / | | |____\ \ / / | '_ ` _ \ | |
| <| | <| |_| |_____\ V /| | | | | | | | |
|_|\_\_|_|\_\\__, | \_/ |_|_| |_| |_| | |
|___/ | |
Font Name: Standard | |
http://patorjk.com/software/taag/#p=display&f=Standard&t=kiky-vim |