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
# 把 Timebook App 中模糊的图片变为高清 | |
# 重写类型 302 | |
# 用以匹配的 URL | |
^https\:\/\/footprint\-image\.beautyvector\.cn\/(.*)!image_gauss_fuzzy | |
# 跳转后的 URL | |
https://footprint-image.beautyvector.cn/$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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import platform | |
import sys | |
import threading | |
import requests | |
from telegram import Bot, InlineKeyboardMarkup, InlineKeyboardButton | |
from telegram.utils.request import Request |
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
package com.junbaor.demo; | |
import java.util.Stack; | |
public class EvaluateMain { | |
public static void main(String[] args) { | |
//从左到右计算, 支持小括号 | |
System.out.println(calcEvaluate("(1+2+4)*3-(8+2)")); | |
} |
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
/* | |
<dependency> | |
<groupId>com.caucho</groupId> | |
<artifactId>hessian</artifactId> | |
<version>4.0.38</version> | |
</dependency> | |
*/ | |
import com.caucho.hessian.io.HessianInput; | |
import com.caucho.hessian.io.HessianOutput; |
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
# 系统信息: | |
1. `uname -a`: | |
Linux archlinux 4.11.6-1-ARCH #1 SMP PREEMPT Sat Jun 17 08:19:42 CEST 2017 x86_64 GNU/Linux | |
2. `lsb_release -a`: | |
LSB Version: 1.4 | |
Distributor ID: Arch | |
Description: Arch Linux |
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
private static final String SRC = "D:\\Screenshot_2016-12-26-13-59-44-263_支付宝.png"; | |
public static void main(String[] args) throws IOException { | |
cutImage(SRC, "D:\\out\\src_out_" + 0 + ".png", 475, 1568, 489, 491); | |
} | |
/** | |
* 裁剪图片 | |
* | |
* @param sourcePath 源文件 |
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
package com.junbaor.test; | |
import org.apache.commons.io.IOUtils; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.PrintWriter; | |
import java.net.ServerSocket; | |
import java.net.Socket; |
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
<!-- 使用说明 --> | |
<!-- 先打开相应的百度云 web 页面,按 F12 打开开发人员工具,选中 console 标签,粘贴代码回车执行 --> | |
<!-- 删除短信 --> | |
setInterval(function(){ | |
$(".check-all.default-check-all").click(); | |
$(".button_batch.btn_hover").click(); | |
$(".alert-dialog-commands.clearfix.center>:first-child").click(); | |
}, 2000); |