Skip to content

Instantly share code, notes, and snippets.

View xiaozhu2007's full-sized avatar
🤒
emo

HackPig520 / 甜力怕 xiaozhu2007

🤒
emo
View GitHub Profile
@xiaozhu2007
xiaozhu2007 / oba-warden.sh
Created October 5, 2024 09:03
此脚本通过提取 PM2 日志获取 OpenBMCLAPI 巡检的 IP
cat ~/.pm2/logs/run-sh-out.log | grep "warden" | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort | uniq >> ~/ip-bmclapi-warden.txt
cat ~/.pm2/logs/run2-sh-out.log | grep "warden" | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort | uniq >> ~/ip-bmclapi-warden.txt
# cat ~/bmclapi-warden.ip.txt | sort | uniq > ~/bmclapi-warden.ip.txt
# cat bmclapi-warden.ip.txt | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort | uniq > bmclapi-warden.ip.txt
Markdown....... 2h 23m ..............................4.5%
TypeScript..... 1h 21m ..............................2.5%
Python......... 1h 2m ...............................1.9%
Astro.......... 21m 13s .............................0.7%
Other.......... 2d 0h ..............................90.4%
@xiaozhu2007
xiaozhu2007 / gist:77dd9ebb209d773ca5b8b621ef538495
Last active February 27, 2024 06:37
Paste your minecraft logs to these website
https://mclo.gs/
https://pastes.dev/
https://pastebin.com/
https://pasteme.cn/
https://www.toptal.com/developers/hastebin
https://www.luogu.com.cn/ (Need Register or Login)
http://paste.ubuntu.com/ (Need Register or Login)
@xiaozhu2007
xiaozhu2007 / main.html
Created February 19, 2024 13:00
FPS 检测并输出提示语(嗯,偷的conquer1the2world3/bolo-blog)
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
<script>
if (
window.localStorage.getItem("fpson") == undefined ||
window.localStorage.getItem("fpson") == "1"
@xiaozhu2007
xiaozhu2007 / IP_For_DDoS.txt
Created November 20, 2023 11:43
【持续更新】用于网站DDoS的IP
103.30.140.155
192.42.116.194
125.164.233.145
103.230.81.9
107.189.13.184
193.35.18.105
144.126.132.30
181.232.190.114
43.254.126.211
103.124.196.133
@xiaozhu2007
xiaozhu2007 / load_time_data.js
Created March 26, 2023 00:38
This file defines a singleton which provides access to all data that is available as soon as the page's resources are loaded (before DOM content has finished loading). This data includes both localized strings and any data that is important to have ready from a very early stage (e.g. things that must be displayed right away).
"use strict";
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview
* NOTE: This file is deprecated, and provides only the minimal LoadTimeData
* functions for places in the code still not using JS modules. Use
* load_time_data.ts in all new code.
*
@xiaozhu2007
xiaozhu2007 / novelaileak.ipynb
Created December 26, 2022 04:59
novelaileak
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
if [[ -z "$NGROK_TOKEN" ]]; then
  echo "Please set 'NGROK_TOKEN'"
  exit 2
fi
if [[ -z "$USER_PASS" ]]; then
  echo "Please set 'USER_PASS' for user: $USER"

Keybase proof

I hereby claim:

  • I am xiaozhu2007 on github.
  • I am xiaozhu2007 (https://keybase.io/xiaozhu2007) on keybase.
  • I have a public key whose fingerprint is C053 1EA7 E604 AA0E 1B29 63CF 4F12 8A56 806C 3082

To claim this, I am signing this object:

@xiaozhu2007
xiaozhu2007 / index.html
Last active December 6, 2022 07:20
青骄第二课堂禁毒--期末考试结果源码+背景(可截图)
<div class="exam-box">
<p class="exam-results-title">您的期末考试结果</p>
<span
><div>
<div class="final-exam">
<div>
<span class="final-exam-result">优秀</span
><span class="final-exam-semester">一</span
><span class="final-exam-account"
><!-- react-text: 170 -->你的姓名