Skip to content

Commit f42473e

Browse files
committed
-added .gitignore file to exclude my Visual Studio project and solution files
-Added Config class
1 parent 3a136ae commit f42473e

File tree

2 files changed

+240
-0
lines changed

2 files changed

+240
-0
lines changed

.gitignore

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
*.sln
10+
*.phpproj
11+
12+
# User-specific files (MonoDevelop/Xamarin Studio)
13+
*.userprefs
14+
15+
# Build results
16+
[Dd]ebug/
17+
[Dd]ebugPublic/
18+
[Rr]elease/
19+
[Rr]eleases/
20+
x64/
21+
x86/
22+
build/
23+
bld/
24+
[Bb]in/
25+
[Oo]bj/
26+
27+
# Visual Studio 2015 cache/options directory
28+
.vs/
29+
30+
# MSTest test Results
31+
[Tt]est[Rr]esult*/
32+
[Bb]uild[Ll]og.*
33+
34+
# NUNIT
35+
*.VisualState.xml
36+
TestResult.xml
37+
38+
# Build Results of an ATL Project
39+
[Dd]ebugPS/
40+
[Rr]eleasePS/
41+
dlldata.c
42+
43+
# DNX
44+
project.lock.json
45+
artifacts/
46+
47+
*_i.c
48+
*_p.c
49+
*_i.h
50+
*.ilk
51+
*.meta
52+
*.obj
53+
*.pch
54+
*.pdb
55+
*.pgc
56+
*.pgd
57+
*.rsp
58+
*.sbr
59+
*.tlb
60+
*.tli
61+
*.tlh
62+
*.tmp
63+
*.tmp_proj
64+
*.log
65+
*.vspscc
66+
*.vssscc
67+
.builds
68+
*.pidb
69+
*.svclog
70+
*.scc
71+
72+
# Chutzpah Test files
73+
_Chutzpah*
74+
75+
# Visual C++ cache files
76+
ipch/
77+
*.aps
78+
*.ncb
79+
*.opensdf
80+
*.sdf
81+
*.cachefile
82+
83+
# Visual Studio profiler
84+
*.psess
85+
*.vsp
86+
*.vspx
87+
88+
# TFS 2012 Local Workspace
89+
$tf/
90+
91+
# Guidance Automation Toolkit
92+
*.gpState
93+
94+
# ReSharper is a .NET coding add-in
95+
_ReSharper*/
96+
*.[Rr]e[Ss]harper
97+
*.DotSettings.user
98+
99+
# JustCode is a .NET coding add-in
100+
.JustCode
101+
102+
# TeamCity is a build add-in
103+
_TeamCity*
104+
105+
# DotCover is a Code Coverage Tool
106+
*.dotCover
107+
108+
# NCrunch
109+
_NCrunch_*
110+
.*crunch*.local.xml
111+
112+
# MightyMoose
113+
*.mm.*
114+
AutoTest.Net/
115+
116+
# Web workbench (sass)
117+
.sass-cache/
118+
119+
# Installshield output folder
120+
[Ee]xpress/
121+
122+
# DocProject is a documentation generator add-in
123+
DocProject/buildhelp/
124+
DocProject/Help/*.HxT
125+
DocProject/Help/*.HxC
126+
DocProject/Help/*.hhc
127+
DocProject/Help/*.hhk
128+
DocProject/Help/*.hhp
129+
DocProject/Help/Html2
130+
DocProject/Help/html
131+
132+
# Click-Once directory
133+
publish/
134+
135+
# Publish Web Output
136+
*.[Pp]ublish.xml
137+
*.azurePubxml
138+
## TODO: Comment the next line if you want to checkin your
139+
## web deploy settings but do note that will include unencrypted
140+
## passwords
141+
#*.pubxml
142+
143+
*.publishproj
144+
145+
# NuGet Packages
146+
*.nupkg
147+
# The packages folder can be ignored because of Package Restore
148+
**/packages/*
149+
# except build/, which is used as an MSBuild target.
150+
!**/packages/build/
151+
# Uncomment if necessary however generally it will be regenerated when needed
152+
#!**/packages/repositories.config
153+
154+
# Windows Azure Build Output
155+
csx/
156+
*.build.csdef
157+
158+
# Windows Store app package directory
159+
AppPackages/
160+
161+
# Visual Studio cache files
162+
# files ending in .cache can be ignored
163+
*.[Cc]ache
164+
# but keep track of directories ending in .cache
165+
!*.[Cc]ache/
166+
167+
# Others
168+
ClientBin/
169+
[Ss]tyle[Cc]op.*
170+
~$*
171+
*~
172+
*.dbmdl
173+
*.dbproj.schemaview
174+
*.pfx
175+
*.publishsettings
176+
node_modules/
177+
orleans.codegen.cs
178+
179+
# RIA/Silverlight projects
180+
Generated_Code/
181+
182+
# Backup & report files from converting an old project file
183+
# to a newer Visual Studio version. Backup files are not needed,
184+
# because we have git ;-)
185+
_UpgradeReport_Files/
186+
Backup*/
187+
UpgradeLog*.XML
188+
UpgradeLog*.htm
189+
190+
# SQL Server files
191+
*.mdf
192+
*.ldf
193+
194+
# Business Intelligence projects
195+
*.rdl.data
196+
*.bim.layout
197+
*.bim_*.settings
198+
199+
# Microsoft Fakes
200+
FakesAssemblies/
201+
202+
# Node.js Tools for Visual Studio
203+
.ntvs_analysis.dat
204+
205+
# Visual Studio 6 build log
206+
*.plg
207+
208+
# Visual Studio 6 workspace options file
209+
*.opt
210+
211+
# LightSwitch generated files
212+
GeneratedArtifacts/
213+
_Pvt_Extensions/
214+
ModelManifest.xml

private/Config.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
class Config
3+
{
4+
private $host;
5+
private $user;
6+
private $pass;
7+
private $schema;
8+
private $port;
9+
private $persistent;
10+
private $engine;
11+
private $options;
12+
13+
function __construct()
14+
{
15+
$this->host = "myHost";
16+
$this->user = "myUser";
17+
$this->pass = "myPass";
18+
$this->schema = "mySchema";
19+
$this->port = "myPort";
20+
$this->persistent = "myPersistend";
21+
$this->engine = "myEngine";
22+
$this->options = "myOptions";
23+
}
24+
25+
}
26+
?>

0 commit comments

Comments
 (0)