Skip to content

Instantly share code, notes, and snippets.

View weakish's full-sized avatar

weakish weakish

View GitHub Profile
@weakish
weakish / Learning-programming-languages.pdf
Last active June 5, 2026 13:36
how to #learn #programming languages
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@weakish
weakish / README
Created August 21, 2010 00:12
非一一映射簡繁漢字對照表
Collected from Internet, and coverted to UTF-8 via iconv.
@weakish
weakish / 001-typeface.md
Last active February 20, 2025 18:46
字谈字畅笔记 #podcast

https://www.thetype.com/typechat/ep-001/

  1. 现在的电脑字体其实都是活字。
  2. typeface 和 font 都翻译为字体。typeface 原指活字的表面(印刷时与纸接触的面),现在指抽象意义上的字体(风格、设计),而 font 则指具体的字体。当然在电脑时代,两者基本上可以混用,比如三号宋体和五号宋体在实体字体中可能是两套字体,但在电脑字体属于同一字体文件。
  3. 台湾把 typeface 翻译为字体,font 翻译为字型。
  4. 日语中活字的表面称为「字面」(typeface),而 typeface 的引申义则称为「书体」,font 则称为「フォント」。字体则指结构的差异,比如简体字、繁体字等等。

个人觉得 typeface 和 font 可以分别用日译(「书体」,强调书写风格的差异)和台译(「字型」,强调是具体的模型,可以像活字一样反复使用)。

@weakish
weakish / twitter.markdown
Created April 17, 2012 11:00
How I use #twitter: #proxy on #mobile & #backup & #mirroring to #weibo

mobile

twitter has been blocked in China. Thus we need proxies to access it from mobile phones.

We need:

  • android phone
  • twitter client for android (e.g. twitter.com's client)
@weakish
weakish / backup-providers.md
Last active August 30, 2024 09:57
reviews of vps, storage, mail forward
@weakish
weakish / code.md
Last active August 23, 2024 15:32
The Six Most Common Species Of #Code #java #fun
@weakish
weakish / flvcd.py
Created May 19, 2011 02:27
Download videos via flvcd.com
#!/usr/bin/env python3.2
# by Jakukyo Friel <weakish@gmail.com> under GPL v2
# Download videos via flvcd.com
# Usage: flvcd url
# TODO:
# - Some sites divide video into clips, we need to support it.
# - flvcd.com may use '...' in the link address displayed. This script fails under this condition.
@weakish
weakish / README.md
Created July 27, 2010 19:45
gister -- a #shell script to access http://gist.github.com #gist
@weakish
weakish / rotate_screen
Created August 2, 2010 07:44
rotate screen under X window system
Use the xrandr command:
xrandr -o normal|inverted|left|right
If you want permanent changes, use this option in the "Monitor" section of
/etc/X11/xorg.conf:
Option "Rotate" "right"