Skip to content

Commit e0ef61b

Browse files
committed
added gitignore and cleanup batch files
1 parent 78856e3 commit e0ef61b

File tree

2 files changed

+205
-0
lines changed

2 files changed

+205
-0
lines changed

.gitignore

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
#################
2+
## Eclipse
3+
#################
4+
5+
*.pydevproject
6+
.project
7+
.metadata
8+
bin/
9+
tmp/
10+
*.tmp
11+
*.bak
12+
*.swp
13+
*~.nib
14+
local.properties
15+
.classpath
16+
.settings/
17+
.loadpath
18+
19+
# External tool builders
20+
.externalToolBuilders/
21+
22+
# Locally stored "Eclipse launch configurations"
23+
*.launch
24+
25+
# CDT-specific
26+
.cproject
27+
28+
# PDT-specific
29+
.buildpath
30+
31+
32+
#############
33+
## Eagle
34+
#############
35+
36+
# Ignore the board and schematic backup files (and the csv, ods BOMs)
37+
*.b#?
38+
*.s#?
39+
*.csv#
40+
*.csv
41+
*.ods
42+
*.G??
43+
*.ZIP
44+
*.TXT
45+
*.dri
46+
47+
48+
#################
49+
## Visual Studio
50+
#################
51+
52+
## Ignore Visual Studio temporary files, build results, and
53+
## files generated by popular Visual Studio add-ons.
54+
55+
# User-specific files
56+
*.suo
57+
*.user
58+
*.sln.docstates
59+
60+
# Build results
61+
[Dd]ebug/
62+
[Rr]elease/
63+
*_i.c
64+
*_p.c
65+
*.ilk
66+
*.meta
67+
*.obj
68+
*.pch
69+
*.pdb
70+
*.pgc
71+
*.pgd
72+
*.rsp
73+
*.sbr
74+
*.tlb
75+
*.tli
76+
*.tlh
77+
*.tmp
78+
*.vspscc
79+
.builds
80+
*.dotCover
81+
82+
## TODO: If you have NuGet Package Restore enabled, uncomment this
83+
#packages/
84+
85+
# Visual C++ cache files
86+
ipch/
87+
*.aps
88+
*.ncb
89+
*.opensdf
90+
*.sdf
91+
92+
# Visual Studio profiler
93+
*.psess
94+
*.vsp
95+
96+
# ReSharper is a .NET coding add-in
97+
_ReSharper*
98+
99+
# Installshield output folder
100+
[Ee]xpress
101+
102+
# DocProject is a documentation generator add-in
103+
DocProject/buildhelp/
104+
DocProject/Help/*.HxT
105+
DocProject/Help/*.HxC
106+
DocProject/Help/*.hhc
107+
DocProject/Help/*.hhk
108+
DocProject/Help/*.hhp
109+
DocProject/Help/Html2
110+
DocProject/Help/html
111+
112+
# Click-Once directory
113+
publish
114+
115+
# Others
116+
[Bb]in
117+
[Oo]bj
118+
sql
119+
TestResults
120+
*.Cache
121+
ClientBin
122+
stylecop.*
123+
~$*
124+
*.dbmdl
125+
Generated_Code #added for RIA/Silverlight projects
126+
127+
# Backup & report files from converting an old project file to a newer
128+
# Visual Studio version. Backup files are not needed, because we have git ;-)
129+
_UpgradeReport_Files/
130+
Backup*/
131+
UpgradeLog*.XML
132+
133+
134+
############
135+
## Windows
136+
############
137+
138+
# Windows image file caches
139+
Thumbs.db
140+
141+
# Folder config file
142+
Desktop.ini
143+
144+
145+
#############
146+
## Python
147+
#############
148+
149+
*.py[co]
150+
151+
# Packages
152+
*.egg
153+
*.egg-info
154+
dist
155+
build
156+
eggs
157+
parts
158+
bin
159+
var
160+
sdist
161+
develop-eggs
162+
.installed.cfg
163+
164+
# Installer logs
165+
pip-log.txt
166+
167+
# Unit test / coverage reports
168+
.coverage
169+
.tox
170+
171+
#Translations
172+
*.mo
173+
174+
#Mr Developer
175+
.mr.developer.cfg
176+
177+
# Mac crap
178+
.DS_Store
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@echo off
2+
3+
forfiles /S /M *.b#* /C "cmd /c echo @file"
4+
forfiles /S /M *.s#* /C "cmd /c echo @file"
5+
forfiles /S /M *.G** /C "cmd /c echo @file"
6+
forfiles /S /M *.dri /C "cmd /c echo @file"
7+
forfiles /S /M *.TXT /C "cmd /c echo @file"
8+
forfiles /S /M *.ZIP /C "cmd /c echo @file"
9+
10+
echo.
11+
12+
set /p input=Found above files, would you like me to delete them? (y/n)
13+
14+
IF "%input%" == "y" goto delete_all
15+
16+
EXIT
17+
18+
:delete_all
19+
20+
forfiles /S /M *.b#* /C "cmd /c del @file"
21+
forfiles /S /M *.s#* /C "cmd /c del @file"
22+
forfiles /S /M *.G** /C "cmd /c del @file"
23+
forfiles /S /M *.dri /C "cmd /c del @file"
24+
forfiles /S /M *.TXT /C "cmd /c del @file"
25+
forfiles /S /M *.ZIP /C "cmd /c del @file"
26+
27+
EXIT

0 commit comments

Comments
 (0)