You can remedy this by installing the CURL extension when installing PHP
Monday, July 11, 2011
ssleay32.dll missing error when trying to run go-pear.bat
On windows when trying to run go-pear.bat (which comes with the installation of PHP) you may get an error that ssleay32.dll is missing.
Sunday, July 10, 2011
Setting up NUnit in Jenkins
Jaco van Staden has a really good article that covers how to set everything up and more: http://yakiloo.com/jenkins-tfs-and-msbuild/
The only issue I had to overcome was that on my dev machine I think testdriven.net put the nunit.framework.dll in my path. But on my companies build machine I didn't install testdriven.net and msbuild couldn't find the DLL. So I just ended up committing the DLL with my cs project to SVN.
I'm sure there are a variety of other ways to fix this (environment variables, including the nunit project, ...) but it's late....errr early.
The only issue I had to overcome was that on my dev machine I think testdriven.net put the nunit.framework.dll in my path. But on my companies build machine I didn't install testdriven.net and msbuild couldn't find the DLL. So I just ended up committing the DLL with my cs project to SVN.
I'm sure there are a variety of other ways to fix this (environment variables, including the nunit project, ...) but it's late....errr early.
Friday, July 8, 2011
How to escape the escape character in C#
string t = @"c:\";
http://stackoverflow.com/questions/1768023/how-to-use-in-a-string-without-making-it-an-escape-sequence-c
http://stackoverflow.com/questions/1768023/how-to-use-in-a-string-without-making-it-an-escape-sequence-c
Wednesday, March 30, 2011
How to find which version of Ubuntu/Debian you are running
source: http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html
ou can find in different ways in ubuntu
Solution 1
cat /etc/issue
The file /etc/issue holds the version of Ubuntu installed on your system
Solution 2
lsb_release -a
or
cat /etc/lsb-release
ou can find in different ways in ubuntu
Solution 1
cat /etc/issue
The file /etc/issue holds the version of Ubuntu installed on your system
Solution 2
lsb_release -a
or
cat /etc/lsb-release
Wednesday, March 9, 2011
Find Ubuntu Version Number using the Terminal
Thursday, March 3, 2011
Updating to Subversion 1.6 in Ubuntu 8
Here is a great blog post on how to update to subversion in Ubuntu 8, since apt-get won't update to 1.6 for you.
http://growingventuresolutions.com/blog/installing-subversion-svn-1-6-ubuntu-8-04-lts-hardy
http://growingventuresolutions.com/blog/installing-subversion-svn-1-6-ubuntu-8-04-lts-hardy
Tuesday, January 19, 2010
Allow a User to Run All Stored Procedure in a Database
CREATE ROLE [db_executor] AUTHORIZATION [dbo]
GRANT EXECUTE TO db_executor
This creates a role called db_executor. Anyone given this role will be able to run all the stored procedures in the database, including new ones added after the user is given the role.
You can either give the user the executor role via SSMS or you can run this sql command against the database you want the user to have access on.
EXEC sp_addrolemember 'db_executor', [LOGIN_NAME]
GRANT EXECUTE TO db_executor
This creates a role called db_executor. Anyone given this role will be able to run all the stored procedures in the database, including new ones added after the user is given the role.
You can either give the user the executor role via SSMS or you can run this sql command against the database you want the user to have access on.
EXEC sp_addrolemember 'db_executor', [LOGIN_NAME]
For Active Directory domain names use '[domain\username]'
Subscribe to:
Posts (Atom)