Posts from 2011-03
I chose it because it seems to be more actively developed.
As explained on https://github.com/mxcl/homebrew/wiki/installation I installed Homebrew like this:
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
I had XCode already installed, but If you don't, you have to install it before following the next steps (in order to have...
To install git-vim run:
cd ~/Downloads git clone https://github.com/myw/git-vim.git cd git-vim # by default, the Makefile is set up for Mac OS. If you use a different OS change it using: cat Makefile | sed "s|#INSTALL=install|INSTALL=install|g" | grep -v ginstall > Makefile # then install the plugin: make install
This will copy the following files to...
- Great overview (German): http://wiki.python.de/Python-Programmieren%20mit%20Vim
- Python setting tips: http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/
- latest (and elaborate) response on http://stackoverflow.com/questions/144201/has-anyone-found-a-good-set-of-python-plugins-for-vim-specifically-module-comp/3113907#3113907
In this installation documentation I assume you already have apache2 as well as php5 installed.
First create an apache2 configuration file for cacti with
vi /etc/apache2/sites-available/cacti and enter the setup similar to this:
NameVirtualHost * <VirtualHost *> ServerAdmin email@example.com ServerName...
SMTP-Relay-Server = Mail-Relay-Server = Smarthost
A slim smtp forwarding tool can be installed via the package
ssmtp (it provides
# apt-get install ssmtp
The configuration file
# The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. root=postmaster # The place where the mail...
I experienced a problem with my Apple Magic Mouse when I wanted to use it with my new MacBook Pro (early 2011, Core i5): The movements became "blurry", jittery. I have an external display connected via Mini Displayport but this does not seem to affect the problem. But when I...
The hostname can be changed with
scutil on Mac OS X.
scutil provides a command line interface to the “dynamic store” data maintained by configd. [from the scutil manual].
To set a new hostname run:
sudo scutil --set HostName newhostname[.domain]
This worked great: http://files.extremeoverclocking.com/file.php?f=197 (SP27608.exe and win98boot.zip)
With the thus created USB startup MS DOS stick, I was able to flash the bios on an older netbook (no optical device / no Floppy obviously)....
Synthesis SyncML-Client http://synthesis.ch/prod_client.php
Conduit, an open source Gnome program:
Works well! I use it on Ubuntu Linux 10.10 maverick.
Backup Goo, Works on Mac, Win, Linux; 14 days trial version, 10 EUR afterwards:
Cloud based solution (using Amazon S3):
If you want to install the latest version of git (from source), run:
yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel cd /usr/local/src wget http://git-core.googlecode.com/files/git-126.96.36.199.tar.gz tar xzvf git-188.8.131.52.tar.gz cd git-184.108.40.206 make prefix=/usr/local all make prefix=/usr/local install
Make Piwik Detect the Header X-Forwarded-For or X-Real-IP (that for example nginx can set as reverse proxy for your site)
If you run a Piwik installation behind an nginx reverse proxy, you have to change a bit of your configuration because the remote IP has changed to that of the nginx reverse proxy.
For example if your nginx reverse proxy configurations includes:
proxy_set_header HOST $host; proxy_set_header...
The SQLAlchemy SQL Toolkit and Object Relational Mapper is a comprehensive set of tools for working with databases and Python. It has several distinct areas of functionality which can be used individually or combined together. Its major API components, all public-facing, are illustrated below:
+-----------------------------------------------------------+ | ...
documentation with user comments: http://www.postgresql.org/docs/8.4/interactive/index.html
install on Ubuntu
sudo apt-get install postgresql
pgAdmin III is a handy GUI for PostgreSQL, it is essential to beginners. To install it, type at the command line:
sudo apt-get install pgadmin3
Setup: Now you have to set the password for the...
Omitted SQL Language Features
you cannot choose table names from the keywords list!!!
enforce foreign keys
SQLite Foreign Key Trigger Generator: http://www.rcs-comp.com/site/index.php/view/Utilities-SQLite_foreign_key_trigger_generator
SQLite with Python
Admin tools / GUIs
Open Source, cross platform!
SQLite Database Browser
sudo apt-get install sqlitebrowser