- Plugins
- Project Managent: Manages projects
- DocBlockr: Add code documentation blocks
- All Autocomplete: Autocomplete that searches all opened files.
- SideBarEnhancements: Enhance the functionalities of the sidebar
- SyncSidebar: Select current file is tree sidebar
- GIT
- GitGutter: Adds git lines statuses in gutter
- Git: Allows you to interact with git in the command pallete instead of a terminal tab.
This file contains hidden or 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
| https://labs.play-with-docker.com/ | |
| docker container run --name c1 -ti alpine sh | |
| docker ps | |
| docker ps --all | |
| docker container ls -a |
This file contains hidden or 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
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
This file contains hidden or 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
| sudo apt-get update | |
| sudo apt-get install nodejs | |
| sudo apt-get install npm | |
| ## Use n module from npm in order to upgrade node | |
| sudo npm cache clean -f | |
| sudo npm install -g n | |
| sudo n stable |
This file contains hidden or 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
| <!-- The Metas Output --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
| <meta http-equiv="imagetoolbar" content="no" /> | |
| <meta http-equiv="content-language" content="pt-BR" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <meta name="robots" content="index,follow" /> | |
| <meta name="generator" content="{website-generator}" /> | |
| <meta name="author" content="{website-name}" /> | |
| <meta name="copyright" content="© {this-year} {website-name}" /> |
This file contains hidden or 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
| { | |
| "require": { | |
| "mfacenet/hello-world": "v1.*" | |
| } | |
| } |
This file contains hidden or 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
| # configure proxy for git while on corporate network | |
| # From https://gist.github.com/garystafford/8196920 | |
| function proxy_on(){ | |
| # assumes $USERDOMAIN, $USERNAME, $USERDNSDOMAIN | |
| # are existing Windows system-level environment variables | |
| # assumes $PASSWORD, $PROXY_SERVER, $PROXY_PORT | |
| # are existing Windows current user-level environment variables (your user) | |
| # environment variables are UPPERCASE even in git bash |
This file contains hidden or 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
| #!/bin/bash | |
| # Simple script to dump the contents of a database into separate files in the directory "/backups/" | |
| # Symlink into /etc/cron.daily/ or add to crontab | |
| # Originally from: https://gist.github.com/brianredbeard | |
| # /usr/local/scripts/db_dump | |
| #mysqldump -x --add-drop-table --all-databases > /backups/mysqldb-`date +%F-%I%p`.sql | |
| /usr/bin/mysql --defaults-extra-file=/root/.my.cnf -e 'show databases' | /bin/awk '{print $1}' | /bin/grep -v "^Database$" | /usr/bin/xargs -i{} /usr/bin/mysqldump --defaults-extra-file=/root/.my.cnf --opt -Q -r /backups/{}-`date +%F-%I%p`.sql {} |
This file contains hidden or 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
| Host github.com | |
| ProxyCommand=socat - PROXY:your.proxy.ip:%h:%p,proxyport=yourproxyport |