Skip to content

Instantly share code, notes, and snippets.

View RockfordWei's full-sized avatar

Rockford Wei RockfordWei

View GitHub Profile
@RockfordWei
RockfordWei / iOSCreatePDF.swift
Last active August 25, 2021 19:23 — forked from nyg/iOSCreatePDF.swift
iOS, Swift: Create a PDF file from an HTML string with local image file support
//
// ViewController.swift
// hrender
//
// Created by Rockford Wei on 2021-08-25.
//
import UIKit
import WebKit
class ViewController: UIViewController {
@RockfordWei
RockfordWei / gitflow-breakdown.md
Created April 16, 2018 13:48 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository