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
https://github.com/aspnet/AspNetCore.Docs/tree/master/aspnetcore/host-and-deploy/windows-service/samples/3.x/AspNetCoreService |
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
https://www.youtube.com/watch?v=MJucB1sf4mE |
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 rm -r --cached . | |
git add . | |
Then commit your changes: | |
git commit -m "Untrack files in .gitignore" |
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
# path yolu kısaltma | |
split_pwd() { | |
# Only show ellipses for directory trees -gt 3 | |
# Otherwise use the default pwd as the current \w replacement | |
if [ $(pwd | grep -o '/' | wc -l) -gt 3 ]; then | |
pwd | cut -d'/' -f1-3 | xargs -I{} echo {}"/../${PWD##*/}" | |
else | |
pwd | |
fi | |
} |
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 docker pull mcr.microsoft.com/mssql/server:2017-CU8-ubuntu | |
docker run \ | |
-e 'ACCEPT_EULA=Y' \ | |
-e 'MSSQL_SA_PASSWORD=YourSTRONG!Passw0rd' \ | |
-p 1401:1433 \ | |
-n sql1 \ | |
-d mcr.microsoft.com/mssql/server:2017-CU8-ubuntu | |
then, |
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
dotnet dev-certs https -ep /tmp/dnc.pfx -p SomePassword | |
openssl pkcs12 -in /tmp/dnc.pfx -clcerts -nokeys -out /tmp/dnc.crt | |
cp -i /tmp/dnc.crt /usr/local/share/ca-certificates | |
cp -i /tmp/dnc.crt /usr/local/share/ca-certificates | |
update-ca-certificates |
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
Looks like npm-check-updates is the only way to make this happen now. | |
npm i -g npm-check-updates | |
ncu -u | |
npm install |
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
import { Injectable, Inject } from '@angular/core'; | |
import { ReplaySubject, Observable } from 'rxjs'; | |
import { DOCUMENT } from '@angular/common'; | |
@Injectable({ | |
providedIn: 'root', | |
}) | |
export class LazyLoadScriptService { | |
_loadedLibraries: { [url: string]: ReplaySubject<any> } = {}; |
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
https://1drv.ms/x/s!AvMsQnIZbn9YhxpyoDT-BGU6DoRz |
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
dockerdan calıştırma | |
docker exec it mongo:3.6 bash |