Skip to content

Instantly share code, notes, and snippets.

View canyugs's full-sized avatar
🇹🇼
Taiwan

Can canyugs

🇹🇼
Taiwan
View GitHub Profile
@canyugs
canyugs / bot-template-e2e-loop.md
Last active May 19, 2026 02:34
Building an E2E Testing Loop with Zeabur Templates — a generic flow for agents to autonomously develop, deploy, verify, and publish chat bot templates

Building an E2E Testing Loop with Zeabur Templates

A general concept for letting an agent autonomously go through "develop → deploy → verify → fix → publish" for a chat bot template, with no human in the loop.

Deploy target can be Zeabur or Kubernetes — this doc isn't tied to either; the loop's structure is the same on both.

At a Glance

                       ┌────────────────────────┐
#!/usr/bin/env python
# use cli tools https://github.com/tokland/youtube-upload
import subprocess
import sys
import os
@canyugs
canyugs / gist:f9315769760b8f74a7a511a4c7ddcf98
Last active October 12, 2016 03:48
和沛移動「填問卷抽大獎」活動辦法及注意事項
#和沛移動「填問卷抽大獎」活動辦法及注意事項
一、感謝您參加和沛移動股份有限公司(下稱「本公司」)所主辦之「填問卷抽大獎」活動(下稱「本活動」)。為維護活動參加者、得獎者權益及本活動之公平性,請您詳讀並注意本活動辦法及注意事項(下稱「本辦法」)。
二、活動獎項與中獎名額:
1. 翟神獎:品牌手機 (內載Tera雲記憶體),共1名
2. 紀念獎:限量紀念T-Shirt,共20名
三、活動截止時間:2016年10月30日23:59。
Please check <a href="https://issues.jenkins-ci.org/">our bug tracker</a> to see if a similar problem has already been reported.
If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem.
If you think this is a new issue, please file a new issue.
When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins.
<a href="http://jenkins-ci.org/content/mailing-lists">The users list</a> might be also useful in understanding what has happened.</p><h2>Stack trace</h2><pre style="margin:2em; clear:both">javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/lib/jenkins/.jenkins/war/WEB-INF/lib/jenkins-core-1.656.jar!/hudson/model/View/index.jelly:42:43: &lt;st:include> com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: PermGen space
at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.ja
@canyugs
canyugs / resume
Last active May 13, 2016 06:52
A resume made by LaTeX
\documentclass[12pt,a4paper]{article}
% package is here
\usepackage{fontspec} % use font
\usepackage{circuitikz} % for line
\usepackage{hyperref} % line
\usepackage{color} % word color
\usepackage{tabu} % for tabu table
\usepackage{array} % for tabular table
% \setromanfont{Noto Sans CJK TC} % 思源黑體