Skip to content

Instantly share code, notes, and snippets.

@yisiqi
yisiqi / glm-4.5-nothink.jinja
Created August 26, 2025 14:49 — forked from qingy1337/glm-4.5-nothink.jinja
GLM 4.5 disabled thinking chat template
[gMASK]<sop>
{%- if tools -%}
<|system|>
# Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{% for tool in tools %}

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@yisiqi
yisiqi / LoginView.java
Last active January 3, 2016 08:09
使用Sencha GXT(Ext for GWT)、EasyUI、CafeJS开发登陆页面的代码比较。
package com.sencha.gxt.explorer.client.forms;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;