Archive for April, 2009
Salesforce.com and Subversion
From what I’ve been able to tell, there is no real version control built into Salesforce.com and this is a problem when pushing from a sandbox instance into a production instance. To fix this problem (at least until Salesforce does something), I think the best option is to use the Force.com plugin and the Subclipse plugin for Eclipse. With both of these in place, it should make version control a reality.
- Install Eclipse for your platform (it’s eclipse-platform if you are using Fedora)
- Install both the Force.com and Subclipse plugin (eclipse-subclipse)
- Add your Force.com project to Eclipse (Howto)
- Add your SVN repo to Eclipse. (Howto)
- Share your Force.com project (Right-click on Project name -> Team -> Share Project -> SVN -> Choose repo)
- Then after updating a file in the Force.com project, commit the update to SVN before deploying to the server ()
Now if you want to use this in another Eclipse instance then, you’ll want to do the first two steps to prepare your Eclipse environment. Then:
- Add the existing SVN repo to Eclipse (Howto)
- Right click on the Project Force.com -> Project Properties  and update the username / password
When using this in a collaborative setting, the following workflow should be followed whenever possible.
- Team -> Update
- Make changes to code
- Team -> Update
- Make changes to resolve collisions if needed
- Team -> Commit
- Force.com -> Deploy to Server
TF2 Server
Just setup a TF2 server following this article
In Fedora, you need to do the following as root before running any of the commands from the article
ln -s /usr/bin/gunzip /usr/bin/uncompress
Now. To figure out how the server.cfg
No commentsMutt and Lynx
So, in my time with mutt, I have grown to have a disdain for people that send HTML only email. And surprisingly, this happens alot! So, instead of trying to change the world, I’ve decided to just use mutt and lynx to my advantage and call it a day. Thanks to one of my co-workers for showing me how to do this.
At the end of your ~/.mailcap file, add the following
text/html; lynx -dump -width=78 -nolist %s | sed ’s/^Â Â //’; copiousoutput; needsterminal; nametemplate=%s.html
Then, in the ~/.muttrc add
auto_view text/x-vcard text/html text/enriched
And restart mutt. This will use lynx to render the email. You can substitute lynx for any text-based html browser you’d like.
No comments