I have a text box that the contents change on page reload, but what I was wondering is how to make it change after a specified amount of time. Is this possible without flash?
I want to make Habit Number: bold , I tried the HTML tag but it didn't work.
I did some research but couldn't find any. Hope someone is able to help me. Thanks!
String habitnumber = "Habit Number: " + String.valueOf(habitcounter);
String Title = habit.getTitle();
String description = habit.getDescription();
//Set text for the row
…
I'm trying to take 2 versions of text (10 pages long) and compare the 2 to produce the difference. I know Wikipedia has a similar feature to compare revisions. Does anyone know what they use? I'm hoping they're using a php-driven solution.
I want to add a WHERE clause to a full text search query (to limit to past 24 hours), but wherever I insert it I get Low Level Error. Is it possible to add the clause and if so, how? Here is the code WITHOUT the where clause:
$query = "SELECT *, MATCH (story_title) AGAINST ('$query' IN BOOLEAN MODE)
AS Relevance FROM stories WHERE MATCH…
Does Android come with a way to do Full Text Search?
I know is it not even possible to search contacts by the notes field, being Google the search company, but I would be disappointed if there is no API for that.
Hi, not necessarily a programmer question but I need to enter a TAB after every 84th character of a text. I'm trying to do it in InDesign but I don’t see an option for this. Is there a good application to do this?
Preferably Mac OS X compatlible but Windows XP is fine too.
Thank you very much!
my application have many drag and drop features. and while dragging i want that cursor changes to some grab.cur. ie and firefox are working fine in this. but in chrome it always changes the cursor to text cursor. I m stuck badly please help.
Given a database table with lots of data in it, what is the best practice to remove noise text? I want to detect and remove strings like:
fghfghfghfg
qsdqsdqsd
rtyrtyrty
I'm using Java.
In Textmate I can wrap enclosing characters ('(', '[', '"', etc.) around text by selecting it and hitting the opening character. For example, if I select word and hit (, it will become (word). What does Emacs call this feature and how do I enable it?
Is there a way to perform a full text search of a subversion repository, including all the history?
For example, I've written a feature that I used somewhere, but then it wasn't needed, so I svn rm'd the files, but now I need to find it again to use it for something else. The svn log probably says something like "removed unused stuff", and…
Hi guys.
I have :
<a href="http://abc.com">Title</a>
And :
<a href="http://xyz.com">Title</a>
I want to replace link to text "Title", but only from http://abc.com. But I don't know how ( I tried Google ), can you explain for me. I'm not good in PHP.
Thanks in advance.
I'm pretty new to Android development. Trying to accomplish something fairly simple -- change some displayed text when a timer ticks. Here's the potentially relevant code:
CountDownTimer currentTimer;
Resources res;
TextView timerText;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
…
I'm building a website in django that needs to extract key words from short (twitter-like) messages.
I've looked at packages like topia.textextract and nltk - but both seem to be overkill for what I need to do. All I need to do is filter words like "and", "or", "not" while keeping nouns and verbs that aren't conjunctives or other parts of…
According to the docs, CTFramesetterSuggestFrameSizeWithConstraints () "determines the frame size needed for a string range".
Unfortunately the size returned by this function is never accurate. Here is what I am doing:
NSAttributedString *string = [[[NSAttributedString alloc] initWithString:@"lorem ipsum" attributes:nil] autorelease];…
I am trying to index a table for full text search on a SQL server 2005.
When I select the change tracking as Automatic and click on the next button, I get the following error
TITLE: Microsoft SQL Server
This wizard will close because it
encountered the following error:
For help, click:
…
I am trying to get a text-to-speech to save to an MP3.
Currently I have the System.Speech.Synthesis speaking to a WAV file nicely.
With New System.Speech.Synthesis.SpeechSynthesizer
'.SetOutputToWaveFile(pOutputPath) This works fine
.SetOutputToWaveStream(<<Problem…
I am trying to index a table for full text search on a SQL server 2005.
When I select the change tracking as Automatic and click on the next button, I get the following error
TITLE: Microsoft SQL Server
This wizard will close because it
encountered the following error:
For help,…
Hi,
I searched around for a basic WYSIWYG rich text editor that I can use in a JSF 2 (VDL) application, but found nothing satisfactory.. in the sense that:
The editor is very extensive, and not configurable (like PrettyFaces)
The editor doesn't work with VDL (like RichFaces)
Multiple instances…
Hi,
I'm trying to install a speech recognition engine server side. (non commercial preferred since it's just for experimentation)
The idea is to allow a user to say something from a website then whatever he/she says will show up on the screen (as text)
I've read about many available softwares…
Hi, I need to write a text file viewer (not the directory tree, but the actual file contents) for use in a browser. It will be used to view large files. I want to give the user the ability to actually ummm, browse the file, ie prev page & next page buttons, while each page will show only a…
Hi,
For some reason, I want to serve my robots.txt via a PHP script. I have setup apache so that the robots.txt file request (infact all file requests) come to a single PHP script.
The code I am using to render robots.txt is:
echo "User-agent: wget\n";
echo "Disallow: /\n";
However, it is…
If I have code like this:
FormattedText text = new FormattedText(sTheBook, System.Globalization.CultureInfo.CurrentUICulture,
System.Windows.FlowDirection.LeftToRight, new Typeface("Times New Roman"),
13, Brushes.Black);
text.MaxTextWidth = 300;
text.MaxTextHeight = 600;
text.TextAlignment…
I have a text column in a table. We store XML in this column. Now I want to search for tags and values
Example data:
Citi Bank
.....
.....
/
I would like to run the following query:
select * from xxxx where to_tsvector('english',xml_column) @@ to_tsquery('Citi Bank')
This works…
This question expands upon the one at abstract-class-numberformat-very-confused-about-getinstance. I feel that this question is different enough to merit being asked on its own.
In the answers to that question, it was stated that a code statement such as
NumberFormat en =…