Skip to content

Instantly share code, notes, and snippets.

@unixzii
unixzii / fuck-x.user.js
Last active September 27, 2024 05:18
Tampermonkey userscript to rescue your X (formerly Twitter) experience.
// ==UserScript==
// @name Fuck X
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Save your eyes while using X (formerly Twitter)
// @author Cyandev <[email protected]>
// @match https://twitter.com/*
// @grant none
// ==/UserScript==
@chenyukang
chenyukang / backup.md
Last active June 14, 2023 14:14
Backup website with mirror

use wget to download website

wget --reject-regex "(.*)\?(.*)" --mirror --no-parent --convert-links -p -U Mozilla https://program-think.blogspot.com/

replace abs path to relative path

find . -type f -name '*.html' -exec sed -i '' 's|https://program-think.blogspot.com/|/|g' {} +
module demo/mysqlperf
go 1.20
require github.com/go-sql-driver/mysql v1.7.1
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 17, 2024 07:52
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example