Skip to content

Instantly share code, notes, and snippets.

View Gowee's full-sized avatar
🙂

Hung-I Wang Gowee

🙂
View GitHub Profile
@AlephAlpha
AlephAlpha / greek.dict.yaml
Last active July 1, 2025 06:42
Rime 的希腊字母输入方案,也支持一些常用的数学符号。如果需要在其他输入方案中直接输入希腊字母,请参考:https://gist.github.com/lotem/3705586
# Rime dictionary
# encoding: utf-8
---
name: greek
version: "0.1"
sort: original
...
# 小写希腊字母
@gumblex
gumblex / WWStarClone.py
Last active May 4, 2016 14:59
Clone of WWStar, an ancient Classical Chinese translator.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
'''
Clone of WWStar, an ancient Classical Chinese translator.
usage: python3 WWStarClone.py [dir]
@simonw
simonw / how-to.md
Last active April 16, 2025 15:21
How to create a tarball of a git repository using "git archive"
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active August 16, 2025 02:30
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

@ursm
ursm / len0073.patch
Last active June 23, 2025 16:46
Fix TrackPoint / touchpad issue on ThinkPad X1 Carbon 5th (Linux 4.12)
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index 16c3046..ca912ce 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -173,6 +173,7 @@ static const char * const smbus_pnp_ids[] = {
"LEN0046", /* X250 */
"LEN004a", /* W541 */
"LEN200f", /* T450s */
+ "LEN0073", /* X1 Carbon 5 (Elantech) */
NULL
@jessfraz
jessfraz / boxstarter.ps1
Last active June 23, 2025 13:25
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@zaxebo1
zaxebo1 / README.md
Created October 28, 2017 15:28
How to enable SecureBoot with own keys in KVM and on a laptop (T450s)

UEFI SecureBoot on ArchLinux

For KVM and Laptop

Rationale

I want full control what boots the computer to avoid the so called evil maid attack. That requires setting SecureBoot with only my own keys.

Intro

@spacestate1
spacestate1 / csv2wikitable.py
Last active August 14, 2022 03:31 — forked from 0ncorhynchus/csv2wikitable.py
convert csv to wiki table
#!/usr/bin/python
"""
Usage: python csv2wikitable.py csv_file
-----
input: csv format
output: wiki table format
"""
@avicoder
avicoder / list-url.py
Created April 30, 2018 10:52
Frida script to get the list of all API calls from a twitter android app in real time.
#! /usr/bin/python
# Usage `python list-url.py`
import frida,sys
jspayload= """
setImmediate(function() {
@travislee89
travislee89 / blacklist.json
Last active July 9, 2024 13:28
小米手机黑名单url。 from https://api.browser.miui.com/bsr/update/blackurl 2018-05-14 10:12 /data/data/com.android.browser/files/data/cacblacklist/blacklist.json
{
"update_interval_minutes": {
"2G": 1440,
"3G": 1440,
"4G": 1440,
"WIFI": 1440
},
"version": 1526088187,
"url_list": [
{