Skip to content

Instantly share code, notes, and snippets.

View dishao123's full-sized avatar
🐔
本人菜鸡一个

帝少 dishao123

🐔
本人菜鸡一个
View GitHub Profile
@t0saki
t0saki / xyz-chooser.py
Last active March 26, 2025 09:04
选择xyz域名
from tqdm import tqdm
def score_number(num_str):
"""
对6位数字字符串进行评分:
1. 相邻重复位数:每遇到相邻相同的数字,得分为重复个数的平方
2. 数字6、8、9:每出现一个加0.5分
3. 不同数字数量:奖励为 6 - (不同数字的数量),乘以0.5
<script>
let selectedType = '';
let rules = [];
const ruleData = {
monitorDuration: 3,
minValue: 0,
maxValue: 0,
serverMap: {},
cycleStart: '',
@jinjier
jinjier / javdb-top250.md
Last active May 3, 2025 05:27
JavDB top 250 movies list. [Updated on 2025/04]
@moeyua
moeyua / collection.md
Last active March 19, 2025 02:09
由 Moeyua 搜集、整理、维护的、个人自用的收藏列表。

Collection

这里是由 Moeyua 搜集、整理、维护的、个人自用的收藏列表。

工具

一些在线的工具,可能是日常会用到的工具,也可能是开发相关的工具

  • bookmark.style - 可以将任意链接转换生成可分享的图片。
  • tldraw - 一个画图的地方。
@imba-tjd
imba-tjd / .Cloud.md
Last active May 4, 2025 03:46
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

其他人的集合

@zhuziyi1989
zhuziyi1989 / URL Schemes.md
Last active April 30, 2025 03:20
常用 URL Schemes 收集。

** 由于此文年事已久,可能某些 URL Schemes 已失效,可在评论区留言指出!(最后更新于 2024.10.28)

关于 URL Scheme 你知道多少?

iOS 系统中

由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在 APP 之间跳转的方法:URL Scheme。简单的说,URL Scheme 就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的 URL Scheme 都是不一样的,如果存在一样的 URL Scheme,那么系统就会响应先安装那个 APP 的 URL Scheme,因为后安装的 APP 的 URL Scheme 被覆盖掉了,是不能被调用的。

Android 系统中

@bmaupin
bmaupin / free-database-hosting.md
Last active May 3, 2025 19:22
Free database hosting
@poetries
poetries / 自动跳转页面代码
Created February 28, 2016 09:36
Html网页自动跳转页面代码全在这里了
方案一,用<meta>里直接写刷新语句:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="5;url=http://www.51rgb.com">
<title>html网页自动跳转代码--西农大网站</title>
</head>
<body>
测试:html网页自动跳转代码<br/>
@subfuzion
subfuzion / curl.md
Last active April 30, 2025 20:39
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@PurpleBooth
PurpleBooth / README-Template.md
Last active May 4, 2025 19:33
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites