Archive for June, 2008

KTorrent

Saturday, June 28th, 2008

/usr/lib/kde4/bin/ktorrent %i -caption “%c” %u

Install C and C++ compilers on Ubuntu

Friday, June 27th, 2008
  • sudo aptitude install build-essential

Enable VIM syntax highlighting on Ubuntu

Thursday, June 26th, 2008
  1. sudo apt-get install vim-runtime
  2. vi /home/kevin/.vimrc
  3. syntax on
  4. exit

Joomla! Content Management

Thursday, June 19th, 2008

Joomla! is one of the most powerful Open Source Content Management Systems on the planet. It is used all over the world for everything from simple websites to complex corporate applications. Joomla! is easy to install, simple to manage, and reliable.

http://www.joomla.org/

 

Git - cloning server

Sunday, June 15th, 2008

#— Origin Server —#

cd /home/kevin/engine
git init
git add .
git commit -m “new install” -i *
#– file.txt was update by Clone Server
git reset
#– file.txt: needs to be update
git checkout file.txt

#— Clone Server —#
cd /home/kevin/engine
git init
git pull pacificair.com:/home/kevin
#–change something ex: file.txt and update origin server
git commit -m “ver1″ file.txt
git push –all pacificair.com:/home/kevin/engine

Cepstral, Text-to-Speech

Saturday, June 14th, 2008

At Cepstral®, Text-to-Speech is our only focus. We make realistic synthetic voices that can say anything, anywhere, with personality and style. From the smallest device to large installations and high-end interactive media, Cepstral voices can bring fresh content to your ears, on demand

http://www.cepstral.com

Linux RAR / UNRAR archiver

Wednesday, June 11th, 2008

Installation

  • apt-get install unrar
  • yum install unrar

Compress:

  • rar a -m5 -v5M -R myarchive /home/

rar - starts the program
a - tells program to add files to the archive
-m5 - determine the compression level (0-store (fast)…3-default…5-maximum(slow))
-v5M - determine the size of each file in split archive, in this example you get files with size 5MB
myarchive - name of the archive you are creating
/home/ - is folder of the files you wish to add to the archive

Uncompress Archive

  • rar x myarchive.part01.rar

Perl training by Stonehenge

Tuesday, June 3rd, 2008

http://www.stonehenge.com/merlyn/UnixReview/col32.html

Stonehenge has been teaching Perl since 1992, and our trainers are the authors of the bestselling tutorial books Learning Perl and Intermediate Perl which are based on our classes.

Lingua::EN::Syllable & Lingua::EN::Fathom

Monday, June 2nd, 2008

http://search.cpan.org/~gregfast/Lingua-EN-Syllable-0.251

http://search.cpan.org/dist/Lingua-EN-Fathom

This module analyses English text in either a string or file. Totals are then calculated for the number of characters, words, sentences, blank and non blank (text) lines and paragraphs. Three common readability statistics are also derived, the Fog, Flesch and Kincaid indices. All of these properties can be accessed through individual methods, or by generating a text report. A hash of all unique words and the number of times they occur is generated.

The BM25 Weighting Scheme

Monday, June 2nd, 2008

http://en.wikipedia.org/wiki/BM25

http://xapian.org/docs/bm25.html

Okapi BM25 is a ranking function used by search engines to rank matching documents according to their relevance to a given search query. It is based on the probabilistic retrieval framework developed in the 1970s and 1980s by Stephen E. Robertson, Karen Spärck Jones, and others.

The name of the actual ranking function is BM25. To set the right context, however, it usually referred to as “Okapi BM25″, since the Okapi information retrieval system, implemented at London’s City University in the 1980s and 1990s, was the first system to implement this function.

BM25, and its newer variants, e.g. BM25F (a version of BM25 that can take document structure and anchor text into account), represent state-of-the-art retrieval functions used in document retrieval, such as Web search.