Skip to content

Instantly share code, notes, and snippets.

View Bpazy's full-sized avatar
😋
funny code

Ziyuan Han Bpazy

😋
funny code
  • Nanjing, China
  • 08:42 (UTC +08:00)
View GitHub Profile
@Bpazy
Bpazy / tag_v2ex_username.user.js
Created March 23, 2023 08:15 — forked from Pil0tXia/tag_v2ex_username.js
油猴脚本:给 V2EX 用户打标签
// ==UserScript==
// @name 给 V2EX 用户打标签
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.v2ex.com/*
// @match http*://*.v2ex.com/*
// @match http*://v2ex.com/*s
// @match https://v2ex.com/
@Bpazy
Bpazy / AppointmentForMarriage.java
Created April 19, 2022 18:11
江苏省结婚登记预约
```java
package com.github.bpazy.test.toy;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.client.methods.RequestBuilder;
@Bpazy
Bpazy / gist:44ece9acc4fedd50376e943e23dc0c9b
Created January 20, 2021 17:41
SSPanel-Uim 修改加密协议

如果你的机场关闭了 SSPanel 修改加密协议的入口,而你又有要修改的需求,那么可以打开控制台,输入:

$.ajax({
    type: "POST",
    url: "/user/method",
    dataType: "json",
    data: {
        method: 'aes-256-gcm'
    },
 success: (data) => {
We couldn’t find that file to show.

有精度问题,bgint最大值263-1,而文档中说一个字符串和一个整数放在一起的情况(如下图)会被转成浮点数:

1

而浮点数比较要看软硬件平台,文档也没说得很清楚。 2

CREATE TABLE `bigint_length_test` (