sudo apt-get install imagemagick
sudo apt-get install libmagick9-dev
sudo apt-get install libmagickwand-dev
sudo gem install rmagick
yes thats it :)
sudo apt-get install imagemagick
sudo apt-get install libmagick9-dev
sudo apt-get install libmagickwand-dev
sudo gem install rmagick

.29.37.jpg)
Adding BrokenCompass Version: 1.0
Loading index... [broken_compass/advertisment.index]
Advertisment.look_in_brokencompass("train")==> Returns an inference hash like this
{
# Time elapsed in the execution(in seconds)
:time_elapsed=>0.00617599487304688,
# Field(s) which is/are available for indexing
:fields=>["location", "title", "description"],
# Weight given to different attributes to ranks result items
:column_weight=>{:description=>10, :location=>10, :title=>10},
# Count of total records found
:total_record_count=>44,
# Boolean field to unload indexes from memory once query is fired
:eager_unload=>false,
# Boolean field for extended_mode, set to true when using attribute(column) level searches
:extended_mode=>false,
# Boolean field for PLURAL forms of search word
:plural_forms=>true,
# Result set with weighted scores
:weighted_records=>[[14844, 20], [17445, 20], ... , [15148, 10]]}
# Limit to result set
:limit=>20,
# Offset to result set
:offset=>0,
}
Advertisment.look_in_brokencompass("'job'@title", :extended_mode => true)==> Returns an inference hash same as above
{
:column_weight=>{:description=>10, :location=>10, :title=>10},
:total_record_count=>1419,
:time_elapsed=>0.0523371696472168,
:fields=>["location", "title", "description"],
:eager_unload=>false,
:limit=>20,
:extended_mode=>true,
:offset=>0,
:plural_forms=>true,
:weighted_records=>[[14607, 20], [17685, 20], ...... , [13727, 10]]
}
Advertisment.look_in_brokencompass("'job'@title", :extended_mode => true, :offset => 4, :limit => 5, :column_weight => {:title => 40, :description => 20})==> Returns an inference hash same as above
{
:column_weight=>{:description=>20, :location=>10, :title=>40},
:total_record_count=>1419,
:time_elapsed=>0.0521509647369385,
:fields=>["location", "title", "description"],
:eager_unload=>false,
:limit=>5,
:extended_mode=>true,
:offset=>4,
:plural_forms=>true,
:weighted_records=>[[17947, 80], [17946, 80], [9597, 80], [12556, 80], [25975, 80]]
}
Advertisment.find_with_brokencompass("'job'@title", :brokencompass => {:extended_mode => true, :offset => 4, :limit => 5, :column_weight => {:title => 40, :description => 20}})==> Returns an result-set array of type Advertisment
Advertisment.look_in_brokencompass("'job'@title | 'career'@description", :extended_mode => true, :offset => 4, :limit => 5, :column_weight => {:title => 40, :description => 20})==> Returns an result-set array of type Advertisment
Advertisment.look_in_brokencompass("'job'@title & 'career'@description", :extended_mode => true, :offset => 4, :limit => 5, :column_weight => {:title => 40, :description => 20})==> Returns an result-set array of type Advertisment
ruby script/plugin install http://brokencompass.googlecode.com/svn/trunkfrom inside of rails app root directory.
config/brokencompass.yml
#brokencompass.yml............. STARTS
index-sources:
advertisment:
sql: "select id,title,description,location from advertisments"
table_name: advertisments
query:
sql: "select id,content,dynamic_fields from queries"
table_name: queries
# Database connection adapter
connection_adapter:
adapter: "mysql"
host: "localhost"
username: "username"
password: "password"
database: "myapp_development"
#brokencompass.yml............. ENDS
rake brokencompass:create_indexfrom inside of rails app root directory.
rake brokencompass:indexfrom inside of rails app root directory.
praveen@praveen-laptop:~/NetBeansProjects/projectone$ svn update
svn: This client is too old to work with working copy '.'. You need
to get a newer Subversion client, or to downgrade this working copy.
See http://subversion.tigris.org/faq.html#working-copy-format-change
for details.
Step 01: Downloaded a filehttp://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.pyhttp://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py
Step 02: Executed the following command
praveen@praveen-laptop:~$ python change-svn-wc-format.py /path/to/project 1.5
i.e my project got downgraded to version 1.5
Hello Friends, Got a post again on to Honda Civic (The good old favorite commuter of mine). This car has been doing great except for so...