I hereby claim:
- I am amorphobia on github.
- I am xuesong (https://keybase.io/xuesong) on keybase.
- I have a public key whose fingerprint is FC70 55C1 CB91 996D DB83 81A6 C17B DC00 7214 0DFD
To claim this, I am signing this object:
; Original script xlr-space.ahk (https://sspai.com/post/57157) | |
; Modified by amorphobia (https://github.com/amorphobia) | |
; Space | |
Space::Send {Space} | |
^Space::Send ^{Space} | |
#Space::Send #{Space} | |
^#Space::Send ^#{Space} | |
!Space::Send !{Space} |
\documentclass[preview]{standalone} | |
\usepackage{tikz} | |
\usetikzlibrary{calc} | |
\usetikzlibrary{arrows} | |
\tikzset{default/.style={draw,inner sep=10pt}} | |
\tikzset{else master/.style={draw=gray!60,inner sep=10pt}} | |
\tikzset{feature/.style={draw,inner sep=10pt,fill=gray}} | |
\tikzset{master/.style={draw,inner sep=10pt,fill=blue!20}} | |
\tikzset{rect/.style={rectangle,minimum height=25pt,minimum width=60pt}} |
# 小鹤音形 9.7_20190709 build 378 系统词库 | |
# 删除了词库中的《静夜思》 | |
# $ddcmd( 静夜思·李白 | |
# | |
# 床前明月光,疑是地上霜。 | |
# 举头望明月,低头思故乡。 | |
# ,『静夜思·李白』) jysi | |
--- |
var dict = [1: [11, 13, 15], 2: [23, 24]] | |
dict[3, default: []].append(39) |
BEGIN:VCALENDAR | |
PRODID:-//Chen Wei//Chinese Lunar Calendar//EN | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
METHOD:PUBLISH | |
X-WR-CALNAME:农历 | |
X-WR-TIMEZONE:Asia/Shanghai | |
X-WR-CALDESC:中国农历2017-2023, 包括节气. | |
BEGIN:VEVENT | |
DTSTAMP:20200102T054544Z |
BEGIN:VCALENDAR | |
PRODID:-//Chen Wei//Chinese Lunar Calendar//EN | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
METHOD:PUBLISH | |
X-WR-CALNAME:农历 | |
X-WR-TIMEZONE:Asia/Shanghai | |
X-WR-CALDESC:中国农历1901-2100, 包括节气. | |
BEGIN:VEVENT | |
DTSTAMP:20180227T141148Z |
nginx: | |
container_name: ghost_blog_nginx | |
image: nginx | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- ~/Developer/Docker/ghost_blog/html:/usr/share/nginx/html | |
- ~/Developer/Docker/ghost_blog/nginx:/etc/nginx | |
links: |
I hereby claim:
To claim this, I am signing this object:
class Solution { | |
public: | |
int ladderLength(string beginWord, string endWord, unordered_set<string>& wordList) { | |
// key: string with one of its charactor replaced by '-', e.g. "dog"->"d-g" | |
// value: vector of such strings | |
unordered_map<string, vector<string>> dict; | |
for (string s : wordList) { | |
for (int i = 0; i < s.length(); ++i) { | |
string k = s; |
#ifndef HASH_EXTENDED_H | |
#define HASH_EXTENDED_H | |
#include <unordered_map> | |
#include <unordered_set> | |
#include <algorithm> | |
namespace std { | |
template<typename T> struct hash<vector<T>> { | |
inline size_t operator() (const vector<T>& vec) const { |