Skip to content

Instantly share code, notes, and snippets.

View pengzhendong's full-sized avatar
🙊
Coding

彭震东 pengzhendong

🙊
Coding
View GitHub Profile
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\CHS]
"LangBar Force On"=dword:00000000
"Enable Double Pinyin"=dword:00000001
"EmoticonTipTriggerCount"=dword:00000001
"HapLastDownloadTime"=hex(b):eb,69,29,59,00,00,00,00
"UserDefinedDoublePinyinScheme0"="小鹤双拼*2*^*iuvdjhcwfg xmlnpbksqszxkrltvyovt"
"DoublePinyinScheme"=dword:0000000a
"UDLLastUpdatedTime"="2019-05-08 09:30:00"
"UDLCount"=dword:0000018b
#############################################################################
#
# Generic Makefile Template for C/C++ Projects
#
# License: GPL (General Public License)
# Note: GPL only applies to this file; you can use this Makefile in non-GPL projects.
# Author: Randy <275331498 AT qq DOT com>
# Date: 2020/04/22 (version 0.8)
# Author: Pear <service AT pear DOT hk>
# Date: 2016/04/26 (version 0.7)

M1 请参考:xzhih/one-key-hidpi#213

  1. 开启 HiDPI
$ sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
  1. 获取设备信息,生成显示配置文件:
#!/usr/bin/expect
trap {
set XZ [stty rows]
set YZ [stty columns]
stty rows $XZ columns $YZ < $spawn_out(slave, name)
} WINCH
set timeout 2
set HOST [lindex $argv 0]
set USER <Your Google Authenticator username>
#!/usr/bin/env python3
#
#===- run-clang-tidy.py - Parallel clang-tidy runner --------*- python -*--===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===-----------------------------------------------------------------------===#
# FIXME: Integrate with clang-tidy-diff.py