pt's recent timeline updates
pt's repos on GitHub
SCSS · 24 watchers
org-notes-style
A light CSS theme for Org mode HTML export
CoffeeScript · 5 watchers
SlidingPuzzle
A sliding puzzle game written in CoffeeScript https://taopeng.me/SlidingPuzzle/
TypeScript · 3 watchers
elasticsearch-dsl
Types for Elasticsearch Query DSL
Awk · 3 watchers
lips
Literate Programming Utils
TypeScript · 2 watchers
dts-els
A simple command line tool that generates TypeScript definition from ElasticSearch mappings
TypeScript · 1 watchers
json-schema-ts
JSON Schema for TypeScript
Racket · 1 watchers
L99.rkt
99 Lisp problems in Racket
Python · 1 watchers
typed_els
Convert Elasticsearch mappings to TypeScript type definitions
Emacs Lisp · 0 watchers
class.el
An OOP system in Emacs Lisp
JavaScript · 0 watchers
demos
demos
JavaScript · 0 watchers
dts-sql
A simple command line tool that generates TypeScript definition from SQL schema
JavaScript · 0 watchers
gsheetcli
Simple Google Sheets command line tools
Python · 0 watchers
mapbox-vector-tile
Python package for encoding & decoding Mapbox Vector Tiles
JavaScript · 0 watchers
map_viewer
A map viewer that renders map style written in YAML https://taopeng.me/map_viewer
Python · 0 watchers
mvtcli
Command line for encoding and decoding Mapbox Vector Tiles
C++ · 0 watchers
prime_server
non-blocking (web)server API for distributed computing and SOA based on zeromq
Emacs Lisp · 0 watchers
pt-emacs
My Emacs
SCSS · 0 watchers
ptpt.github.io
My website
Python · 0 watchers
ptwit
A simple Twitter command line client
Python · 0 watchers
pyid3py
Sort music by pinyin in iTunes
Emacs Lisp · 0 watchers
recentc
List recently closed files in Emacs
Python · 0 watchers
sjson
Python · 0 watchers
taoblog
A lightweight blog system
Python · 0 watchers
zhub
Command line tool for ZenHub
pt

pt

V2EX member #1768, joined on 2010-09-12 22:39:49 +08:00
pt's recent replies
插上电源并*单手*按 touch id 识别率会降低,不接电源*或者*另一只手触碰机身则不会。

我这里有两台 MBP ( 2019 和 2021 )都能复现这个问题。大家可以验证一下。

参考: https://discussionschinese.apple.com/thread/251698511
Apr 5, 2015
Replied to a topic by pt 分享创造 lips 讓你代碼成詩
樓上幾位提到 Lisp,我在這裏再打個小廣告:我有一個小項目是練習 Racket 解决 99 Lisp Problems

https://github.com/ptpt/L99.rkt

我打算把裏面的代碼用這個小工具生成 Markdown 文檔(或則其他格式),然後做成一個頁面。各位可以關注一下 :)
Mar 22, 2015
Replied to a topic by Tiande 程序员 用 emacs 的建议转 vim ;)
用了快八年 Emacs,只用它编辑文档(写代码、论文)和用 org-mode 管理笔记。我的经验是这样的:

前几年一直用老款的 Macbook,Ctrl 键比较远,要用小拇指才能够得着,用久了小拇指会疼。

一年前我买了一台二手 thinkpad x200,键盘紧凑,可以用大拇指按住 Ctrl 键和 Meta 键,长时间没有任何问题。
Feb 20, 2014
Replied to a topic by kchum Python 请教下 python 的 dict,有 unicode 该如何解决
直接:
print(rs.encode('utf-8'))

参考:http://stackoverflow.com/a/492711/114833
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2637 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms · UTC 02:40 · PVG 10:40 · LAX 19:40 · JFK 22:40
♥ Do have faith in what you're doing.