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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontSize": 18, | |
"files.autoSave": "off", | |
"files.autoSaveDelay":60000, | |
"editor.mouseWheelZoom": true, | |
"html.suggest.ionic": false, | |
"php.suggest.basic": false, | |
"php.validate.enable": false | |
} |
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
{ | |
"files.exclude": { | |
"**/*.js": { "when": "$(basename).ts" }, | |
"**/*.map": { "when": "$(basename).map" } | |
} | |
} |
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
using System; | |
using System.ComponentModel.DataAnnotations; | |
namespace SampleProject.Validators | |
{ | |
public class AgeRangeAttribute : ValidationAttribute | |
{ | |
private readonly int _minAge; | |
private readonly int _maxAge; |
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
Build image: | |
docker build -t myimage/name . | |
List images: | |
docker image ls | |
Run image with publishing ports on host: | |
docker run --rm -it -p 8080:80 myimage/name | |
Look inside the container: |
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
check current: git remote -v | |
cd <root directory of your local repository> | |
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git | |
got remote -v | |
git fetch/push |