Skip to content

Instantly share code, notes, and snippets.

@n3zukochan
Last active December 26, 2016 08:52
Show Gist options
  • Save n3zukochan/38a55abe1b256a768700 to your computer and use it in GitHub Desktop.
Save n3zukochan/38a55abe1b256a768700 to your computer and use it in GitHub Desktop.

Code Snippets Log

Jekyll

  • TCPServer Error: Address already in use
# Find out the PID of the process that's using the xxxx port
$ lsof -wni tcp:xxxx
# Use the number in the PID column to kill the process
$ kill -9 PID

Vim

  • Vim-airline: Separator is not right
let g:airline#extensions#tabline#enabled = 1 
let g:airline#extensions#tabline#fnamemod = ':t' 
let g:airline#extensions#branch#enabled = 1
let g:airline_powerline_fonts = 1

Powershell

  • Escape sequence with `
@itsjef
Copy link

itsjef commented Feb 7, 2016

kill 1 application đang dùng port nào đó chỉ cần gõ $ fuser -k <port>/tcp là dc 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment