Skip to content

Instantly share code, notes, and snippets.

View gujiaxi's full-sized avatar

Isaac Gu gujiaxi

View GitHub Profile
@gujiaxi
gujiaxi / protocol.html
Created October 17, 2012 14:04
What is a Protocol?
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Jim Kurose">
<meta name="GENERATOR" content="Mozilla/4.61 [en] (Win98; I) [Netscape]">
<title>What is a protocol?</title>
</head>
<body>
@gujiaxi
gujiaxi / .vimrc
Last active May 13, 2016 06:28
Vim config for remote servers.
set nocompatible " Use Vim defaults
set backspace=indent,eol,start " reasonable backspace in insert mode
set modelines=0 " Modelines are a security hazard
" Formatting
set expandtab " Automatically expand tabs to spaces
set tabstop=2 " tab width
set shiftwidth=2 " wide, otherwise it's tabstop wide
@gujiaxi
gujiaxi / playlist.pls
Created February 24, 2012 02:17
Watch TV over IPv6
[playlist]
NumberOfEntries=89
File1=http://[2001:da8:8000:6007::242]:3002
Title1=中央-1综合频道
File2=http://[2001:da8:8000:6007::242]:3003
Title2=中央-2经济频道
File3=http://[2001:da8:8000:6007::241]:3065
Title3=中央-3综艺频道
File4=http://[2001:da8:8000:6007::241]:3066
Title4=中央-4国际频道