similar to: Way to put javascript you want to appear in the head but declare it in a template?

Displaying 20 results from an estimated 10000 matches similar to: "Way to put javascript you want to appear in the head but declare it in a template?"

2006 Feb 07
1
setting of :key to :id in cFerret
Hi Dave, I''ve been reading this post below back in December 2005. Is it possible to set :key to :id in cFerret like suggested below? Thanks, Mac On 12/3/05, Carl Youngblood <carl at youngbloods.org <http://rubyforge.org/mailman/listinfo/ferret-talk>> wrote: >* I seem to be getting the same document multiple times in my search *>* results. I''m wondering if
2005 Dec 02
1
Compile error on FreeBSD 4.10 gcc 2.95.4
FYI, I tried installing ferret on my freebsd virtual server and got this: retango# gem install ferret --include-dependencies Attempting local installation of ''ferret'' Local gem file not found: ferret*.gem Attempting remote installation of ''ferret'' Updating Gem source index for: http://gems.rubyforge.org Building native extensions. This could take a while...
2005 Dec 02
4
How to get the count of matching documents
I''m trying to generate a rails pagination helper for some ferret search results, and I need to know how many total matches there are to my search query. I don''t see an obvious way of finding this. Any help would be appreciated. Thanks, Carl Youngblood
2005 Dec 03
3
How to avoid duplicate search results
I seem to be getting the same document multiple times in my search results. I''m wondering if this is because by default a document is placed in the search results every time the word you''re looking for shows up. Is that the way it works? Thanks, Carl
2006 May 03
2
Is it safe to delete ferret-write.lck if it is stale?
I''m noticing that ferret-write.lck sometimes stays in my index directory and throws exceptions whenever someone tries to do a search. Apparently there are some cases where ferret doesn''t realize that the file is old and can be deleted. I''m wondering what the best way to recover from this error is. Am I safe just writing a cron job that deletes this file if it is over
2006 Apr 25
0
Trying to set up automatic announcement upon
Try using two IVRs. The 1st 'Intro' with your 'will be recorded' message has a 1 second timeout, and the only entries in it are 'i' invalid (points back to itself), and 't' timeout (points to the 2nd IVR for dialing). > Date: Tue, 25 Apr 2006 21:25:53 -0600 > From: "Carl Youngblood" <carl@youngbloods.org> > Subject: [Asterisk-Users] Trying
2006 Apr 05
0
IT Manager/Rails Developer position in SLC
Construction Capital Source is seeking to hire a system administrator to manage our rapidly growing IT infrastructure. We are looking for an individual with the following capabilities: - Linux system adminstration experience, including web technologies such as Apache, SSL, PHP, MySQL and Ruby on Rails. - Desire to learn about Asterisk and help deploy an Asterisk-based PBX system. - Experience
2005 Dec 23
1
Better way to import initial migration?
On a rails app that I''m developing I converted a regular old .sql file into a rails migration. Since I generated the migration in my development environment, it created the schema_info table for me. However, when I updated my production environment and tried running rake migrate it complained that schema_info doesn''t exist. Is there a rake task for getting around this yet, or
2005 Dec 16
5
Ordering results by something other than relevance
Along with the contents of the documents in my index, I have stored the date they were added. I want to search for keywords in the index but have the results be sorted by their date rather than their relevance to the keywords. How would I do this in ferret? Thanks, Carl
2003 Dec 14
0
Re: FAX, IAX and *....Maybe I'm dreaming...:-) (Carl Youngblood)
Carl Wrote: >Hi Jeff, >I live in Provo and I think I understand the application you're >referring to. Some folks in my neighborhood have been getting to be the >beta testers for these cool new fiber links that the city is supposed to >be laying out. If I only lived a few blocks over, I would be able to >get one too. Darn. Anyway, I've been following this thread,
2006 Jan 17
2
money data types
What data type is best for storing currency? I''m trying to come up with a reliable cross-database solution for rails that is not too complicated. Since I''m going to have currency fields all over the place, I''m not so sure that using two integer fields for each amount would qualify as uncomplicated. I''d like to be able to use database functions like SUM to
2005 Dec 14
5
Query question
I have an index in which I want different records to be accessible to different users. I think I can do this by adding a "users" field to each record in the index and narrow down my queries to only those records matching the current user''s userid. I have the userids separated by commas. What would be the right way to query for a certain user? I have to make sure that I
2006 May 05
3
How to determine if a device is in a call
I have gotten intercom working on my office phones (Linksys SPA-942s), but I have noticed that if someone is in a call, it places the call on hold and sends the intercom audio to the person holding the phone that is being paged. I'd like to add logic to my dialplan that doesn't send a page to a phone that is currently in a call. But to do this I need a function that will tell me if a
2005 Dec 14
4
Is it possible to highlight search keywords in results?
I''m wondering if ferret has any built-in search/replace mechanism that I might be able to use to highlight the query data in each search result. The reason I think this would be a good idea is that I could end up having to practically duplicate the ferret query parser just to interpret the query so that I can figure out how to highlight the keywords in the search results. Just in case
2008 Mar 18
1
Merb and Javascript template system
I''ve tryed to use the same logic in html layouts to handle javascript files without success. All I need is not repeat javascript code in various erb templates that have 90% of identical code. - I can''t use more than 1 js file. - If isn''t a way to do this like erb can do in html, what''s the best way to "include" a file in another using Merb? -- from
2013 Jul 25
1
How to use http-put for JavaScript source client
Thanks so much for the comprehensive response Romain. It sounds like you are working hard getting this working with audio streams and it's a lot more complicated than I had originally hoped. I'm still curious about the proper syntax of the http put command though (and I'm sure others would be interested as well). Is there any documentation on the parameters to send? I also had a
2013 Jul 31
0
How to use http-put for JavaScript source client
Hi, On 07/23/2013 07:44 PM, Jamie McClelland wrote: > I'm following up on a thread started by Stephen a couple months ago > about building a JavaScript source client using webrtc. > > The first step suggested was to figure out how to mux the audio and > video. After I posted a feature request on the webrtc experiment js > library, we seem to have a solution: >
2013 Jul 24
0
How to use http-put for JavaScript source client
Hi Jamie, The webRTC API does not sound suitable for source->server streaming for many reason. For instance, the peer-to-peer connection requires input from both end and seems quite unfeasible to implement in a server. Likewise, codecs are completely abstracted and much more. In reality, webRTC is an API to acheive full-duplex conversations a-la skype and not for streaming. For these
2006 Mar 06
1
C version of ferret?
Hey Dave, I understand you''ve been very busy lately, but I was really excited when you said before Christmas sometime that you were soon to release a fast C version of ferret. Is that still in the works? Do you have even a rough ETA? I have a rails site that would greatly benefit from it. Thanks, Carl -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Dec 09
1
what exactly does close_dir option do?
I''m trying to figure out if I should be setting close_dir to true or false when I access my index. It seems like this has something to do with the state that the index is left in after one process is finished using it, but it''s not clear exactly what this does. Can anybody explain further? Thanks, Carl