Get Commit SHA from the first commit in your solution that is broken.
$baseRepo
$repo
$repo_B
$reposFirstCommitsBaseProjectCommit = [SHA]
@echo off | |
if "%1"=="" goto missingarg | |
set BASEDIR=%1 | |
if %BASEDIR:~-1%==\ set BASEDIR=%BASEDIR:~0, -1% | |
for %%f in (%BASEDIR%) do set BRANCHDIR=%%~nxf | |
echo Using branch: %BRANCHDIR% |
https://icomoon.io/app/#/select | |
1) create svg files over the icons you want to create | |
2) head to https://icomoon.io/app/#/select | |
3) import all files you want to merge together | |
4) select all files. | |
5) go to the tab for generating font | |
6) adjust settings to match the library your creating | |
7) download & imploement, font is created enjoy |
https://icomoon.io/app/#/select | |
1) create svg files over the icons you want to create | |
2) head to https://icomoon.io/app/#/select | |
3) import all files you want to merge together | |
4) select all files. | |
5) go to the tab for generating font | |
6) adjust settings to match the library your creating | |
7) download & imploement, font is created enjoy |
class MyStronlyTypedEnum | |
{ | |
public static readonly MyStronlyTypedEnum Good = new MyStronlyTypedEnum(1, "GUUD", "GOOD"); | |
public static readonly MyStronlyTypedEnum Bad = new MyStronlyTypedEnum(2, "BAED", "BAD"); | |
public static readonly MyStronlyTypedEnum Ugly = new MyStronlyTypedEnum(3, "FUGLY", "UGLY"); | |
private MyStronlyTypedEnum(int id, string codeId, string description) | |
{ | |
Id = id; | |
CodeId = codeId; |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[user] | |
name = <USERNAME> | |
email = <EMAIL> | |
[mergetool] | |
prompt = false |
Add-Type -typedef @" | |
public class EncodingHelper | |
{ | |
public static System.Text.Encoding GetEncoding(string file) | |
{ | |
System.Text.Encoding encoding; | |
using (var reader = new System.IO.StreamReader(file, System.Text.Encoding.Default, true)) | |
{ | |
reader.Peek(); // you need this! | |
encoding = reader.CurrentEncoding; |
Get-ChildItem -r *.log | where FullName -Match "\\(log|logs)\\" | where LastWriteTime -LT (Get-Date).AddDays(-30) | |
| Remove-Item -Verbose |
SELECT COLUMN_NAME AS 'ColumnName' | |
,TABLE_NAME AS 'TableName' | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE COLUMN_NAME LIKE '%EntityId%' | |
ORDER BY TableName | |
,ColumnName; |
The thing that is different from an ordinary deploy is that websites dosent have any csproj files that you can run across and run octopack against.
But when you run msbuild agains solutionfile with website projects there will be a command line runned like this.
aspnet_compiler.exe -v /Web -p Web\ -u -f -d PrecompiledWeb\Web\
within the msbuild runtime, which is basicly a publish that is executed for that project.
so what we can do with this infomration is just to add a nuget pack step.