git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
More detailed version: https://til.simonwillison.net/git/git-archive
# Rime dictionary | |
# encoding: utf-8 | |
--- | |
name: greek | |
version: "0.1" | |
sort: original | |
... | |
# 小写希腊字母 |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
''' | |
Clone of WWStar, an ancient Classical Chinese translator. | |
usage: python3 WWStarClone.py [dir] |
git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
More detailed version: https://til.simonwillison.net/git/git-archive
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 |
# 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: |
For KVM and Laptop
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.
#!/usr/bin/python | |
""" | |
Usage: python csv2wikitable.py csv_file | |
----- | |
input: csv format | |
output: wiki table format | |
""" |
#! /usr/bin/python | |
# Usage `python list-url.py` | |
import frida,sys | |
jspayload= """ | |
setImmediate(function() { |
{ | |
"update_interval_minutes": { | |
"2G": 1440, | |
"3G": 1440, | |
"4G": 1440, | |
"WIFI": 1440 | |
}, | |
"version": 1526088187, | |
"url_list": [ | |
{ |