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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1 | |
mQENBFkgK7UBCADiDZCI37cTPEGW9hHP0AcsVItwozCjjd2bGdNoxOdINiQKHuaX | |
ILDipjwM1MgaLDculcbzH/LekviL8IKqwJbqWsNJfG6OW2WPUvn+UbCOdBzp2+Be | |
QO4vNFEaZGINeZ5cQuXU/+Z8kV0TauIqc3ngGxF4F/Kp1PNLtX8j5+LoV68pcTUt | |
ojmHXDc2gfFtH/bxAcZtpXyU2KgKGJab6ojOc/EE72qUe/+T/fiEhqQ+vUPdUgMe | |
Zl3CCi2+h9pe75lm2mlNi+jQjG/mS499bCgfFfZUAICniO0KKja++Wox4v/uDCyz | |
B/FRg5uuZJaliaWD8EF6AS5IP0NLpXJkqkDnABEBAAG0JjYyMXNhbWEgKHByaW50 | |
ZW1wdykgPGhAcHJpbnpldWdlbi5uZXQ+iQE2BBMBCgAgBQJZICu1AhsDBQsJCAcD |
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
# @Author: printempw | |
# @Date: 2017-05-13 17:54:48 | |
# @Last Modified by: printempw | |
# @Last Modified time: 2017-05-13 21:37:41 | |
cat /dev/null > ff.txt | |
# 防止变成 1、10、2、3 这样的顺序 | |
for i in `ls -1 *.flv | sort -n`; do | |
echo "file '${i}'" >> ff.txt; |
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
/* 忘记从哪本书里扒出来的了,待优化,仅做备份 */ | |
body {font-family:song;} | |
/*封面*/ | |
.cover{height:100%;} | |
/*书名页*/ | |
.smy-sm{font-size:2em;font-family:hei;margin-top:2em;margin-bottom:0em;text-align:center;font-weight:normal;} | |
/*书名页*/ |
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
location / { | |
try_files $uri $uri/ /index.php?$query_string; | |
} |
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
$.disqusLoader('.disqus', { | |
scriptUrl: '//blessing-studio.disqus.com/embed.js', | |
laziness: 0, | |
preLoadCallback: function () { $('.disqus-notice').show() }, | |
disqusConfig: function () { | |
this.callbacks.onReady = [function () { | |
$('.disqus-notice').hide() | |
}]; | |
} | |
}); |
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
<?php | |
/** | |
* @Author: printempw | |
* @Date: 2017-01-10 22:44:20 | |
* @Last Modified by: printempw | |
* @Last Modified time: 2017-01-10 23:09:35 | |
*/ | |
$xmlString = file_get_contents('./blessing-studio-2017-01-10T14_38_39.483395-all.xml'); |
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
server { | |
listen 443 ssl http2; | |
server_name your-domain.com www.your-domain.com; | |
index index.html index.htm index.php; | |
# Let's Encrypt Certificate | |
ssl_certificate /etc/letsencrypt/live/your-domain.com/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/your-domain.com/privkey.pem; | |
ssl_session_timeout 10m; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
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
location / { | |
if (-f $request_filename/index.html){ | |
rewrite (.*) $1/index.html break; | |
} | |
if (-f $request_filename/index.php){ | |
rewrite (.*) $1/index.php; | |
} | |
if (!-f $request_filename){ | |
rewrite (.*) /index.php; | |
} |
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 class="btn btn-default" href="javascript:disqus.load();">点击以加载 Disqus</a> |
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
<p>更新包大小:<span id="file-size">0</span> Bytes</p> | |
<!-- 进度条 --> | |
<div class="progress"> | |
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"> | |
<span id="imported-progress">0</span>% | |
</div> | |
</div> | |
<script> | |
// 更新进度条的函数 |