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
body { | |
font-family: "Helvetica Neue", Ubuntu, "WenQuanYi Micro Hei", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Micro Hei Mono", "WenQuanYi Zen Hei", "WenQuanYi Zen Hei", "Apple LiGothic Medium", "SimHei", "ST Heiti", "WenQuanYi Zen Hei Sharp", Arial, sans-serif !important; | |
} | |
div#Box_right, #pl_content_biztips, #plc_main>.WB_main_r, div[node-type="feed_spread"], #v6_pl_ad_bottomtip, #v6_pl_content_biztips {display:none !important;} | |
.W_func,div[feedtype="ad"], body .footer_adv {display: none !important} | |
body .send_weibo .input .input_detail { | |
width: -webkit-calc(100% - 14px); | |
width: calc(100% - 14px) !important; | |
} | |
body .WB_main_c {width: 99% !important;margin: 0 !important;} |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
# RewriteBase 是文件目录 | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# RewriteRule 是映射到的实际文件 | |
RewriteRule . /index.php [L] |
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
<div class="post"> | |
<a href="http://www.flickr.com/photos/poagao/4127369934/in/faves-sealour/"> | |
<img class="RDW" width="1024" height="683" src="http://farm3.staticflickr.com/2784/4127369934_cd5c6a6f68_b.jpg" alt=""> | |
</a> | |
</div> |
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
<?php | |
function format_url($url,$slash) | |
{ | |
/* | |
* 规范化 URL | |
* 判断是否使用 HTTPS 链接,当是 HTTPS 访问时候自动添加 | |
* 自动添加链接前面的 http:// | |
* $slash 是判断是否要后面添加斜杠 | |
*/ | |
if (substr($url,0,4)!='http') { |
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
jQuery(document).ready(function($) { | |
$(document).on('mouseenter','.sup', | |
function () { | |
var suptext = $(this).data("text"); | |
var supimg = $(this).data("img"); | |
var surtext = $(this).data("sur"); | |
var subtext = $(this).data("sub"); | |
var sultext = $(this).data("sul"); | |
var sTop = $(window).scrollTop() | |
var wHeight = $(window).height(); |
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
<!doctype html> | |
<html lang="zh"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Easy Retina Picture</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> | |
<script> | |
jQuery(document).ready(function($) { | |
function retinaImg (ajaxBox) { | |
if (ajaxBox) { |
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
<?php | |
$name = $_GET['n']; //获取文件名 | |
$Extension = substr(strrchr($name, "."), 1); //获取格式名 | |
$Pictures = array("png","jpg","jpeg","gif","svg"); | |
$Audios = array("mp3","m4v","m4a","wav","mpa"); | |
$Videos = array("mp4","mov","ogv","ogg","webm"); | |
if (in_array($Extension,$Videos)) { //判断格式设置对应文件夹 | |
$Folder = "videos/"; |
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
#Top {background: #333;} | |
#Top, .item, .item_node, #Search div, .dock_area, .topic_buttons, .super.button, .topic_buttons:hover, .super.button:hover, #Wrapper {background-image: none !important;} | |
#Search div {background-color: #fff !important;border-radius: 19px;} | |
.topic_buttons {background-color: #eee;} | |
.normal.button,.normal.buttonhover {text-shadow: 0 0 0 #fff;} | |
.box, .normal.button, .normal.button:hover, textarea,input.sl {text-shadow: 0 0 0 #fff;box-shadow: 0 0 0 #fff !important;} | |
.box {border-width: 0;} | |
img[alt="V2EX"] {-webkit-filter: invert(100%);} | |
a, input {transition: all .3s;} |
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
<?php | |
if ($_GET["uk"]) { | |
$bUrl = $_GET["url"]."&uk=".$_GET["uk"]; | |
} else { | |
$bUrl = $_GET["url"]; | |
} | |
@$bPage = file_get_contents($bUrl); | |
// fclose($bUrl); | |
preg_match_all('%\\\"dlink\\\"(.*?)&sh=1%si', $bPage, $dLink); | |
$dLink = substr(str_replace("\\\\/","/",$dLink[0][0]),12); |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
.center { | |
text-align: center; | |
} | |
.centerbox { |