tianyuan / gitblog

My drafts using issues and GitHub Actions.
0 stars 0 forks source link

差生文具多 & Shortcuts 大全 #29

Open tianyuan opened 7 months ago

tianyuan commented 7 months ago

1. Text Blaze. Chrome插件,文字类的shortcut, 省keystroke, 省手。

image

2. Obsidian的一个插件:Custom Frames。 让你实现在Obsidian里面跟GPT交互。

image

3. Obsidian的一个插件: Shell Commands. 用例: 随机打开一本PDF的图书.

用例: 随机帮我打开一本下载的PDF图书 (随便找本书看, 开卷有益)

image

4. Obsidian的一个插件: Heatmap Calendar.

用例: 和template连用track habits.

dv.span("** 时代在召唤🏋5-Min Log \n`= date(today)` **") /* optional ⏹️💤⚡⚠🧩↑↓⏳📔💾📁📝🔄📝🔀⌨️🕸️📅🔍✨ */
const calendarData = {
    year: 2024,  // (optional) defaults to current year
    colors: {    // (optional) defaults to green
        blue:        ["#8cb9ff", "#69a3ff", "#428bff", "#1872ff", "#0058e2"], // first entry is considered default if supplied
        green:       ["#c6e48b", "#7bc96f", "#49af5d", "#2e8840", "#196127"],
        red:         ["#ff9e82", "#ff7b55", "#ff4d1a", "#e73400", "#bd2a00"],
        orange:      ["#ffa244", "#fd7f00", "#dd6f00", "#bf6000", "#9b4e00"],
        pink:        ["#ff96cb", "#ff70b8", "#ff3a9d", "#ee0077", "#c30062"],
        orangeToRed: ["#ffdf04", "#ffbe04", "#ff9a03", "#ff6d02", "#ff2c01"]
    },
    showCurrentDayBorder: true, // (optional) defaults to true
    defaultEntryIntensity: 4,   // (optional) defaults to 4
    intensityScaleStart: 10,    // (optional) defaults to lowest value passed to entries.intensity (e.g. 10)
    intensityScaleEnd: 100,     // (optional) defaults to highest value passed to entries.intensity (e.g. 100)
    entries: [],                // (required) populated in the DataviewJS loop below
}

//DataviewJS loop
for (let page of dv.pages('"zDailyNotes"').where(p => p.workoutLow)) {
    //dv.span("<br>" + page.file.name) // uncomment for troubleshooting
    calendarData.entries.push({
        date: page.file.name,     // (required) Format YYYY-MM-DD
        intensity: page.workoutLow, // (required) the data you want to track, will map color intensities automatically
        content: "🏋",           // (optional) Add text to the date cell
        color: "orange",          // (optional) Reference from *calendarData.colors*. If no color is supplied; colors[0] is used
    })
}

renderHeatmapCalendar(this.container, calendarData)

效果图 image

tianyuan09 commented 7 months ago

Text Blaze 3周前刚发布了PC版,太好了, 刚有这个需求,产品就来了! 真的很烦repetitive typing, 尤其是用gpt 的时候, 为了省手不择手段!!!哈哈哈~

https://community.blaze.today/t/announcing-text-blaze-for-windows-public-beta/25421

tianyuan commented 6 months ago

今天我发现了一个很有趣的插件Vimium,是一款基于vim的浏览器插件。在Reddit上发现这个插件的时候,是为了适配墨水屏显示器 (确实效果不错)。

意外地在大家的讨论中发现,使用高频率的vim快捷键有可能会导致Repetitive strain injury (RSI)的风险。现在回想自己当初开始手麻的时候,其实是和高强度使用obsidian以及各种APP大量的快捷键高度相关。

image

tianyuan commented 6 months ago

墨水屏显示器Setup

  1. Contrast Theme on Win 11 (Desert Theme)
  2. Vimium (turn off smooth scroll)
  3. Text adjust to 150% or 200%
tianyuan commented 5 months ago

2024 Reading Challenge

2024 Reading Challenge
Yuan has read 3 books toward their goal of 12 books.
hide
3 of 12 (25%)
view books
tianyuan commented 5 months ago

Markdown TOC generator

This page uses BitDownToc to insert Table of Contents (TOC) in your markdown. https://derlin.github.io/bitdowntoc/

tianyuan09 commented 5 months ago

如何保存chatGPT 脚本

目前 ChatGPT team 不可以导出Chat History as a Zip File. 单个手工操作步骤如下: 1,在每个要导出的聊天右上角点分享 2, 在弹出窗口点“copy link” 3, 在浏览器新开tab打开该链接,save成html文件