Update: I've added the following code:
function TSettingsForm.AppDataPath: string;
//CSIDL_APPDATA Individual user Data
//CSIDL_COMMON_APPDATA Common to Computer Data
// works so long as people have at least IE 4. (and Win95 or better)
var
r: Bool;
path: array[0..Max_Path] of Char;
begin
r := ShGetSpecialFolderPath(0, pa...
Using the git config --global command to set things up, where is the file?
eg :
git config --global core.editor "blah"
Its not at these places :-
C:\Program Files\Git\etc\gitconfig
C:\myapp.git\config
I have not env set?
git version 1.6.5.1.1367.gcd48 on Windows7
...
I added the following code to my .vimrc:
" save and restore folds when a file is closed and re-opened
autocmd BufWinLeave *.* mkview
autocmd BufWinEnter *.* silent loadview
HTML and CSS documents save and restore their folds but code folding is not being saved in my .vimrc
Any suggestions?
EDIT:
The following code solves the probl...
Well, i have a shared host and i have'nt ssh access. The problem is the server structure and symfony estructure...
Server has this estructure
error/
log/
...
web/
and in web dir we can load web aplication...
symnfony structure is..
app/
..
web/
well the problem is that with my domain, if i try to access i have to put www.domainname....
I have some site metadata I'd like to be changeable... for example, in my application, if the sysadmin didn't want to use the "Inventory" portion of the site, he/she could turn it off, and it would disappear from the main site.
So I was thinking, maybe I could make a table in my database called "meta", and insert values (or tuples) ther...
I have a config.inc file in a web app that I am building. It contains an array with config values for things like the mysql database, etc. I would like these to be entered by using a simple form, that asks for the server, login/password for the database, etc, then these get written to the config. file.
Is there a preferred method of d...
Currently I have this sourcecontrol config block.
<sourcecontrol type="svn">
<trunkUrl>https://SampleSVNOnlineRepository.com/12maksdde12d123ede12</trunkUrl>
<workingDirectory>c:\MyProject</workingDirectory>
<username>admin</username>
<password>mypassword</password>
</sourcecontrol>
Cruise...
Is there some cleaner way to make Git just ignore some of my changes and never commit them?
.gitattributes:
config_to_be_deviated.xml filter=qqq
.git/config:
[filter "qqq"]
clean = "perl -ne 'print unless /git_please_dont_look_here/'"
smudge = (Q=$(mktemp) /tmp/pp I can continue adding and committing useful changes to config_to...
I have a solution which has multiple output projects (a website, and admin tool, and a SOAP API layer).
They each share common projects in the solution (the service layer, data layer etc). In one of these common projects, I am looking to store a config layer.
Right now, we have three seperate appsettings config files for each output pr...
Grails have cofig for spring bean called resources.groovy. And as i understand from docs it allows you to include another file, using loadBeans(%path%)
I'm tried with this:
println 'loading application config ...'
// Place your Spring DSL code here
beans = {
loadBeans("classpath:security") //i'm tried with "spring/security" and "...
i made a
apps/frontend/config/security.yml
dev:
default:
is_secure: false
prod:
default:
is_secure: true
but it is not working, am i missing something ?
...
I have a quite big custom made config file I need to extract data from once a week. This is an "in house" config file which doesn't comply to any know standard like INI or such.
My quick and dirty approach was to use re to search for the section header I want and then extract the one or 2 lines of information under this header that I wa...
Is to possible to make a configuration entry (web.config). That automatically compiles a referenced project(for example a class library) when the site runs? This would be easier for me to maintain on my hosting server. Otherwise i have to always recompile the files and upload them again for every small change.
So is this possible?
...
How do you assign a wsgi app to the root of cherrypy via the config file? I'd like the request "http://localhost:8080/" to route to my own wsgiapp. I'm using cherryd to start a cherrypy server with a config file as follows:
Here's the invocation:
cherryd --config config.cfg --import myapp
Here's the config.cfg file:
[global]
server...
When I use the following in a structuremap xml config file, it is like I didn't specify the captureFileName parameter at all.
How can I inject an empty string?
...
I'm using XML for a config file in PHP (Using SimpleXML), in creating the config file what is more of a standard.
Having all values in elements or using the attributes?
Elements Example:
<database>
<user>test-user</user>
<pass>test-pass</pass>
</database>
Attribute Example:
<database user="test-user" pass="test-pass"></databa...
I need to be able to update my config file programmatically and change my WCF settings. I've been trying to do this inside of some test code using some of the examples I found on the web but so have not been able to get the config file to reflect a change to an endpoint address.
Config (snippet):
<!-- Sync Support -->
<serv...
Good evening,
I am working on a program where some application config info is stored in a Userconfig.xml file. I am loading the file as an XMLDataProvider in the XAML via relative URI:
<XmlDataProvider x:Name="UserConfigDataSource" x:Key="UserConfigDataSource" Source="UserConfig.xml" d:IsDataSource="True"/>
I have a number of items ...
Hi folks,
I'm working on an application framework that is supposed to be mostly modular, meaning once the framework is done, all business intelligence is incorporated in plugins that can be included via config.
Most modules have the common aspect that they use NHibernate to access a database, and often they use the same tables.
What ...
Hi!
I am writing software, which allows simultaneous user access to configuration commands. And I want to include some kind of configuration management into it. So that one user can edit and then commit config, the other can see diff between versions.
So I am looking for libraries, that implement these (or similar) functions. Can you r...