Set default table type for all databases
In /etc/mysql/my.cnf add: [mysqld]default-storage-engine=InnoDB But this requires that you have root access to the server and that you want all tables to use InnoDB.
Living in Oxford, Cyberspace
Following How to export revision history from mercurial or git to cvs?
On hanuman
I created an id file git_authors mapping cvs ids to github name, email format for all contributors:
timp=Tim Pizey<timp@paneris.org>
then create a repository on github (melati in this example, I already have uploaded my ssh public key for this machine)
git cvsimport -d /usr/cvsroot -C melati -r cvs -k -A ../../git_authors melati
cd melati
echo A jdbc to java object relational mapping system. 1999-2011 > README.txt
git add README.txt
git commit -m "Initial" README.txt
git remote add origin git@github.com:timp21337/melati.git
git push -u origin master
See https://github.com/timp21337/melati.
sudo apt-get install ghc
sudo apt-get install libghc6-zlib-dev
sudo apt-get install cabal-install
cabal update
cabal install cabal-install
sudo apt-get install texlive
cabal install lhs2tex
logout or
export PATH=$PATH:~/.cabal/bin
lhs2TeX -o t.tex t.lhs
pdflatex t.tex
Parse error in pattern: n + 1
this maybe because you are using the n+1 pattern, which is no longer included by default eg
> power :: Double -> Int -> Double
> power x 0 = 1
> power x (n + 1) = x * power x n
the fix is to include
> {-# LANGUAGE NPlusKPatterns #-}
Hope this helps.
a2enmod proxy
a2enmod proxy_http
/etc/init.d/apache2 restart
192.168.56.10 alfresco
auto eth1
iface eth1 inet static
address 192.168.56.10
netmask 255.255.255.0
/etc/init.d/networking restart
wget http://dl.alfresco.com/release/community/build-3370/alfresco-community-3.4.d-installer-linux-x64.bin
sudo su
chmod u+x alfresco-community-3.4.d-installer-linux-x64.bin
./alfresco-community-3.4.d-installer-linux-x64.bin
/etc/init.d/alfresco start
sudo apt-get install git-core git-svn
git init casutils
local/casutils was created withgit svn clone https://tim.pizey@dsn-chassis.googlecode.com/svn/trunk/casutils
I work in workspace/casutils, when all is committed and pushed to master I switch to local/casutilsgit pull -s recursive -Xtheirs ../../workspace/casutils
git svn dcommit