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
# stop all container | |
docker stop $(docker ps -a -q) | |
# remove all container | |
docker rm $(docker ps -a -q) | |
# remove all images | |
docker rmi $(docker images -q) |
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
sudo: required | |
dist: trusty | |
group: deprecated-2017Q4 | |
language: node_js | |
sudo: true | |
services: | |
- mongodb | |
node_js: | |
- "9" | |
cache: |
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
library(DBI) | |
con <- dbConnect(odbc::odbc(), .connection_string = "Driver={ODBC Driver 13 for SQL Server}; | |
Server=...; | |
Database=...; | |
Uid=...; | |
Pwd=...") |
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
→ git remote prune origin | |
→ git branch --merged | grep -v "\*" | xargs -n 1 git branch -d | |
# Remember to do this from the master branch | |
# If you run it from a feature branch the master branch gets deleted. | |
→ git branch --merged | grep -v "\*" | xargs -n 1 git branch -d | |
Deleted branch master (was 644eb76). | |
You can recheckout master branch | |
→ git checkout -b master origin/master |
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 hidden characters
{ | |
"ignore": [ | |
], | |
"sourceMaps": "inline", | |
"retainLines": true, | |
"presets": [ | |
[ | |
"env", | |
{ | |
"targets": { |
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": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/index.js", | |
"stopOnEntry": false, | |
"args": [], |