Use | Command |
---|---|
Save Stash | git stash save <nameofstash> |
Clone New | git clone http://myrepo.com/repo/proj.git |
Clone Recursive Submodule | git clone --recurse-submodules http://myrepo.com/repo/proj.git |
Recursive Pull Submodule | git pull --recurse-submodules |
List Stash | git stash list |
Backup stash | git stash show -p > stash.diff |
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
# directories | |
**/bin/ | |
**/obj/ | |
**/out/ | |
# files | |
Dockerfile* |
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
FROM microsoft/dotnet:2.2-sdk AS build | |
WORKDIR /app | |
COPY *.csproj ./ | |
RUN dotnet restore | |
COPY . ./ | |
RUN dotnet publish -c Release -o out | |
ENTRYPOINT ["dotnet", "out/heartbeat.dll"] |
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
FROM microsoft/dotnet:2.2-sdk AS build | |
WORKDIR /app | |
COPY *.csproj ./ | |
RUN dotnet restore | |
COPY . ./ | |
RUN dotnet publish -c Release -o out | |
ENTRYPOINT ["dotnet", "out/heartbeat.dll"] |
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "cleanweb", | |
"command": "dotnet", | |
"type": "process", | |
"args": [ | |
"clean", | |
"${workspaceFolder}/serviceflow.web/serviceflow.web.csproj" |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": ".NET Core Launch (web-api)", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "buildapi", | |
"program": "${workspaceFolder}/serviceflow.api/bin/Debug/netcoreapp2.2/serviceflow.api.dll", | |
"args": [], |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": ".NET Core Launch (web-api)", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "build", | |
"program": "${workspaceFolder}/serviceflow.api/bin/Debug/netcoreapp2.2/serviceflow.api.dll", | |
"args": [], |
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
start /REALTIME java -jar ApacheJMeter.jar -n -t [your file].jmx -l results1.jtl -j log1.log |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Arjun subscriptions in feedly Cloud</title> | |
</head> | |
<body> | |
<outline text="Business" title="Business"> | |
<outline type="rss" text="Entrepreneur: Latest Articles" title="Entrepreneur: Latest Articles" xmlUrl="http://feeds.feedburner.com/entrepreneur/latest" htmlUrl="https://www.entrepreneur.com/latest?utm_source=Feedly&utm_medium=related&utm_campaign=syndication"/> | |
</outline> |
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
#Requires -RunAsAdministrator | |
param([string]$arg1 = "env") | |
$wmi = Get-WmiObject win32_networkadapterconfiguration -filter "ipenabled = 'true'" | |
if($arg1 -eq "SIT1") | |
{ | |
$wmi.SetDNSServerSearchOrder(@("10.160.226.63","10.160.226.64")) | |
} | |
elseif($arg1 -eq "SIT2") | |
{ |