Skip to content

Instantly share code, notes, and snippets.

View bgzo's full-sized avatar
Ciallo ~(∠・ω< )⌒ ⭐

華仔 bgzo

Ciallo ~(∠・ω< )⌒ ⭐
View GitHub Profile
@bgzo
bgzo / cheesebookmarks.html
Last active August 16, 2026 02:46
奶酪书签 CheeseBookmarks 20240208 https://www.runningcheese.com/
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3>From 奶酪书签CheeseBookmarks_2024-02-08(1).html</H3>
<DL><p>
<DT><H3>From RunningCheese_Bookmarks_2024_02_08.html</H3>
<DL><p>
<DT><H3>书签栏</H3>
@bgzo
bgzo / !nuphy-air75-v2-layout-via3-config.md
Last active August 16, 2026 02:47
Default layout / via3 / config for Nuphy air75 V2, restore if you make some mistake
@bgzo
bgzo / steam-client-publicbeta_osx.md
Last active May 21, 2026 00:42
The native ARM64 Steam bootstrapper on Apple Silicon without Rosetta

The native ARM64 Steam bootstrapper on Apple Silicon without Rosetta 2

  1. Get steam official beta clientmanifests, via: https://steamcdn-a.akamaihd.net/client/steam_client_publicbeta_osx
  2. Find appdmg_osx and get file name like: appdmg_osx.zip.984652b88a9737e3f4e77c656d9ffa67d5042c2c
  3. Add it to steam official CDN, like: https://steamcdn-a.akamaihd.net/client/appdmg_osx.zip.984652b88a9737e3f4e77c656d9ffa67d5042c2c
  4. Download it and rename it to zip, and then unzip it twice(SteamMacBootstrapper.tar.gz).
  5. You would get the Steam.app, drop it into Application.
// ==UserScript==
// @name SteamPY CDK 价格查询
// @namespace http://tampermonkey.net/
// @version 0.0.1
// @description 显示 SteamPY CDK 的价格,系官方插件简单移植
// @author bGZo
// @license MIT
// @match https://store.steampowered.com/*
// @icon https://store.steampowered.com/favicon.ico
// @grant GM_xmlhttpRequest
@bgzo
bgzo / !_logseq_custom_css_banner.txt
Last active June 18, 2024 13:33
My logseq custom.css (solarized theme & logseq-plugin-ol & bullet_threading & awesome-props & awesome-content & Code Mirror & Tag)
_ ____ _
| | ___ __ _ ___ ___ __ _ / ___| _ ___| |_ ___ _ __ ___ ___ ___ ___
| | / _ \ / _` / __|/ _ \/ _` | | | | | | / __| __/ _ \| '_ ` _ \ / __/ __/ __|
| |__| (_) | (_| \__ \ __/ (_| | | |__| |_| \__ \ || (_) | | | | | || (__\__ \__ \
|_____\___/ \__, |___/\___|\__, | \____\__,_|___/\__\___/|_| |_| |_(_)___|___/___/
|___/ |_|
@bgzo
bgzo / logseq-plugin-ol.css
Created October 2, 2023 13:02
Ordered lists, flat or nested, multiple formats ordered lists; Fetch from https://github.com/sethyuan/logseq-plugin-ol/blob/master/src/index.js#L9-L226 ; Add `@Import` in custom.css on Logseq;
a[data-ref|='.ol'],
a[data-ref|='.ul'] {
display: none !important;
}
.cp__all_pages_table :is(a[data-ref|='.ol'], a[data-ref|='.ul']) {
display: unset !important;
}
.ls-block[data-refs-self*='".ol'] .block-children {
counter-reset: kef-ol;
@bgzo
bgzo / Click me and start windows work flow.bat
Last active June 22, 2023 04:09
Run with PowerShell 7. Update proxies depends on the scripts.
@ECHO OFF
SET MYPATH=%cd%
SET MYSCRIPT=%MYPATH%\start_here.ps1
pwsh-preview %MYSCRIPT%
pause
@bgzo
bgzo / !rss.feed.opml
Last active August 1, 2026 17:30
My Personal RSS opml feed. Move to https://github.com/bgzo-sandbox/RSS, cause history of gist sucks.
-----------------bGZo-------------------
____ ____ ____ _____ _
| _ \/ ___/ ___| | ___|__ ___ __| |
| |_) \___ \___ \ | |_ / _ \/ _ \/ _` |
| _ < ___) |__) | | _| __/ __/ (_| |
|_| \_\____/____/ |_| \___|\___|\__,_|
-----------------bGZo-------------------
import datetime
def weeks_of_year(year):
# NOTE: https://stackoverflow.com/questions/29262859
last_week = datetime.date(year, 12, 28)
return last_week.isocalendar()[1]
def weeks_of_date(date):
year, week_num, day_of_week = date.isocalendar()
return week_num
@bgzo
bgzo / custom.css
Last active May 31, 2023 07:11
Logseq solarized theme | Logseq 护眼色主题
/* Color begin via: [logseq/custom.css](https://gist.github.com/madawei2699/61cf9601a443df21a9fabb282723936c)
*/
:root{
--base03: #002b36;
--base02: #073642;
--base01: #586e75;
--base00: #657b83;
--base0: #839496;
--base1: #93a1a1;
--base2: #eee8d5;