Starting to work with Ubuntu in developing Drupal sites I needed a little help getting started. I was able to get a great deal of information in setting up a LAMP server for developing multiple Drupal sites from this page.
This page gives even more information on setting up a Drubuntu (Drupal + Ubuntu) development environment. However, I had already been told of Wubi and I'm going to use Komodo Edit instead of Eclipse.
So far my Drupal stack is looking like this:
So far so good!
Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts
Tuesday, May 05, 2009
Drubuntu setup
Labels:
development tools,
drupal,
php,
programming,
testing,
Ubuntu,
web development
Sunday, February 04, 2007
Subversion service (cont.)
As I was helping a friend setup a Subversion service I realized my last blog was missing some important information.
First of all, the service is NOT installed in the Subversion install by default. To get the service exe, which is a wrapper for svnservice, click here. I couldn't remember where I had gotten the svnservice wrapper so I had to search Google again, and this time came across a very helpful blog. This blog has all the information needed to setup a Subversion server/service from scratch.
First of all, the service is NOT installed in the Subversion install by default. To get the service exe, which is a wrapper for svnservice, click here. I couldn't remember where I had gotten the svnservice wrapper so I had to search Google again, and this time came across a very helpful blog. This blog has all the information needed to setup a Subversion server/service from scratch.
Monday, January 01, 2007
Subversion Service
Installing a subversion service on Windows is pretty straight forward, but I got tripped up on a couple of things installing it a second time.
HAPPY NEW YEARS!
- First, get Subversion and install using the MSI. The version I installed was 1.42.
- Install the windows service. I can't remember if the installer does this automaticly or not. To do it manually just run the following command: svnservice -install -d -r C:\YourRepositoryRoot. This will configure the Subversion service to run as a service and it will look in the C:\YourRepositoryRoot directory for Subversion repositories.
- To change the repository root later just run the with the setup argument: svnservice -setup -d -r C:\YourRepositoryRoot.
HAPPY NEW YEARS!
Monday, November 13, 2006
Pasting code into blogs, forums, etc
I just found out that this can be a real pain. Since I write my code in the Visual Studio editor I was able to use a macro to copy the code in a nice way. Modifying the code snippets by hand just sucks.
.Net 2.0 Forms DataBinding - Manual refresh
I recently discovered how nice it was to use DataBinding. I liked using it so much that I spent 4+ hours making it work for my application. In my application my data was being changed in the background by a continuously running thread. I suppose because it was being modified outside the scope of the form, the bindings were not being updated. It took me awhile to figure out how to manually refresh these binding.
The solution was to subscribe to the CurrentItemChanged event and then to run ReadValue() on all the controls Bindings. Here is the code that resulted.
The solution was to subscribe to the CurrentItemChanged event and then to run ReadValue() on all the controls Bindings. Here is the code that resulted.
The code only updates the myControl control, but it could have just as easily iterated through all the controls in the form and refreshed all their bindings as well.private delegate void CurrentItemChangedCallback(object sender, EventArgs e);
private void BindingSource_CurrentItemChanged(object sender, EventArgs e)
{
if(InvokeRequired)
{
CurrentItemChangedCallback d = new CurrentItemChangedCallback(BindingSource_CurrentItemChanged);
this.Invoke(d, new object[] { sender, e });
} else {
foreach (Binding b in myControl.DataBindings)
{
b.ReadValue();
}
}
}
Wednesday, November 01, 2006
XNA Beta 2
XNA Beta 2 just came out! Lucky for me I'm on my vacation. :-) Can't wait to look at what was added.
Subscribe to:
Posts (Atom)