Skip to content

Instantly share code, notes, and snippets.

View guotingchao's full-sized avatar
🇵🇰
⛽️

Guo ZiChun guotingchao

🇵🇰
⛽️
View GitHub Profile
@guotingchao
guotingchao / delete_github_workflow_run_logs.sh
Created June 30, 2023 20:08 — forked from gubatron/delete_github_workflow_run_logs.sh
Batch delete 30 Github Workflow Run Logs using the github command line tool
#
# This script uses the github command line tool
# to delete the last 30 logs from your repository's workflow runs
#
# Requirements
#
# gh - github command line (brew install gh)
# you will need a GH_TOKEN, create it here: https://github.com/settings/tokens
#
# once you've created the personal access token with permission to manage your workflows
@guotingchao
guotingchao / gist:5251178
Last active December 15, 2015 11:09 — forked from kejun/gist:3358036
ios/android兼容mousemove方法
;(function($){
$.support.touch = 'ontouchend' in document;
if (!$.support.touch) {
return;
}
var eventMap = {
click: 'touchend',
mousedown: 'touchstart',