Gmail in Doom Emacs
A personal note to remember what on earth I did to set up Gmail in Emacs.
| #!/bin/bash | |
| # Delete Archived Applications | |
| rm -r ~/Library/Developer/Xcode/Archives/*/ | |
| # Delete Devired Data | |
| rm -r ~/Library/Developer/Xcode/DerivedData/*/ | |
| # Delete Apple cached files | |
| rm -r ~/Library/Developer/CoreSimulator/Caches/dyld/*/*/ |
| " antirez's .vimrc | |
| " Copyright(C) 2001 Salvatore Sanfilippo | |
| " Enable the syntax highlight mode if available | |
| syntax sync fromstart | |
| if has("syntax") | |
| syntax sync fromstart | |
| syntax on | |
| set background=dark | |
| let php_sync_method="0" |
| export default { | |
| async fetch(request, env, ctx) { | |
| const url = new URL(request.url); | |
| // 处理 API 请求:支持 POST (/api/add-ssl) 和 GET (/?...) | |
| if ( | |
| (url.pathname === '/api/add-ssl' && request.method === 'POST') || | |
| (url.pathname === '/' && request.method === 'GET' && url.searchParams.has('zoneId')) | |
| ) { | |
| return handleApiRequest(request, url.searchParams); |
| // ==UserScript== | |
| // @name B站学习机 | Bilibili+Youtube字幕全文阅读 | coursera-like subtitles fulltext reader | |
| // @namespace https://gist.github.com/KnIfER/9e43ffa31c3b9831a500edf35595c1dc | |
| // @version 6 | |
| // @description 在线字幕阅读或下载,B站油管秒变cousera! - Read & learn subtitles full text online! | |
| // @author KnIfER | |
| // @match https://*.bilibili.com/video/* | |
| // @match https://*.youtube.com/* | |
| // @match https://*/watch?v=* | |
| // @match https://*/embed/*?si=* |
A personal note to remember what on earth I did to set up Gmail in Emacs.
| @echo off | |
| :: ------------------------------------------------------------------------------------------------------------ | |
| :: Clean Up ASUS All | |
| :: ------------------------------------------------------------------------------------------------------------ | |
| :: The tool helps to clean up all ASUS software from system | |
| :: ------------------------------------------------------------------------------------------------------------ | |
| :: Before running the tools, | |
| :: 1. Complete backup your system. | |
| :: 2. Disable ASUS Apps from BIOS (MyASUS and Armoury) | |
| :: 3. Run ASUS remove tools (Armoury Crate Uninstall Tool.exe, or geek_uninstall.exe). |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
| """Matter event entities from Node events.""" | |
| from __future__ import annotations | |
| from dataclasses import dataclass | |
| from typing import Any | |
| from chip.clusters import Objects as clusters | |
| from matter_server.client.models import device_types | |
| from matter_server.common.models import EventType, MatterNodeEvent |