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
/* | |
* Copyright (C) Ds [email protected] | |
* File Name : convert_kml_to_svg.cpp | |
* Creation Time : 2014/12/25 12:37:27 | |
* Environment : OS X 10.8 & Vim 7.3 | |
*/ | |
#include <algorithm> | |
#include <iostream> | |
#include <cstdlib> | |
#include <cstring> |
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
<html> | |
<head> | |
<style> | |
body { | |
margin: 0; | |
} | |
#A { | |
text-align: center; | |
height: 100%; | |
} |
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
$("#post-index a:nth-child(-2n+7)").click(function() { | |
$('*').removeClass('current') | |
$(this).addClass('current') | |
} ); |
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
#ClCache { | |
display: none; | |
} | |
#wrapper { | |
font-family: "Microsoft YaHei", sans-serif; | |
font-size: 62.5%; | |
width: 100%; | |
background-color: #ebeff1; | |
} | |
#header_wrapper, |
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
a { | |
padding: 10px 20px; | |
font-family: helvetica; | |
font-size: 30px; | |
font-weight: bold; | |
text-shadow: 0 1px #fff; | |
line-height: 80px; | |
text-transform: uppercase; | |
color: #888; | |
text-decoration: none; |
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 style="width:100%; text-align:center" > | |
<div>Simple Hard Captcha</div> | |
<canvas id="icanvas"></canvas> | |
<div width="100%" id="answer">←v←</div> | |
<div><a href="http://farter.tk">farter</a></div> | |
<div><small>Text positioning broken<br />on firefox?</small></div> | |
</div> | |
<script> | |
var MODE=1; /* 1:Demonstration 2:Generate */ |
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>HTML Template Renderer</title> | |
</head> | |
<body> | |
A simple (and no library dependencies) HTML template renderer. <br/> Shu Ding @ 2015.4.15. View page source please. <br/> <a href="https://github.com/quietshu/template-renderer" target="_blank">https://github.com/quietshu/template-renderer</a> | |
<hr/> |
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 total = 0; | |
var startMoment = 0; | |
var timingInterval = null; | |
var displayTime = function (current) { | |
// console.log(current + total); | |
} | |
// start or continue | |
var startTiming = function () { |
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 add = function (x) { | |
var self = this; | |
self.value = x; | |
var fn = function (x) { | |
self.value += x; | |
return fn; | |
}; | |
fn.valueOf = function () { |
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
{"keys":"QI6GSA+HGOhA9DSFeAHAfG_GNBy11fCF_GdBAInIJTEUfT9ekPyF=AseBbDGJE41wLNBkTfnNXyFNB=iVU5TvTZUpUeArevmhQGUNYULbNdIgn@bTWdBiIgILTXTgnKY8TnQNBtilPpUWbfBxHnJ5TJvfmwLdBbT6NXJMTUESXoOSAfi-xlPpUBcDG5UAyy1UPUEOEkTVrIT=FQGNHiF+WuG5UtEcELBxH3JtIjQ5UcETEOEAy_WIIiTNIpU02ITlJPG1UinrisiFf1PpURExizaOGYOPB7DZUMEdERICILTYIDIiTxMzFPBkLPGfG5UHf+LNHmUNYAGzFBFbiRA5UIfQbdBSqAbiFDbhAmLpUimaTNBvTmQpUoArepTzGDGPB_t3eYTSFFbOBn1=bJUlQZUDbCFMEpAYPnJ2FpTlTOY@FPGNBZuCFmUWIXIKTkUWrcXdHiFJTIIAI-AwH2JALQGbN+AAb_GyFRAkL2UbE5UbU-R6JJE@WBFEb+GNIaUHJeAYPnJKJ4fIT4IfTPIjGAGzFNBfm3e=bZUZUpUqAa5pTtISrYTPGXJOTEEFbyF=AlL5UviaTNBYTyF7NgGMHvGSFRXCFEbdBwixLZUsAwHNHqJNI=WOGQGWUSr3ez1vmLyFfoTHJUJVb5U-iLygmz1KY5EPEGbxA9DZTEI+bAGBLdBNExiVUJUlQJUMEME@WFJSI_btIEIMTIIAImItTdB_TnQpUlmriITbH2J@F4OyAwH2J_GTGdIRIRItTXJMTXTgTVq-HNBrilPpUGIBI@WyKyFuBm1Tq-xWPkU12EfoTXJlBLT3JaJojhQZUmQ5UZAMTMHlUNYpUjETEeEPEPYaJSIiEMEKT0EMESIQIDI45IToIz2JYXZALVUNYZUEIQyITPLyFSFMEbAAXmUjTCIKTkEMEZUaJE2AbhAfiy1IuJYjGwAgEPEAIAIDcqJpUNYEL5UaAb5LTGO2FDG3JUK@FhAGFkU7eyL+AUqZTpUlQZUUrITqSZ |