Sponsored Content
Operating Systems Linux Fedora Desktop search and web history Post 302333189 by TonyFullerMalv on Saturday 11th of July 2009 01:32:41 PM
Old 07-11-2009
Is it that your cache still contains cached web pages even though the history has been purged?
The cache is limited to a certain size so one would expect the old pages to be removed eventually within a couples of weeks not years!?
What is the directory where Desktop Search is finding web pages?
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux desktop connection via web

Hello all, I woud like to know if anyone has setup or know of a way (configure or product) to get a remote session form a windows box to linux box via the web browser. I'm looking for something like windows Remote desk top web connection, but for linux. VNC is what I want but via the web... (1 Reply)
Discussion started by: larryase
1 Replies

2. UNIX for Dummies Questions & Answers

How do I search my history?

Hi, I'm using secure shell, ssh. How do I search for specific words in my history? For instance, I want to search for a command I made a few days ago. I can't get to the command with my arrow keys. Let's say I want to find a command containing the word dapl. Thanks, Jillian (3 Replies)
Discussion started by: antiDerivative
3 Replies

3. UNIX for Dummies Questions & Answers

Search in command history

Hi Guys, This one is, seemingly, a very simple question. I am on HPUX1572. The shell used is ksh. I used to locate a command using esc-K '/' followed by a few letters of the command. I tried to search my command history using ESC-K, it works fine. But the old trick of esp+K '/' doesnt... (0 Replies)
Discussion started by: n_rajitr
0 Replies

4. Web Development

Which do you think is better Web or desktop programming?

Ok so I know they are both vitally important especially in today's technology. But which do you feel is more appealing and fun? What all are you able to do with each of them and what are the perks of one over the other Joomla templates are better run in Web Development as well (0 Replies)
Discussion started by: Anna Hussie
0 Replies

5. Solaris

History search for specific command

How to find out history of specific command run by all users in solaris server ? (1 Reply)
Discussion started by: piyus
1 Replies
BP_BIOFETCH_GENBANK_PROXY(1p)				User Contributed Perl Documentation			     BP_BIOFETCH_GENBANK_PROXY(1p)

NAME
biofetch_genbank_proxy.pl - Caching BioFetch-compatible web proxy for GenBank SYNOPSIS
Install in cgi-bin directory of a Web server. Stand back. DESCRIPTION
This CGI script acts as the server side of the BioFetch protocol as described in http://obda.open-bio.org/Specs/. It provides two database access services, one for data source "genbank" (nucleotide entries) and the other for data source "genpep" (protein entries). This script works by forwarding its requests to NCBI's eutils script, which lives at http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi. It then reformats the output according to the BioFetch format so the sequences can be processed and returned by the Bio::DB::BioFetch module. Returned entries are temporarily cached on the Web server's file system, allowing frequently-accessed entries to be retrieved without another round trip to NCBI. INSTALLATION You must have the following installed in order to run this script: 1) perl 2) the perl modules LWP and Cache::FileCache 3) a web server (Apache recommended) To install this script, copy it into the web server's cgi-bin directory. You might want to shorten its name; "dbfetch" is recommended. There are several constants located at the top of the script that you may want to adjust. These are: CACHE_LOCATION This is the location on the filesystem where the cached files will be located. The default is /usr/tmp/dbfetch_cache. MAX_SIZE This is the maximum size that the cache can grow to. When the cache exceeds this size older entries will be deleted automatically. The default setting is 100,000,000 bytes (100 MB). EXPIRATION Entries that haven't been accessed in this length of time will be removed from the cache. The default is 1 week. PURGE This constant specifies how often the cache will be purged for older entries. The default is 1 hour. TESTING
To see if this script is performing as expected, you may test it with this script: use Bio::DB::BioFetch; my $db = Bio::DB::BioFetch->new(-baseaddress=>'http://localhost/cgi-bin/dbfetch', -format =>'genbank', -db =>'genbank'); my $seq = $db->get_Seq_by_id('DDU63596'); print $seq->seq," "; This should print out a DNA sequence. SEE ALSO
Bio::DB::BioFetch, Bio::DB::Registry AUTHOR
Lincoln Stein, <lstein-at-cshl.org> Copyright (c) 2003 Cold Spring Harbor Laboratory This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty. perl v5.14.2 2012-03-02 BP_BIOFETCH_GENBANK_PROXY(1p)
All times are GMT -4. The time now is 02:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy