Skip to content

Instantly share code, notes, and snippets.

View tc-imba's full-sized avatar
🏫
Working from school

Liu Yihao tc-imba

🏫
Working from school
View GitHub Profile
@tc-imba
tc-imba / bilibili_find_reply.js
Last active December 14, 2023 22:03
Bilibili私信找到第一个未回复的人
var container = $(".list-container.ps");
var timer = setInterval(
function () {
container.scrollTop(container[0].scrollHeight);
var notify = container.find(".notify.notify-number");
if (notify) {
container.scrollTop(notify[0].top);
clearInterval(timer);
}
}, 100
@tc-imba
tc-imba / github-embed-gist-dark.css
Created October 14, 2022 08:03
GitHub embed gist doesn't have a dark theme. Put the following code in the iframe as a <style> tag to recover the original GitHub gist with dark mode!
/*!
* GitHub Dark v0.5.0
* Copyright (c) 2012 - 2017 GitHub, Inc.
* Licensed under MIT (https://github.com/primer/github-syntax-theme-generator/blob/master/LICENSE)
*/
.gist {
--color-canvas-default-transparent: rgba(34,39,46,0);
--color-page-header-bg: #22272e;
--color-marketing-icon-primary: #6cb6ff;
{
"openapi": "3.0.2",
"info": {
"title": "test",
"description": "test",
"version": "0.1.1"
},
"paths": {
"/": {
"get": {
@tc-imba
tc-imba / minecraft.md
Last active February 8, 2022 10:30
minecraft
@tc-imba
tc-imba / msys2.md
Last active October 19, 2020 16:40
Install msys2 with choco

Introduction

Chocolatey is the package manager for Windows.

You can install the msys2 environment with chocolatey, and install mingw in msys2.

Procedure

  1. Open the Windows Powershell with administration user.
  2. Run the install script from Chocolatey.
@tc-imba
tc-imba / #VE280 SU2020 reference parsing
Last active June 23, 2020 07:31
VE280 SU2020 reference parsing
VE280 SU2020 reference parsing
### Keybase proof
I hereby claim:
* I am tc-imba on github.
* I am tcimba (https://keybase.io/tcimba) on keybase.
* I have a public key ASBYtzPxnbom9KXMVemHSnmU5aOZdztmkB83L7hFirypDwo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am tc-imba on github.
  • I am tcimba (https://keybase.io/tcimba) on keybase.
  • I have a public key ASC2XC7qxG2dogp9jxLC6JD9ab4PAHpD_X83a_oJuqPw7go

To claim this, I am signing this object: