This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias cp="cp -i" | |
alias lm="ls -al | more" | |
alias md="mkdir" | |
alias mv="mv -i" | |
alias rd="rmdir" | |
alias rm="rm -i" | |
alias xclip="xclip -selection c" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 131102: for vundle | |
" http://www.erikzaadi.com/2012/03/19/auto-installing-vundle-from-your-vimrc/ | |
" Setting up Vundle - the vim plugin bundler | |
set nocompatible " be iMproved | |
filetype off " required! | |
let iCanHazVundle=1 | |
let vundle_readme=expand("~/.vim/bundle/vundle/README.md") | |
if !filereadable(vundle_readme) | |
echo "Installing Vundle.." | |
echo "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[border=5pt]{standalone} | |
\begin{document} | |
\begin{tabular}{lll} | |
\hline | |
\multicolumn{1}{||c}{Header 1} & | |
\multicolumn{1}{||c||}{Header 2} & | |
\multicolumn{1}{c||}{Header 3} \\ \hline | |
\multicolumn{1}{||p{3.5cm}}{Cell 1} & | |
\multicolumn{1}{||p{3.5cm}||}{Cell 1} & | |
\multicolumn{1}{p{3.5cm}||}{Cell 1} \\ \hline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<match target="pattern"> | |
<test qual="any" name="family"> | |
<string>monospace</string> | |
</test> | |
<test name="lang"> | |
<string>zh-hk</string> | |
</test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Droid Sans</string> | |
<string>AR PL UMing HK</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[tikz]{standalone} | |
\usetikzlibrary{calc,through,intersections,backgrounds,patterns} | |
\begin{document} | |
\begin{tikzpicture} | |
\filldraw [pattern=grid] (0,0) circle (1); | |
\end{tikzpicture} | |
\end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@article{Cal2000, | |
author = {Calude, Andreea S.}, | |
title = {The journey of the four colour theorem through time}, | |
journal = {The New Zealand Mathematics Magazine}, | |
year = {2001}, | |
volume = {38}, | |
number = {3}, | |
pages = {27-35}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt,a4paper]{$documentclass$} | |
$if(fontfamily)$ | |
\usepackage{$fontfamily$} | |
$else$ | |
\usepackage{lmodern} | |
$endif$ | |
\usepackage{setspace} | |
\setstretch{1.241} % for one half spacing of 12pt | |
%\setstretch{1.655} % for double spacing of 12pt | |
\usepackage{amssymb,amsmath} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt,a4paper]{article} | |
\usepackage[margin=1in]{geometry} | |
\usepackage{xeCJK} | |
\setCJKmainfont{AR PL UKai HK} | |
\setlength{\parindent}{2em} | |
\setlength{\parskip}{\baselineskip} | |
\usepackage{setspace} | |
\doublespacing | |
\usepackage{metalogo} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@online{Gnu13, | |
author = {Richard Stallman}, | |
title = {{Free Software and Education}}, | |
date = {2013-11-06}, | |
url = {http://www.gnu.org/education/education.html} | |
} | |
@article{kaplan2010users, | |
title={{Users of the world, unite! The challenges and opportunities | |
of social media}}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RDF:Description RDF:about="urn:mimetype:text/plain" | |
NC:value="text/plain" | |
NC:description="Text Document"> | |
<NC:fileExtensions>markdown</NC:fileExtensions> | |
<NC:fileExtensions>mdown</NC:fileExtensions> | |
<NC:fileExtensions>mkdn</NC:fileExtensions> | |
<NC:fileExtensions>md</NC:fileExtensions> | |
<NC:fileExtensions>mkd</NC:fileExtensions> | |
<NC:fileExtensions>mdwn</NC:fileExtensions> | |
<NC:fileExtensions>mdtxt</NC:fileExtensions> |