Skip to content

Instantly share code, notes, and snippets.

Ngoc Pham ngocphamm

Block or report user

Report or block ngocphamm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ngocphamm / verbose_log.zsh
Created May 16, 2019
ZSH start with -v. Crash.
View verbose_log.zsh
Last login: Thu May 16 16:03:02 on ttys017
# zmodload zsh/zprof
ngocphamm /
Created Apr 9, 2018 — forked from ahmozkya/
Homebrew with DNSMasq + DNSCrypt-proxy (OpenDNS)

Install & Configure

  1. Install DNSMasq
$ brew install dnsmasq
  1. Install DNSCrypt-proxy
$ brew install dnscrypt-proxy

Keybase proof

I hereby claim:

  • I am ngocphamm on github.
  • I am ngocphamm ( on keybase.
  • I have a public key ASDIZXf6G4v1aI7sAEUkQRzndpdVrgWxdpHaU_TfqfzStAo

To claim this, I am signing this object:

View dash_emoji_snippets.sql
INSERT INTO 'snippets'
select 487 as 'sid', ':musical_note:' as 'title', '🎵' as 'body', 'None' as 'syntax', 0 as 'usageCount'
union select 488, ':musical_score:', '🎼', 'None', 0
union select 489, ':mute:', '🔇', 'None', 0
union select 490, ':nail_care:', '💅', 'None', 0
union select 491, ':name_badge:', '📛', 'None', 0
union select 492, ':necktie:', '👔', 'None', 0
union select 493, ':negative_squared_cross_mark:', '', 'None', 0
union select 494, ':neutral_face:', '😐', 'None', 0
union select 495, ':new:', '🆕', 'None', 0
ngocphamm / Homebrew Zsh on Mac
Last active Dec 13, 2015
Notes on using Homebrew Zsh as default login shell
View Homebrew Zsh on Mac
1. Install Zsh with Homebrew
brew install zsh
2. Add "/usr/local/bin/zsh" to "/etc/shells" file
sudo vim /etc/shells
3. Change to default login shell
chsh -s /usr/local/bin/zsh $USER
4. Make sure new version of Zsh is in active
ngocphamm / gist:3484715
Created Aug 27, 2012 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts
View gist:3484715

Sublime Text 2 – Useful Shortcuts (Mac OS X)


⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
ngocphamm /
Created Mar 31, 2012 — forked from erikh/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
You can’t perform that action at this time.