This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
redis: | |
restart: always | |
image: sameersbn/redis:latest | |
command: | |
- --loglevel warning | |
volumes: | |
- /srv/docker/gitlab/redis:/var/lib/redis:Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
show processlist; | |
show master status; | |
show slave status\G; | |
stop slave; | |
change master to master_auto_position=0; | |
change master to master_host='x.x.x.x',master_user='root',master_password='***', master_log_file='mysql-bin.004672',master_log_pos=63057965; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####OpenSourece List | |
### Nodejs | |
- [strongloop](https://strongloop.com/) | |
- [loopback.io](http://loopback.io/) | |
- [kue](http://automattic.github.io/kue/) | |
- passport | |
- passport-http | |
- file-register | |
- nsqjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |