Skip to content

Instantly share code, notes, and snippets.

@timwu-ipevo
timwu-ipevo / gemini_cli_self_learning_guide_zh.md
Last active June 30, 2025 07:44
Gemini CLI Self Learning

Gemini CLI 代理人開發全攻略 (自學版)

本指南專為希望自學掌握 Gemini CLI 的學習者設計。每個章節都建立在前一章節的基礎之上,提供詳細的解釋、範例和實用技巧。


1. Gemini CLI 簡介

它是什麼?

example questions

  • 傅佩榮 中世紀哲學

回答不夠完整, 只有部分, 更早以前講課沒列

  • 敏隆講堂音樂課程有哪些音樂課程有哪些

敏隆講堂是基金會內演講與課程活動的總稱,使用者詢問時可能強調或不強調,請視為同一件事,也就是只要問課程或講座, 那隱含就是指敏隆講堂

You can manage temporary SSH configurations without touching your ~/.ssh directory at all by using a completely separate temporary directory and leveraging the -F option with ssh along with the GIT_SSH_COMMAND environment variable.

Here's how:

  1. Create a temporary directory outside of ~/.ssh. For example:
mkdir -p /tmp/my_temp_ssh
@timwu-ipevo
timwu-ipevo / ollama_streamlit.md
Last active July 24, 2024 00:12
responsed by llama3.1 8b
>>> create a simple LLM chatbot interface with python package ollama and streamlit.
Here's an example of how to create a simple LLM (Large Language Model) chatbot interface using
the `ollama` library and Streamlit.

Step 1: Install Required Libraries

First, you'll need to install the ollama library and Streamlit. You can do this by running the following command in your terminal:

graph TD
    A[User Query] -->|Entity Description + Embedding| B[Extracted Entities]
    B --> C[Entity-Text Unit Mappings]
    C --> D[Candidate Text Units]
    D --> E[Ranking + Filtering]
    E --> F[Prioritized Text Units]
    F --> G[Response]

 B --> H[Entity-Report Mappings]
@timwu-ipevo
timwu-ipevo / requirements.txt
Created May 26, 2024 00:12
download a tweet's video
requests
tqdm
bs4