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
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | |
<!-- 点名 --> | |
<ins class="adsbygoogle" | |
style="display:block" | |
data-ad-client="ca-pub-7536831447654223" | |
data-ad-slot="1381764171" | |
data-ad-format="auto"></ins> | |
<script> | |
(adsbygoogle = window.adsbygoogle || []).push({}); | |
</script> |
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
#!/bin/sh | |
[ "$ACTION" = ifup ] || exit 0 | |
[ "$INTERFACE" = wan ] || exit 0 | |
ipaddr=$(ifconfig pppoe-wan | grep inet | awk '{print $2}' | cut -c 6-) | |
logger $ipaddr | |
param='login_token=TOKEN&format=json&domain_id=29668&record_id=192014&sub_domain=sip&value='${ipaddr}'&record_type=A&record_line=默认' | |
curl -X POST https://dnsapi.cn/Record.Modify -d $param |
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
wget -p -k http://www.baidu.com/index.html |
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
Log = { | |
trace: true, | |
logPrefix: '(App)', | |
log: function() { | |
var args; | |
args = 1 <= arguments.length ? slice.call(arguments, 0) : []; | |
if (!this.trace) { | |
return; | |
} | |
if (this.logPrefix) { |
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
#!/bin/bash | |
##################################################################### | |
# Benchmark Script 2 by Hidden Refuge from FreeVPS # | |
# Copyright(C) 2015 - Hidden Refuge # | |
# License: GNU General Public License 3.0 # | |
# Github: https://github.com/hidden-refuge/bench-sh-2 # | |
##################################################################### | |
# Original script by akamaras/camarg # | |
# Original: http://www.akamaras.com/linux/linux-server-info-script/ # | |
# Original Copyright (C) 2011 by akamaras/camarg # |
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 | |
class Readability { | |
// 保存判定结果的标记位名称 | |
const ATTR_CONTENT_SCORE = "contentScore"; | |
// DOM 解析类目前只支持 UTF-8 编码 | |
const DOM_DEFAULT_CHARSET = "utf-8"; | |
// 当判定失败时显示的内容 |
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
server_addr: "t.mypi.win:4443" | |
trust_host_root_certs: false |
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
[Dialer 3gconnect] | |
Init1 = ATZ | |
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 | |
Init3 = AT+CGDCONT=1,"IP","internet" | |
Stupid Mode = 1 | |
Modem Type = Analog Modem | |
ISDN = 0 | |
Phone = *99# | |
#Modem = /dev/gsmmodem | |
Modem = /dev/ttyUSB0 |
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
var day = parseInt( (trip_end_date - trip_start_date)/1000/3600/24 ) +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
#!/bin/sh | |
######################################## | |
# | |
# Tommy DnsPod DDNS Client v0.2.0 | |
# | |
# Author: Tommy Lau <[email protected]> | |
# | |
# Created: 2015-02-23 08:52:00 UTC | |
# Updated: 2016-07-15 15:48:00 UTC |