Skip to content

Instantly share code, notes, and snippets.

View monogot's full-sized avatar
🎯
Focusing

Kirati Samatthanares monogot

🎯
Focusing
View GitHub Profile
@monogot
monogot / 00.md
Created November 18, 2017 11:16 — forked from maxivak/00.md
Sending emails with ActionMailer and Sidekiq

Sending emails with ActionMailer and Sidekiq

Send email asynchroniously using Sidekiq.

ActionMailer

Create your mailer us usual:

@monogot
monogot / terminal-git-branch-name.md
Created November 2, 2017 09:48 — forked from joseluisq/terminal-git-branch-name.md
Add Git Branch Name to Terminal Prompt (Mac)

Add Git Branch Name to Terminal Prompt (Mac)

image

Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {