Skip to content

Commit d6fd2b0

Browse files
authored
1.0.1 (#1)
* 1.0.0 * <feat> v1.0.1 + guid工具 * <fix> 随机数bug
1 parent e9d755e commit d6fd2b0

30 files changed

+934
-1
lines changed

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
build
2+
bin
3+
obj
4+
packages
5+
Migrations
6+
_gsdata_
7+
_ReSharper*
8+
TestResults
9+
app_data
10+
nuget.config
11+
*.suo
12+
*.user
13+
*.log
14+
*.pubxml
15+
*.publish.xml
16+
.svn
17+
.vs
18+
*.dbmdl
19+
*.jfm
20+
*.exe
21+
.idea
22+
node_modules
23+
dist

.tgitconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[hook "startcommit"]
2+
cmdline = code-format.cmd
3+
wait = true
4+
show = true

Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<PropertyGroup>
3+
<BaseOutputPath>../build/temp/bin</BaseOutputPath>
4+
<BaseIntermediateOutputPath>../build/temp/obj</BaseIntermediateOutputPath>
5+
<MSBuildProjectExtensionsPath>../build/temp/obj</MSBuildProjectExtensionsPath>
6+
</PropertyGroup>
7+
</Project>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# dot
2-
功能全面的实用工具-程序员的瑞士军刀
2+
功能全面的实用工具-程序员的瑞士军刀

build.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dotnet build
2+
dotnet publish -c Release -r win-x64 --sc -p:PublishSingleFile=true -o ./build/win-x64
3+
rm -r ./build/temp

code-format.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dot trim-utf8-bom
2+
dot remove-whitespace
3+
dot convert-lf

dot.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dot", "src\dot.csproj", "{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(SolutionProperties) = preSolution
14+
HideSolutionNode = FALSE
15+
EndGlobalSection
16+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17+
{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18+
{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}.Release|Any CPU.ActiveCfg = Release|Any CPU
20+
{E7608D54-4A3B-4B4B-ADA0-7852987CA21F}.Release|Any CPU.Build.0 = Release|Any CPU
21+
EndGlobalSection
22+
EndGlobal

dot.sln.DotSettings

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:String x:Key="/Default/CodeStyle/CSharpFileLayoutPatterns/Pattern/@EntryValue">&lt;?xml version="1.0" encoding="utf-16"?&gt;
3+
&lt;Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"&gt;
4+
&lt;TypePattern&gt;
5+
&lt;Entry&gt;
6+
&lt;Entry.SortBy&gt;
7+
&lt;Kind&gt;
8+
&lt;Kind.Order&gt;
9+
&lt;DeclarationKind&gt;Interface&lt;/DeclarationKind&gt;
10+
&lt;DeclarationKind&gt;Class&lt;/DeclarationKind&gt;
11+
&lt;DeclarationKind&gt;Enum&lt;/DeclarationKind&gt;
12+
&lt;DeclarationKind&gt;Struct&lt;/DeclarationKind&gt;
13+
&lt;DeclarationKind&gt;Delegate&lt;/DeclarationKind&gt;
14+
&lt;DeclarationKind&gt;Event&lt;/DeclarationKind&gt;
15+
&lt;DeclarationKind&gt;Constant&lt;/DeclarationKind&gt;
16+
&lt;DeclarationKind&gt;Field&lt;/DeclarationKind&gt;
17+
&lt;DeclarationKind&gt;Property&lt;/DeclarationKind&gt;
18+
&lt;DeclarationKind&gt;Constructor&lt;/DeclarationKind&gt;
19+
&lt;DeclarationKind&gt;Destructor&lt;/DeclarationKind&gt;
20+
&lt;DeclarationKind&gt;Indexer&lt;/DeclarationKind&gt;
21+
&lt;DeclarationKind&gt;Method&lt;/DeclarationKind&gt;
22+
&lt;/Kind.Order&gt;
23+
&lt;/Kind&gt;
24+
&lt;Access&gt;
25+
&lt;Access.Order&gt;
26+
&lt;AccessModifier&gt;Private&lt;/AccessModifier&gt;
27+
&lt;AccessModifier&gt;PrivateProtected&lt;/AccessModifier&gt;
28+
&lt;AccessModifier&gt;Protected&lt;/AccessModifier&gt;
29+
&lt;AccessModifier&gt;ProtectedInternal&lt;/AccessModifier&gt;
30+
&lt;AccessModifier&gt;Internal&lt;/AccessModifier&gt;
31+
&lt;AccessModifier&gt;Public&lt;/AccessModifier&gt;
32+
&lt;/Access.Order&gt;
33+
&lt;/Access&gt;
34+
&lt;Name /&gt;
35+
&lt;/Entry.SortBy&gt;
36+
&lt;/Entry&gt;
37+
&lt;/TypePattern&gt;
38+
&lt;/Patterns&gt;</s:String>
39+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=Constants/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AA_BB" /&gt;</s:String>
40+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateConstants/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="AA_BB" /&gt;</s:String>
41+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String>
42+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=StaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String>
43+
<s:Boolean x:Key="/Default/ReSpeller/ReSpellerEnabled/@EntryValue">False</s:Boolean>
44+
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=TooWideLocalVariableScope/@EntryIndexedValue">HINT</s:String>
45+
</wpf:ResourceDictionary>

git-clean.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git reset --hard | git clean -d -fx .

0 commit comments

Comments
 (0)