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
<script src="https://storage.mashiro.space/assets/js/hitokoto.min.js"></script> | |
<div> | |
<p class="hitokoto"></p> | |
<p class="from"></p> | |
</div> |
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 | |
error_reporting(E_ERROR); | |
ini_set("display_errors","Off"); | |
$request = "https://api.vultr.com/v1/server/bandwidth?SUBID=YOUR_SUBID&api_key=YOUR_API_KEY"; | |
$serviceInfo = json_decode(file_get_contents($request)); | |
$income = $serviceInfo->incoming_bytes; | |
$outgo = $serviceInfo->outgoing_bytes; | |
$sumin = 0; | |
$sumout = 0; | |
foreach ($income as $invalue) { |
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
// 定义数字0: | |
var zero = function (f) { | |
return function (x) { | |
return x; | |
} | |
}; | |
// 定义数字1: | |
var one = function (f) { | |
return function (x) { |
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
<!--蜜汁Ajax--> | |
<div class="commentshow" id="commentshow"> | |
<div id="loading-comments"><span>Loading...</span></div> | |
<ol class="comments-list"> | |
<?php wp_list_comments('type=comment&callback=weisay_comment&reverse_top_level=1'); ?> | |
</ol> | |
<div class="commentnav"> | |
<?php paginate_comments_links(); ?> | |
<script> | |
//Ajax评论,待优化。。 |
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
#coding=utf-8 | |
import requests | |
import json | |
import mimetypes | |
from PIL import ImageGrab | |
import datetime | |
def upload(files): | |
APIKey = "YOUR API KEY" | |
format = "json" |
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; | |
listen [::]:443; | |
server_name cdn.xxx.xxx; | |
ssl on; | |
root /var/www/html; | |
index index.php index.html index.htm index.nginx-debian.html; |
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
import requests | |
import pypyodbc | |
import json | |
import time | |
import random | |
import os | |
############## | |
# Parameters # | |
url = "https://example.com" |
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
<style> | |
body { | |
background: #FFAFBD; | |
/* fallback for old browsers */ | |
background: -webkit-linear-gradient(to right, #ffc3a0, #FFAFBD); | |
/* Chrome 10-25, Safari 5.1-6 */ | |
background: linear-gradient(to right, #ffc3a0, #FFAFBD); | |
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ | |
} |
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
{"tags":[],"lastModified":1518004271313} |
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
10/25 13:36:14: Launching 'app' on Xiaomi MI NOTE LTE. | |
$ adb shell am start -n "ceui.lisa/ceui.lisa.activities.CoverActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D | |
Connecting to ceui.lisa | |
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. | |
W/ActivityThread: Application ceui.lisa is waiting for the debugger on port 8100... | |
I/System.out: Sending WAIT chunk | |
I/art: Debugger is active | |
I/System.out: Debugger has connected | |
waiting for debugger to settle... |
OlderNewer