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
package main | |
import ( | |
"fmt" | |
) | |
type point struct { | |
x, y int //节点坐标 | |
} |
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
package main | |
import ( | |
"crypto/rsa" | |
"crypto/rand" | |
"fmt" | |
"encoding/pem" | |
"crypto/x509" | |
"encoding/asn1" | |
"crypto" |
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 cheerio = require('cheerio'); | |
var request = require('request'); | |
var fs = require('fs'); | |
var baseurl = 'http://www.tjftbc.com/product/'; | |
var $,category = []; | |
request(baseurl,function(error,response,body){ | |
if (!error && response.statusCode == 200) { | |
$ = cheerio.load(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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>HTML5 Drag And Drop</title> | |
<style>#wrap{ | |
width:700px; | |
margin:0 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
/*** | |
*[crackme] from http://bbs.pediy.com/showthread.php?t=21532 | |
*i can not write the keygen,just decompile the code,write the program execute flow. | |
***/ | |
#include "stdio.h" | |
#include "string.h" | |
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
eyJjb25maWciOiJ7XCJmaXJzdFRpbWVcIjpcIjpdXCIsXCJwcm94eU1vZGVcIjpcImF1dG9cIixcImF1dG9QYWNTY3JpcHRQYXRoXCI6XCI6bWVtb3J5OlwiLFwicnVsZUxpc3RVcmxcIjpcImh0dHBzOi8vYXV0b3Byb3h5LWdmd2xpc3QuZ29vZ2xlY29kZS5jb20vc3ZuL3RydW5rL2dmd2xpc3QudHh0XCIsXCJydWxlTGlzdFJlbG9hZFwiOlwiNzIwXCIsXCJydWxlTGlzdFByb2ZpbGVJZFwiOlwiR29BZ2VudFwiLFwicnVsZUxpc3RBdXRvUHJveHlcIjp0cnVlLFwic3dpdGNoUnVsZXNcIjp0cnVlLFwicnVsZUxpc3RFbmFibGVkXCI6dHJ1ZSxcInBhY1NjcmlwdERhdGFcIjpcIlwiLFwicHJveHlTZXJ2ZXJcIjpcIlwiLFwicXVpY2tTd2l0Y2hcIjpmYWxzZSxcInF1aWNrU3dpdGNoVHlwZVwiOlwiYmluYXJ5XCIsXCJyZWFwcGx5U2VsZWN0ZWRQcm9maWxlXCI6dHJ1ZSxcImNvbmZpcm1EZWxldGlvblwiOmZhbHNlLFwicnVsZXNGaXJzdFRpbWVcIjpcIjtdXCIsXCJtb25pdG9yUHJveHlDaGFuZ2VzXCI6ZmFsc2UsXCJwcmV2ZW50UHJveHlDaGFuZ2VzXCI6ZmFsc2UsXCJsYXN0TGlzdFVwZGF0ZVwiOlwiRnJpIEZlYiAwMSAyMDEzIDEwOjI3OjMyIEdNVCswODAwICjkuK3lm73moIflh4bml7bpl7QpXCIsXCJwcm94eUNvbmZpZ1VybFwiOlwiOm1lbW9yeTpcIixcInJlZnJlc2hUYWJcIjpmYWxzZSxcInN0YXJ0dXBQcm9maWxlSWRcIjpcIlwifSIsImRlZmF1bHRSdWxlIjoie1wiaWRcIjpcImRlZmF1bHRSdWxlXCIsXCJuYW1lXCI6XCJEZWZhdWx0IFJ1 |
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
// QQ表情插件 | |
(function($){ | |
var face_cn = ['微笑','撇嘴','色','发呆','流泪','害羞','闭嘴','睡','大哭','尴尬','发怒','调皮','龇牙','惊讶','难过', | |
'冷汗','抓狂','吐','偷笑','可爱','白眼','傲慢','饥饿','困','惊恐','流汗','憨笑','大兵','奋斗','咒骂','疑问','嘘','晕', | |
'折磨','衰','敲打','再见','擦汗','抠鼻','糗大了','坏笑','左哼哼','右哼哼','哈欠','鄙视','委屈','快哭了','阴险','亲亲', | |
'吓','可怜','抱抱','月亮','太阳','炸弹','骷髅','菜刀','猪','西瓜','咖啡','米饭','心碎','强','弱','握手','胜利','抱拳','勾引','OK','NO', | |
'玫瑰','凋谢','示爱','爱情','飞吻']; | |
$.fn.qqFace = function(options){ | |
var defaults = { | |
id : 'facebox', |
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
############################################################################## | |
#\tThe format of the QQWry datafile can be referred at | |
#\thttp://lumaqq.linuxsir.org/article/qqwry_format_detail.html. | |
#\tBy JerryWang 2013年1月8日13:44:43 | |
#\tThe latest version of QQWry datafile can be found at http://www.cz88.net/fox/ | |
############################################################################## | |
use strict; | |
use warnings; | |
use v5.10; |
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
// ==UserScript== | |
// @name My Fancy New Userscript | |
// @namespace http://saediy.sinaapp.com/ | |
// @version 0.1 | |
// @match http://www.douban.com/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
// @require http://autoupdate.sinaapp.com/autoupdatehelper.js | |
// @copyright 2012+, JerryWang | |
// ==/UserScript== |
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
#!/usr/bin/env python | |
########################################## | |
# to get infomation from www.jiayuan.com | |
# a website where maybe u can find a girl friend there,LoL.. | |
# need pyquery termcolor installed. | |
# sudo easy_install pyquery | |
# sudo easy_install termcolor | |
# by jerryWang 2012.7.26 | |
########################################## |
NewerOlder