search for: snippet

Displaying 20 results from an estimated 4610 matches for "snippet".

2006 Mar 20
9
jEdit Snippets for Ruby on Rails
----------------------------------------------------- Announcing: jEdit Snippets for Ruby on Rails ----------------------------------------------------- I thought I''d "give a little back to the community" and whip up some SuperAbbrev files for ruby and rhtml that mimic all of the Textmate Rails bundle snippets. Note: This was totally inspired by Textmate a...
2007 Jul 26
5
Coding standards and whitespace
...Spec.tmbundle/Commands/Alternate File.tmCommand RSpec.tmbundle/Commands/Run Focussed Specification.tmCommand RSpec.tmbundle/Commands/Run Specifications - Normal.tmCommand RSpec.tmbundle/Commands/Run Specifications in selected files or directories.tmCommand RSpec.tmbundle/info.plist RSpec.tmbundle/Snippets/and_raise.tmSnippet RSpec.tmbundle/Snippets/and_return_block.tmSnippet RSpec.tmbundle/Snippets/and_return_value.tmSnippet RSpec.tmbundle/Snippets/and_throw.tmSnippet RSpec.tmbundle/Snippets/and_yield.tmSnippet RSpec.tmbundle/Snippets/any_number_of_times.tmSnippet RSpec.tmbundle/Snippets/at_least.t...
2015 Jul 26
1
Get term from document by position
> Snippet highlighting is something that was worked on for a GSoC project a > few years ago, and is mentioned in our FAQ: <http://trac.xapian.org/wiki/FAQ/Snippets>. > It?s not available in the 1.2 series, but as I understand it should work out of the > box in 1.3.3. I tried it, this approach...
2010 Dec 30
4
perl code to remove newlines
Given an HTML file which looks like this: --------- begin snippet --------- <HTML ><HEAD ><TITLE >We've Lied to You&#8230;</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Maximum RPM" HREF="index.html"><LIN...
2005 Oct 17
7
Ajax.MultiUpdater ?
...tml elements content using from_remote_tag or link_to_remote. AFAICS this is just a restriction of the form_remote_tag/link_to_remote implementation and it''s underlying Ajax.Updater class. Right? In theorie there should be no problem, to return some markup consisting of a list of (x)html snippets where each snippet updates some element of the current page. Of course the ids of the elements to be modified would have to be declared in the list somewhere. I''m thinking of something like <response> <snippet update="id1"> This text replaces id1''s content &...
2020 Sep 18
2
help improving relevance of snippets displayed by Omega
Hi, Thanks for creating Xapian and Omega. I have been amazed by how easy they make it to get a basic full-text search engine up and running. I'm wondering if you can help me better understand one aspect of the results I am getting from the default query template. Usually the snippet that's displayed in response to a query doesn't contain the word that the user searched for, even when that word appears verbatim in the document. I should note that my documents are all fairly long. I guess that this is because the template shows a snippet generated from the returned doc...
2009 Dec 17
4
Text snippets
Hello, Is there advancements in snippeting? (Besides what mentioned in the wiki.) I think extracting snippets is clearly IR task. And I hope Xapian will provide at least helpers to do that. I have set of documents up to 5M of extracted text and 1M in average (they are even bigger pdfs but I pre-extracted text into some sort of text cache...
2007 Jan 15
1
Request for sample snippet of how to use jitter buffer
Hi, sorry for the repost again, but does anyone have a code snippet example of how to use the jitter buffer? Regards, Andy ----- Original Message ---- From: Andy Ngo <ndno72-speex@yahoo.com> To: speex-dev@xiph.org Sent: Wednesday, January 10, 2007 8:09:10 PM Subject: [Speex-dev] Sample snippet of how to use jitter buffer Hi, I searched around in the S...
2016 Jul 26
2
Pull requests: CJK words and Snippet generator
Hi, The Cyrus IMAP mail server uses Xapian as search engine. Recently, FastMail has sponsored implementation of two Xapian features: CJK word splitting and a generator for search snippets. I've been working on both features and we would be happy to get them merged into Xapian master. The CJK word tokenizer uses the word segmentation algorithms of the International Components for Unicode library (ICU), which brings support for Japanese, Korean and Thai, among others. The featur...
2016 Jul 29
3
Pull requests: CJK words and Snippet generator
...n't > try to comment on that at all :) I've just opened a pull request for the CJK tokenizer: https://github.com/xapian/xapian/pull/114 > I wonder if we can arrange suitable defaults to use your > implementation with the older API, and come up with a newer API that > allows a SnippetGenerator class to be used from the MSet. The FastMail snippet generator has been written when MSet didn't create snippets. I'll first compare both implementations to see if there is a good reason for them to coexist, or might just as well merge any additional features into MSet. > A go...
2016 Dec 14
2
Pull requests: CJK words and Snippet generator
I haven't had a chance to look at the patch and won't be able to do before January. Its design description sounds promising, though. The snippet generator code linked to by Bron contains mostly the same code as in my pull request, with two exceptions: it adds a flag to make the generator return the empty string for snippets without any matching terms. And it includes a fix to a possible memory corruption (only impacted our forked version)....
2007 Nov 07
1
Graphics devices: windows() and x11() vs default
...an explicit call to windows() to generate a graphics device and going with whatever R gives you when you just start plotting, which raises the question of just what the nature of the default device is. I've had a hard time researching this so far, so I'm asking the list. Here are two code snippets: ############################### ## Snippet 1 ############################### windows() layout(matrix(c(1,2,3,4,5,6,7,8,9),3,3,byrow=T)) plot(1:10) plot(1:10) plot(1:10) plot(1:10) plot(1:10) plot(1:10) plot(1:10) plot(1:10) plot(1:10) ################################### ## Snippet 2 ######...
2004 Jul 28
0
Packages of snippets?
FWIW, I already include function 'snippets' in the gregmisc package (soon to be a package bundle). I would be happy to do this in a more public fashion. I generally require that the sumitter provide both the R code and a corresponding .Rd file. -Greg > -----Original Message----- > From: r-devel-bounces@stat.math.ethz.ch &gt...
2004 Jun 24
2
Packages of snippets? (was: A way to list only variables or functions?)
...n we work out a way to publish such things? Here's a >proposal, with some serious flaws listed below. >Can someone fix them? This would be a good job for a wiki. The key advantage is it requires minimal maintenance. For an example of how this might work check out the code samples (snippets) for the Lua language on their wiki at: http://lua-users.org/wiki/SampleCode Actually there is already an R wiki at: http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?RwikiHome however, no one seems to use it. If a critical mass were to post some code snippets it might get off the ground.
2012 Mar 11
1
GSOC 2012: Dynamic Snippets and QueryParser Reimplementation
Hello, My name is Sean Mikalson. I am a second year Software Engineering student with a combined degree in Philosophy. I am interested in participating with Xapian in GSOC this year and a couple of projects have initially caught my eye: - Dynamic Snippets - QueryParser Reimplementation I have good working knowledge in C/C++, Java and SQL (specifically Transact-SQL). In order to determine where my skills and interests are best suited, as well as to provide the best proposal possible for my application, I would like to get better acquainted with...
2016 Aug 18
2
Pull requests: CJK words and Snippet generator
Hi, On Thu, Aug 11, 2016, at 13:19, rsto at paranoia.at wrote: > The CJK word segmentation and snippet pull requests both pass Travis > since middle/end of last week. Did you find time to look at them? just checking in if you found time to look at the PRs? It'd be nice to know a tentative timeline, so I can plan if to build next features on top of our local fork or the upstream PRs. Thanks,...
2007 Dec 03
4
Resource routing methods -- what am I missing?
...ight, I''ve been doing map.resources routing for a while now, so whatever I''m missing must be something stupid and obvious... Anyone care to help me out? -- routes.rb: # ... map.resources :algorithms, :collection => { :search => :post } do |algorithm| algorithm.resources :snippets end # ... -- snippets_controller.rb class SnippetsController < ApplicationController def show # ... end end -- algorithms_controller.rb class AlgorithmsController < ApplicationController # ... redirect_to algorithm_snippet_url(@algorithm, @snippet) # <- no such method...
2019 Apr 24
3
firewalld configuration for securing SSH
HI all, 1st time contributor here. I was using the guide on securing SSH, and noticed that the firewall-cmd snippets for filtering by requests per time seem somewhat outdated. From what I can tell the given snippets, relay arguments directly down to iptables, and do not cover both IPv4 and v6. (and in fact when attempting to extend to v6 the firewall would fail to reload). I came up with an "all firewall-cm...
2016 Dec 13
2
Pull requests: CJK words and Snippet generator
...ew months, and it would be great to not depend on too many > custom patches! Ideally I'd like to be running vanilla upstream Xapian > libraries on FastMail's production rather than keeping a separate branch as > well. Did you get a chance to look at the patch I linked to from the snippet PR? https://github.com/xapian/xapian/pull/117 Cheers, Olly
2006 Jul 17
1
code snippets
I use jedit as my ruby editor and I recently decided to give radrails a try so I can take advantage of the cvs/subversion integration plugins. I''m used to using code snippets in jedit so I can quickly insert common code structures without having to type them in by hand each and every time - much like the feature seen in TextMate. Now, I''ve searched high and low in the settings dialog and can find something called templates, but I''m not sure that'...