Trac and SVN on subdomains

I finally figured out how to get trac and svn on their own subdomains since when I originally setup the web server awhile ago. The only thing that changes is the vhosts file. In that example it was “/etc/apache2/sites-available/svntrac”. Here’s what the file should look like now:


NameVirtualHost *:80


ServerAdmin you@domain.com
ServerName domain.com

DocumentRoot /var/www/

Options FollowSymLinks
AllowOverride None


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On



  ServerName svn.domain.com
   
   DAV svn
   SVNParentPath /svn

   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /path/to/svnauth


   Require valid-user


#   AuthzSVNAccessFile /path/to/svnaccess
  




   ServerName trac.domain.com

   

    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnvParentDir /trac
    PythonOption TracUriRoot /

   

   

    AuthType Basic
    AuthName "Trac"
    AuthUserFile /path/to/svnauth
    Require valid-user

   

New Monitor Setup

The new monitor setup with the hacked-together portrait stand for the 19"
The new monitor setup with the hacked-together portrait stand for the 19"

I recently got a new 24″ Samsung monitor/tv because the 19″ monitor that I was using was starting to seem small, especially since they have almost all 22″ monitors at work now.

Originally I was just looking at how much 22″-24″ monitors were on newegg. When I saw this monitor/tv I thought it would be great for a dorm room.

The new setup with OS X on the big screen
The new setup with OS X on the big screen

As you can see in the photos, I decided to go with portrait mode on the old 19″ Samsung that I was using, but it wasn’t as easy as it should have been. A lot of the monitors that are sold come with stands that let you flip them sideways, but mine didn’t. I put together a custom VESA stand out of some wood we had in the shed last night. So far it’s working out pretty good.

Update: By popular demand, here are some pics of the stand I built.

Dvorak Theme for Release

Well, here is the Dvorak theme as promised:

Dvorak 1.0 for WordPress.

This theme is provided as is, and will probably not be upgraded in the future, but it works with current versions, so go for it.

If you want to take it and change it, go for it and let me know about it. I’d like to know of anything that comes out of this. If you want to use this theme as a base for another theme you are building, also go for it. It’s pretty basic in terms of CSS and graphics, so it should be pretty easy to wade through the code.

If you have any questions, email me. Why not?

Safari 4

Safari 4 was released today at WWDC and I’m pretty happy with it. There were more user interface changes than I thought I’d see between the beta and the final product. Not that they changed a ton of stuff, but I expected them to stick with the UI that they had in Safari 4 beta and just fix the bugs.

There were only a couple of things that I noticed that were different.

  1. The tabs are back to where they should be.
    While I liked the way the tabs functioned at the top of the browser (and the way they looked), it’s just more practical to have them as close to the content as possible. Putting the tabs on top of the bookmarks bar and address bar just means that you have to move your mouse that much farther, and that can be a problem, especially if your pushing the cursor around with a trackpad.
  2. There’s a “new tab” button for the toolbar.
    This may have been included in the beta, I can’t remember if I looked for it or not, but I’ve been waiting for this for a long time. Sometimes you just don’t want to press Command+T.
  3. The “loading bar”.
    Smaller changes – the right side of the address bar now shows a “loading” icon when a page is loading and fades to white if the URL extends longer than the address bar.

They did take out one small thing, probably unintentionally, that I really liked. When you have multiple tabs open you can grab one of the tabs and drag it out of the current window to create a new window. You can also grab one of the tabs and drag it to another window, if you have one open, and move that tab to the new window. In the beta, since the title bar was the tab, you could grab the title bar, without extra tabs open, to another window and it would add that window to the other window as a tab. You can’t do that anymore, since the title bar is no longer a tab and it only shows the tabs when there are more than one of them.

It would be really nice if you could drag the title bar of a window with just one tab open to another window and have that get added as a tab to the new window. Maybe even let you drag the title bar from a window with more than one tab and have all the tabs in that window get added to the new window?

Update: I’m pretty sure the new tab button wasn’t included in the beta, as the [+] button was always at the end of the title bar.

Charles Barkley on Twitter

It looks like Charles Barkley isn’t a fan of Twitter. He obviously doesn’t understand how it works yet and still thinks of it as the “I’m eating a ham sandwich” service. Here are his thoughts:

“I think if you Tweet you’re a [d***] idiot,” Barkley said. “Anyone who’s worried about what Shaquille O’Neal is doing all day is an idiot.”

via Dan Patrick.com.