Skip to content

Instantly share code, notes, and snippets.

View anguschiu1's full-sized avatar

Angus Chiu anguschiu1

View GitHub Profile
@anguschiu1
anguschiu1 / regex.md
Last active January 18, 2019 01:52 — forked from vitorbritto/regex.md
Regex Cheat Sheet #regex #cheatsheet

Regular Expressions

Basic Syntax

  • /.../: Start and end regex delimiters
  • |: Alternation
  • (): Grouping
@anguschiu1
anguschiu1 / readme.md
Last active July 30, 2019 09:27 — forked from benstr/readme.md
Gist Markdown Cheatsheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Paragraph

@anguschiu1
anguschiu1 / docx2md.md
Created September 22, 2018 14:45 — forked from vdavez/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in Two Moves

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

The Solution

As it turns out, there are several open-source tools that allow for conversion between file types. Pandoc is one of them, and it's powerful. In fact, pandoc's website says "If you need to convert files from one markup format into another, pandoc is your swiss-army knife." But, although pandoc can convert from markdown into .docx, it doesn't work in the other direction.

@anguschiu1
anguschiu1 / README-Template.md
Created April 14, 2018 15:20 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@anguschiu1
anguschiu1 / multiple_ssh_setting.md
Created December 19, 2017 03:10 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"