So that I may not forget…
After downloading/extracting zimbra desktop from http://www.zimbra.com/products/desktop.html:
- Configure your user account:
/opt/zimbra/zdesktop/linux/user-install.pl
- Install alsa-lib.i686:
sudo yum install -y alsa-lib.i686
- Install compatibility support for older c++
sudo yum install -y libstdc++.i686
Install current xulrunner (fresh install is xulrunner-7.0.1-1)
sudo yum install -y xulrunner-7.0.1-1.fc16.i686
Don’t forget yum install gtk2-engines.i686
sudo yum install gtk2-engines.i686 -y
Double click on the icon on your desktop (~/Desktop/zd.desktop)
Hope This Helps
Renz.
So that I would remember
Add these to the <trac_env_dir>/conf/trac.ini
[components]
tracext.git.* = enabled
tracopt.ticket.commit_updater.committicketreferencemacro = enabled
tracopt.ticket.commit_updater.committicketupdater = enabled
mastertickets.* = enabled
After which, run the command:
trac-admin [path/to/trac] upgrade
This will upgrade the trac and install all the necessary modules
So that I would always remember:
From Here
This is a neat trick that I can use with terminals:
Put the commands below on your $HOME/.bashrc
SSH_ENV="$HOME/.ssh/environment"
function start_agent {
echo "Initialising new SSH agent..."
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
echo succeeded
chmod 600 "${SSH_ENV}"
. "${SSH_ENV}" > /dev/null
/usr/bin/ssh-add;
}
# Source SSH settings, if applicable
if [ -f "${SSH_ENV}" ]; then
. "${SSH_ENV}" > /dev/null
#ps ${SSH_AGENT_PID} doesn't work under cywgin
ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
start_agent;
}
else
start_agent;
fi
And sure enough, if you log in, the pass key for your ssh-keys will be prompted. After which, you can use the keys without having to type the pass key everytime.
I almost not able to install Fedora 16 on this machine. Luckily, I found out through much google-ing that the backlight display of this machine dies out once the display driver is loaded. To fix this, you need to put these options in the kernel:
acpi_osi=”Linux” acpi_backlight=vendor
Put them once on the kernel line during installation, and then again on your grub.cfg in /boot/grub2 after installation.
Hope this helps.
There are times when you want to return XML file from a template in Django. Check out the following:
In your view, you should have:
from django.http import HttpResponse
from django.template import loader, Context
def return_xml(request):
t = loader.get_template("your_file.xml")
c = Context( { "Message" : "Hello from XML"} )
return HttpResponse(t.render(c), mimetype="text/xml")
And the following is your_file.xml
<?xml version="1.0" encoding="utf-8" ?>
<node>
<sub_node>{{Message}}</sub_node>
</node>
Hope this helps
It’s really a bad thing that this engine does not save article without checking Draft checkbox. It may be an error in configuration on my part, but I have to create something that will make it easier for me to publish things. I created a script (see jump) that will regularly update drafts into published items once (DATE) is reached.
continue reading
Trying out byteflow blogging engine