Skip to content

Instantly share code, notes, and snippets.

View d1y's full-sized avatar
💤

Kitten d1y

💤
View GitHub Profile
@d1y
d1y / xm_apps.json
Last active November 10, 2025 15:38
{
"apps": [
{
"name": "Hacker News",
"icon": "https://news.ycombinator.com/y18.svg",
"url": "https://news.ycombinator.com",
"type": 0
},
{
"name": "V2EX",
@d1y
d1y / fabu.html
Last active October 28, 2025 11:16
小猫影视发布页
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>小猫影视</title>
<!-- favicon -->
<link rel="icon" href="https://raw.githubusercontent.com/waifu-project/movie/refs/heads/dev/logo.png">
</link>
@d1y
d1y / t4.json
Created September 30, 2025 07:49
[
{
"id": "t4-pinguo",
"name": "小苹果(T4)",
"api": "https://tvbot.ggff.net/pingguo",
"nsfw": false,
"type": 1,
"extra": {
"template": "t4"
}
@d1y
d1y / 1.dart
Created September 18, 2025 05:46
enum SourceType {
maccms, // 0
universal, //
// drpy,
}
class SourceMeta extends Equatable {
final String id;
final String name;
final SourceType type;
var D;
(function(e) {
e.Root = "root", e.Text = "text", e.Directive = "directive", e.Comment = "comment", e.Script = "script", e.Style = "style", e.Tag = "tag", e.CDATA = "cdata", e.Doctype = "doctype";
})(D || (D = {}));
function Ea(e) {
return e.type === D.Tag || e.type === D.Script || e.type === D.Style;
}
const zu = D.Root, e0 = D.Text, Ta = D.Directive, u0 = D.Comment, ma = D.Script, Aa = D.Style, wu = D.Tag, _a = D.CDATA, pa = D.Doctype;
class t0 {
constructor() {
@d1y
d1y / ikun
Created May 29, 2025 03:12
IKunn
#!/usr/bin/env node
async function login(email, password) {
try {
const formData = new URLSearchParams({
host: 'ikuuu.one',
email: email,
passwd: password,
remember_me: 'on',
code: ''
@d1y
d1y / keymap.json
Created April 17, 2025 05:27 — forked from oca159/keymap.json
zed keymap.json with same lazyvim keymaps
[
// Terminal
{
"context": "Workspace",
"bindings": {
"ctrl-/": "workspace::ToggleBottomDock"
}
},
// Window's navigation
{
diff --git a/crates/language_extension/Cargo.toml b/crates/language_extension/Cargo.toml
index 31b92d35cf..245960c650 100644
--- a/crates/language_extension/Cargo.toml
+++ b/crates/language_extension/Cargo.toml
@@ -25,3 +25,4 @@ serde.workspace = true
serde_json.workspace = true
util.workspace = true
workspace-hack.workspace = true
+regex.workspace = true
diff --git a/crates/language_extension/src/extension_lsp_adapter.rs b/crates/language_extension/src/extension_lsp_adapter.rs
@d1y
d1y / colors.js
Last active August 2, 2024 19:24
let value = `.bg-yellow-gradient {
background-image: linear-gradient(45deg, #f5fe00, #ff6600) !important;
color: $dark-3 !important;
}
.bg-orange-gradient {
background-image: linear-gradient(45deg, #ff9700, #ed1c24) !important;
color: $white !important;
}
.bg-red-gradient {
background-image: linear-gradient(45deg, #f33a41, #ed0586) !important;
[
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft",
"when": "!terminalFocus"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight",
"when": "!terminalFocus"