Skip to content

Instantly share code, notes, and snippets.

View jessehao's full-sized avatar
🐰
Stay sharp

Jesse Hao jessehao

🐰
Stay sharp
View GitHub Profile
@jessehao
jessehao / multiple_ssh_setting.md
Last active November 12, 2020 07:26 — 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"
@jessehao
jessehao / create_macos_installer_iso.sh
Last active July 20, 2020 08:20
Create macOS Installer ISO
hdiutil create -size 12G -fs hfs+ -volname macOSInstaller -type SPARSEBUNDLE /Users/Shared/macOSInstaller
hdiutil attach /Users/Shared/macOSInstaller.sparsebundle
'/Applications/Install macOS Big Sur Beta.app/Contents/Resources/createinstallmedia' --volume /Volumes/macOSInstaller --nointeraction
hdiutil detach /Volumes/Install\ macOS\ Beta -force
hdiutil makehybrid -o /Users/Shared/macOSInstaller /Users/Shared/macOSInstaller.sparsebundle
@jessehao
jessehao / git_commands.sh
Created August 15, 2019 14:54
Git Commands
# use vscode as default editor for git
git config --global core.editor "code --wait"
@jessehao
jessehao / .tigrc
Created August 15, 2019 11:48
tig key bindings. (path: ~/.tigrc)
bind main p ?git push
bind main P ?git push -f
bind main L ?git log --graph --all
@jessehao
jessehao / Gemfile
Created August 11, 2019 14:49
favorite Gems...
gem "travis"
@jessehao
jessehao / Brewfile
Last active August 23, 2019 04:15
favorite brews..
brew "googler"
brew "autojump"
brew "hub"
brew "proxychains-ng"
brew "mas"
brew "tig"
brew "thefuck"
cask "cheatsheet"
@jessehao
jessehao / BonjourClient.swift
Created May 23, 2019 09:06
A simple example for Bonjour
//
// BonjourClient.swift
// BonjourClient
//
// Created by Jesse Hao on 2019/5/23.
// Copyright © 2019 ONES. All rights reserved.
//
import Foundation
@jessehao
jessehao / Keybase.md
Created August 7, 2018 11:59
Keybase Gist

Keybase proof

I hereby claim:

  • I am jessehao on github.
  • I am jessehao (https://keybase.io/jessehao) on keybase.
  • I have a public key ASBLv632Zyplp1IHftouNF2Vwta4bU4t2YQJigIGyEXXDAo

To claim this, I am signing this object: