Posted by proofek on August 10, 2010
I am pleased to announce that new version of phpUnderControl is out.
You can install it through its pear channel:
proofek@home:~$ sudo pear channel-discover pear.phpundercontrol.org
Adding Channel “pear.phpundercontrol.org” succeeded
Discovery of channel “pear.phpundercontrol.org” succeeded
proofek@home:~$ sudo pear install –alldeps phpuc/phpUnderControl-0.6.0
downloading phpUnderControl-0.6.0.tgz …
Starting to download phpUnderControl-0.6.0.tgz (545,857 bytes)
……………………………………………………………………………………………….done: 545,857 bytes
install ok: channel://pear.phpundercontrol.org/phpUnderControl-0.6.0
or if you already have a previous version simply upgrade:
proofek@home:~$ [...]
Posted by proofek on August 7, 2010
I have been using phpUnderControl for over 2 years now. In fact I still remember the first time I set it up at work. Big times. Now we’ve got nearly hundred (if not over hundred) modules set up which build regularly on a daily basis. To improve the overall experience I’ve enhanced some things and submitted it back to [...]
Posted by proofek on May 11, 2010
For most of the day I work on a linux machine and I quite got used to having git completion feature for free. But as an occasional MacOsX user I felt quite bad not having the same functionality available. So yesterday I spent a couple of hours googling and playing until I finally got it [...]
Posted by proofek on March 2, 2010
The newest version of phpUnderControl has now basic support for PHP_Depend. With PHPUnit deprecating support for metrics, it’s just about the time to switch. And it’s not as complicated as it might sound.
First of all you need to install PHP_Depend. Using pear it’s the easiest and quickest way to do it. If you haven’t registered [...]
Posted by proofek on January 13, 2010
I recently upgraded our buildbox to phpUnderControl 0.5.0 being really curious about new CodeBrowser feature. And indeed CodeBrowser addon is really cool (see Manuel Pichler announcement on his site for details), but after the upgrade I found Metrics tab broken. Instead of nice shiny graphs it showed me Java exception like this:
It took me a [...]
Posted by proofek on January 7, 2010
… or maybe not.
We’ve had this problem for some time and couldn’t really find a good solution for that. We wanted to have some repositories to be only writeable for selected users and even some repositories to be accessible for some users and completely invisible for the others.
First requirement seemed to be pretty simple as [...]
Posted by proofek on January 5, 2010
I have used git for the first time about a year ago. We’ve been talking about abandoning CVS for quite a while and Subversion seemed to be the best choice at the time. Yes we’ve looked at different version control systems, we tried sample migrations and still we couldn’t make a decision. And CVS… it [...]
Posted by proofek on October 10, 2008
Founded somewhere in the net. Really useful.
From the Unix commandline (Bourne Shell compatible):
output tab-seperated:
echo “select * from example;” | mysql -u user -h host -ppass
Want another delimeter? Add
| tr ‘^V^I’ ‘;’
to the pipe and you will get csv or any other delimeter you want.
Skipping the first row (Table Header): add
| tail -n +2 [...]
Posted by proofek on August 23, 2007
Very useful feature of mysql:
CREATE TEMPORARY TABLE table1(id int);
LOAD DATA LOCAL INFILE ‘/dir/file’ INTO TABLE table1
Posted by proofek on August 9, 2007
Create a text file named synergy.conf with the following:
section: screens
screen1:
screen2:
end
section: links
screen1:
right = screen2
screen2:
left = screen1
end
In the above example, screen2 is to the right of screen1 and screen1 is to the left of screen2.
To run a server type the command below in a shell. If synergys is not in your PATH then use the full pathname.
synergys [...]