Skip to content

Instantly share code, notes, and snippets.

View tuanlc's full-sized avatar
🌤️
Focusing

Cong Tuan Le tuanlc

🌤️
Focusing
View GitHub Profile
@tuanlc
tuanlc / ES.txt
Created July 27, 2017 01:44 — forked from chamerling/ES.txt
Dirty ES fix for OP user search
chamerling@macbook-air-de-christophe:~/src/openpaas/rse-chamerling|CAL-605-rename-events⚡
⇒ curl -XDELETE 'http://localhost:9200/users.idx/'
{"acknowledged":true}% chamerling@macbook-air-de-christophe:~/src/openpaas/rse-chamerling|CAL-605-rename-events⚡
⇒ node ./bin/cli.js elasticsearch -i users
debug: local/SUBSCRIBE to mongodb:connectionAvailable
[CLI] INFO ElasticSearch has been configured
chamerling@macbook-air-de-christophe:~/src/openpaas/rse-chamerling|CAL-605-rename-events⚡
⇒ node ./bin/cli.js reindex -t users
@tuanlc
tuanlc / syntastic-local-eslint
Last active April 9, 2017 04:32
Setup local eslint for JavaScript for VIM with syntastic - fork from (https://zirho.github.io/2016/10/06/vim-syntastic-local/) for remember
# Use one of plugin managers
Vim-Plug
NeoBundle
Vundle
Pathogen
Vim-Addon-Manager
## Install plugins
### Add lines in .vimrc
- Mail server
- Set configuration mail
- Test send mail
- Users management
- Create with quick form
- List users
- Create with full form
- LDAP server
- Set LDAP configuration.
_ Modules management
@tuanlc
tuanlc / OpenPaaSInstruction.md
Last active November 8, 2020 11:30
Install OpenPaas instruction

I. Prepare.

​ If you get stuck at any step, have a quick look at F.A.Q part.

I. Prepare.

​ Follow documentation here to install docker.