Skip to content

Instantly share code, notes, and snippets.

View francistm's full-sized avatar
🤒
Just another boring day

Francis Zhou francistm

🤒
Just another boring day
View GitHub Profile
// ==UserScript==
// @name Kimi 会话清空
// @version 1.0.1
// @description 一键删除全部对话记录
// @author francis
// @homepage https://blog.francistm.com
// @match https://kimi.moonshot.cn/*
// @icon https://statics.moonshot.cn/kimi-chat/favicon.ico
// @updateURL https://gist.github.com/francistm/252eff810e87ffbab79b48d74fb9a6ec/raw/kimi_clear_all_histories.user.js
// @downloadURL https://gist.github.com/francistm/252eff810e87ffbab79b48d74fb9a6ec/raw/kimi_clear_all_histories.user.js
@francistm
francistm / README.md
Last active October 28, 2018 03:52
MySQL 5.7 zip Windows Install

Install MySQL 5.7.x on Windows

  • Unzip zip files to <mysql_home>
  • Download my.ini to <mysql_home> and replace the <mysql_home> with absolute path, (\ should be replaced with /)
  • Run cmd with administrator privilege
    cd <path>\bin
    mysqld --defaults-file=<mysql_home>/my.ini --initialize-insecure
    mysqld --install-manual MySQL-5.7 --defaults-file=<mysql_home>/my.ini
    

net start MySQL-5.7

@francistm
francistm / README.md
Last active October 2, 2018 01:55
Kafka Node Cluster Docker Compose
@francistm
francistm / Gemfile
Last active October 19, 2015 08:01
yiichina.com 自动签到脚本
source 'https://rubygems.org/'
gem 'httparty', '~> 0.13.7'
gem 'nokogiri', '~> 1.6.6.2'
@francistm
francistm / pre-commit
Created December 21, 2014 19:00
Git pre-commit hook
#!/bin/sh
#
# 这个挂钩会从提交的文件中删除行末的空格,并且终止 "git commit" 。
# 只需要简单的重复上一次的 "git commit" 命令重新提交一下即可。
#
# 将此文件放入 .git/hooks/pre-commit,并且用 chmod +x 添加可执行权限即可。
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
@francistm
francistm / .gitignore
Created August 15, 2012 13:24
51Hei SCM C Libs
.o
.swp