Wednesday, May 29, 2013

Change Font Size of Tabs in Eclipse Juno on Fedora

Edit ECLIPSE_HOME/plugins/org.eclipse.platform_4.2.2.v201302041200/css/e4_default_gtk.css

Change  the following


.MPartStack {
font-size: 6;

How to set up a email mailer post commit script with subversion on Fedora.

From http://stackoverflow.com/questions/501692/easiest-best-way-to-set-up-svn-commit-emails, the easiest way is to use the existing .py mailer script.

_____________

On Fedora 15, do the following:

yum install subversion-python

_____________

In your subversion repository:

cd hooks

cp post-commit post-commit.tmpl

Change

mailer.py commit "$REPOS" "$REV" /path/to/mailer.conf

to

/usr/share/doc/subversion-1.6.18/tools/hook-scripts/mailer/mailer.py commit "$REPOS" "$REV" /etc/mailer.conf

_____________

After that, do the following to setup the mailer.conf file:

cp /usr/share/doc/subversion-1.6.18/tools/hook-scripts/mailer/tests/mailer.conf /etc/mailer.conf

Edit the mailer.conf and:

uncomment  mail_command = /usr/sbin/sendmail

add in commit_subject_prefix

add in propchange_subject_prefix

add in lock_subject_prefix

add in unlock_subject_prefix

Add in from_addr

Add in to_addr

_____________

Test it out by committing a test revision.

Tuesday, May 21, 2013

Using Unity over proxy with Windows 7

1) Go to Control Panel\All Control Panel Items\System and Go to "Advanced system settings".

2) Under the Advanced Tab, go to Environment Variables, and add two variables: HTTP_proxy and HTTPS_proxy.  Set it to your proxy, such as http://myproxy.domain.com:80 and restart Unity.

3) If you get certificate errors, you can manually activate, using the steps found here: http://answers.unity3d.com/questions/358967/peer-certificate-cannot-be-authenticated-with-know.html

Also from http://blog.gfx47.com/2011/03/08/unity3d-httphttps-proxy-problem-solved-o/