Skip to content

Instantly share code, notes, and snippets.

View kejjang's full-sized avatar
🐱
🐱🐱🐱🐱🐱

Kej kejjang

🐱
🐱🐱🐱🐱🐱
View GitHub Profile
@coodoo
coodoo / outline_1.md
Created February 1, 2026 12:49
「第一屆 AI 取暖會」講義文字稿。欲收到之後活動報名通知請前往此頁登記:https://forms.gle/H3Xa4fseQNoBz3qS8

"ai agent 原理、應用與展望與挑戰"

chatbot 原理

- turn by turn 示範

	[
		'user: 你好',

'AI: hi how mayi help?',

@coodoo
coodoo / skills_and_mcp.md
Created January 2, 2026 07:29
mcp 與 skills 釋疑。

脆文:https://www.threads.com/@thecat88tw/post/DS__HXfkROF

謝謝 @cab_late 花時間仔細閱讀並如此詳細的回應我的貼文,這兩天跨年比較忙,今天終於有時間坐下來針對他的疑慮提出幾點說明,大家參考看看,希望有幫助。

關於 function call

首先要先對 functionl call 的本質與目地有清楚的認知。

它是讓 LLM 操作外部資料(side effects)的主要途徑,也是最底層的基礎手法。

@coodoo
coodoo / vs.md
Created December 31, 2025 01:52
claude agent skills vs. mcp

欸 昨天貼了 claude meetup taipei 心得裏面提到 2026 大趨勢是用 skills 取代 mcp 結果引來許多疑問,趁早上踩飛輪時就順手寫了篇快速解釋希望對大家有幫助!

先說重點

  1. context engineering 是 agent 開發最重要的事,其中關鍵就是防止 context 快速肥大導致 llm 失憶或注意力潰散,導致任務執行失敗。

  2. 由 mcp 升級 skills 的主要好處就是解決上述問題,讓你的 agent 變的更聰明能幹少出錯。

下面是俱體細節👇

@OrionReed
OrionReed / dom3d.js
Last active March 17, 2026 18:15
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@weihanglo
weihanglo / rust-vs-go.md
Last active July 11, 2025 13:11
【譯】Rust vs. Go

【譯】Rust vs. Go

本文譯自 Julio Merino 2018 年七月撰寫的 Rust vs. Go 一文。Julio Merino 是 G 社僱員,在 G 社工作超過 8 年,無論工作內外,都接觸開發不少 Go 語言,並撰寫 [Rust 點評][rust-review]系列文,來聽聽他對 Rust 與 Go 的想法吧。

Thanks Julio Merino for this awesome article!


@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active March 17, 2026 21:38 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@clkao
clkao / g0v-rainbow.svg
Created November 27, 2016 15:30
g0v-rainbow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@afeld
afeld / README.md
Last active March 8, 2022 18:40
automatic virtualenv switching

This script will automatically switch to a Python virtual environment after you cd into a Python project, then deactivate when you leave. Inspired by a similar script from Justin Abrahms.

Installation

  1. Install virtualenvwrapper.

  2. Download the auto_virtualenv.sh script, and put it in your home directory (~/).

  3. Run the following:

chmod a+x ~/auto_virtualenv.sh

@josephx86
josephx86 / xdebug_installation.md
Last active September 1, 2018 01:34 — forked from joseluisq/xdebug_installation.md
Install PHP Xdebug on Fedora / CentOS x64

PHP Xdebug installation on Fedora/CentOS x64

First, install xdebug package on system:

$ sudo yum install php-pecl-xdebug.x86_64

Or with DNF: