Skip to content

Instantly share code, notes, and snippets.

@devthue
devthue / study.md
Last active August 13, 2016 08:07
Tìm hiểu công nghệ
  • Port là gì?
  • http method (get post put delete)
  • http status code (404, 502,...)
  • socket la gi?
  • Ubuntu (command line cơ bản: tạo thư mục, xóa thư mục, chỉnh file, tạo file, cd là gì, chmod là gì, chown là gì, git trên ubuntu, apt-get là gì) LINUX căn bản. (14.04)
  • Git cơ bản (clone, pull, commit, push, fetch, add)
  • Docker là gì? Cách chạy 1 cotainer bằng docker, chạy ubuntu bằng docker: http://kipalog.com/posts/Toi-da-dung-Docker-nhu-the-nao
  • Nodejs
  • Express
  • Mongodb
@devthue
devthue / git-ignore-local.md
Created August 12, 2016 04:18
Git ignore files only locally

Sources: http://stackoverflow.com/questions/1753070/git-ignore-files-only-locally

The .git/info/exclude file has the same format as any .gitignore file. Another option is to set core.excludesFile to the name of a file containing global patterns.

Note, if you already have unstaged changes you must run the following after editing your ignore-patterns:

git update-index --assume-unchanged [<file>...]

Note on $GIT_DIR: This is a notation used all over the git manual simply to indicate the path to the git repository. If the environment variable is set, then it will override the location of whichever repo you're in, which probably isn't what you want.

@devthue
devthue / nano-in-docker.md
Created August 10, 2016 07:29
Running nano in docker container

Running nano in docker container

Run comand : export TERM=xterm

@devthue
devthue / redis-install.md
Last active August 10, 2016 06:52
How To Install Redis
@devthue
devthue / rabbitmq-note.md
Last active November 3, 2016 14:56
RabbitMQ Ghi chú