這篇文章旨在作為快速參考與展示。要更多完整的資訊,請見 John Gruber 原本的規格與 Github 偏好的 Markdown(Github-flavored Markdown,簡寫為GFM)資訊頁。
如果你正在找 Markdown Here 的小抄(Cheatsheet),這裡也有一篇。你也可以看看更多 Markdown 的工具。
譯註:可以參考這份中文版文件,有更詳盡的 Markdown 語法說明;如果需要可以練習的線上編輯器,可以試試看HackMD。
這篇文章旨在作為快速參考與展示。要更多完整的資訊,請見 John Gruber 原本的規格與 Github 偏好的 Markdown(Github-flavored Markdown,簡寫為GFM)資訊頁。
如果你正在找 Markdown Here 的小抄(Cheatsheet),這裡也有一篇。你也可以看看更多 Markdown 的工具。
譯註:可以參考這份中文版文件,有更詳盡的 Markdown 語法說明;如果需要可以練習的線上編輯器,可以試試看HackMD。
Two pointers: one input, opposite ends | |
```python3 | |
def fn(arr): | |
left = ans = 0 | |
right = len(arr) - 1 | |
while left < right: | |
# do some logic here with left and right | |
if CONDITION: |
import torch | |
import torch.nn as nn | |
import torch.optim as optim | |
from torch.profiler import profile, schedule, tensorboard_trace_handler, ProfilerActivity | |
class Xor(nn.Module): | |
def __init__(self): | |
super(Xor, self).__init__() | |
self.fc1 = nn.Linear(2, 3, True) | |
self.fc2 = nn.Linear(3, 1, True) |
/*** | |
* Clash Verge Rev 全局扩展脚本(懒人配置)/ Mihomo Party 覆写脚本 | |
* URL: https://gist.github.com/dahaha-365/0b8beb613f8d1ee656fe1f21e1a07959 | |
*/ | |
/** | |
* 整个脚本的总开关,在Mihomo Party使用的话,请保持为true | |
* true = 启用 | |
* false = 禁用 | |
*/ |
// | |
// ContentView.swift | |
// RigelianTagger | |
// | |
// Created by Berrie Kremers on 05/03/2022. | |
// | |
// This shows how a directory structure can be shown in a sidebar, with dynamic loading | |
// of additional content as the user drills down in the hierarchy. | |
// |
Since my Macbook Pro only has USB-C port, I used an USB-A to USB-C adapter to connect my F310 to it, but it does not work (pressing MODE button does not turn on the LED).
To make it work:
updated: 2024-03-21
Parrot.py integration enables you to make noises such as pops
, clicks
, and hiss
sounds which trigger Talon actions. Any sound which is not part of normal speech can be used, even non-human sounds such as a bell can work.
Prereq: requires the beta
tier of Talon Voice which is a paid tier via patreon at lunixbochs.
If you have trouble, the best place for help is on slack talonvoice.slack.com
in the #ext-parrot
channel.
Helpful video tutorials are found on youtube. These videos are slightly outdated because the current parrot.py has a newer display. (Thanks Pokey Rule, I would have never figured this out without your videos getting me started on the right track!)
Hiren’s BootCD 15.2 https://www.hirensbootcd.org/hbcd-v152/ https://www.hirensbootcd.org/files/Hirens.BootCD.15.2.zip
Hiren’s BootCD 15.1 https://www.hirensbootcd.org/hbcd-v151/ https://www.hirensbootcd.org/files/Hirens.BootCD.15.1.zip
Hiren’s BootCD 15.0 https://www.hirensbootcd.org/hbcd-v150/ https://www.hirensbootcd.org/files/Hirens.BootCD.15.0.zip
Hiren’s BootCD 14.1 https://www.hirensbootcd.org/hbcd-v141/ https://www.hirensbootcd.org/files/Hirens.BootCD.14.1.zip
Hiren’s BootCD 14.0 https://www.hirensbootcd.org/hbcd-v140/ https://www.hirensbootcd.org/files/Hirens.BootCD.14.0.zip
Hiren’s BootCD 13.2 https://www.hirensbootcd.org/hbcd-v132/ https://www.hirensbootcd.org/files/Hirens.BootCD.13.2.zip
Hiren’s BootCD 13.1 https://www.hirensbootcd.org/hbcd-v131/ https://www.hirensbootcd.org/files/Hirens.BootCD.13.1.zip
Hiren’s BootCD 13.0 https://www.hirensbootcd.org/hbcd-v130/ https://www.hirensbootcd.org/files/Hirens.BootCD.13.0.zip
Hiren’s BootCD 12.0 https://www.hirensbootcd.org/hbcd-v120/ http
# Context Network Retrospective Agent Prompt | |
## Task Context | |
You are conducting a retrospective analysis after completing a task. Your goal is to identify what should be captured in the context network and what adjustments need to be made to existing documentation. | |
## Critical Domain Boundary Reminder | |
Remember the distinction: | |
- **Context Network**: Planning documents, architecture decisions, design discussions, implementation strategies |
On iTerm2 - Open Preferences > Profiles > Keys > Key Mappings > Presets > Select Natural Text Editing | |
- You can move a word backwards using Option ⌥ + ← and a word forwards using Option ⌥ + → | |
- Move to the start of the line using fn + ← and to the end of the line with fn + →. | |
- Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫. | |
If the preset doesn't appear, reinstall iTerm2. If you installed it using Homebrew + Cask: | |
brew cask reinstall iterm2 |