Skip to content

Instantly share code, notes, and snippets.

View mofhu's full-sized avatar

Mo Frank Hu mofhu

View GitHub Profile
{"sig":"c88527693493271541685f139c3c7dcbb56302167430b8664c930235f1a4f6b26cd07f13557045be81825c6bb4ebf02e0aeb45af0c61813b9fb0932c4254c2880","msghash":"c21fb3f425881afe9dfd622c7c051eb8a2d8be97a29968a853c49362611e8a19"}
@mofhu
mofhu / tmux-cheatsheet.markdown
Created March 2, 2016 11:10 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@mofhu
mofhu / md-to-jekyll.py
Last active April 15, 2021 03:47
按照文件的创建时间给 markdown 加 Jekyll 格式 (yyyy-mm-dd) 时间戳. Create Jekyll-format timestamped markdown files from create time.
# -*- coding: utf-8 -*-
# Author Frank Hu
# Markdown to Jekyll
# Create Jekyll-format timestamped markdown files from create time.
# Tested with Python 3.5.1 and OS X 10.11.2
import argparse
import os
import re
import time
@mofhu
mofhu / function0-process.py
Last active August 29, 2015 14:20
iDoulist function 0 - process
# iDoulist function 0 - process
# Frank Hu, 20150506
# list is from input module
list = ['http://book.douban.com/subject/1139336/',
'http://book.douban.com/subject/25724948/']
print 'input list is :', list # for debug