Hi all,
Having some trouble with the CSS alignment of text generated with @font-face. For some reason, there is a ton of extra space visible at the bottom of each letter, stretching the text's containing box too far downward.
If you inspect the text on this sample page, you can see what I mean.
Have googled and inspected a bunch of o...
Hi...
I'm trying to add the input values of several text boxes using javascript and display the total number below. How can I add and keep the sum for displaying after the computation. I'm not an expert in javascript.
Thanks...
...
Hi, I would like to make my text label on a cell fade out when I press a button.
I tried pointing the label I want to make fade out, but it just work for only last cell.
And I found out that
-(void) willTransitionToState:(UITableViewCellStateMask)state
is the way to solve this problem, but I don't know how to use.
Do I need to make a ne...
Do you know a class in Java that counts word frequency of the text,
and maybe gives all the blocks of the text where the word occurs?
...
I found a website last night that is simply awesome. Here's the URL:
http://yourworldoftext.com/
WARNING: Site may be NSFW.
And it got me thinking straight away how this site is constructed. Taking a look at the page source doesn't reveal much, but if I look at it in Firebug I see a lot of tables like this:
<div class="tilecont" styl...
I have been looking at regular expressions to try and do this, but the most I can do is find the start of a line with ^, but not replace it.
I can then find the first characters on a line to replace, but can not do it in such a way with keeping it intact.
Unfortunately I don´t have access to a tool like cut since I am on a windows mach...
I am using a batch file to write a vbs email file. I am unable to create the text body of the email which includes the vbCRLF code. When the TextBody is written to the Target file, it has executed the first vbCRLF, and the DOS returns errors as it tries to execute the second vbCRLF and the last string. Enclosing it in doucble quotes does...
I have 10,000,000 records which will be the best technique to search records, currently i m using full text search but it is slow,please suggest.
...
Well, everything is in the title ;-)
Thanks
Fro_oo
...
Is it possible to change the width of an insert TAB character in a Flex TextArea?
I'm capturing FocusEvent.KEY_FOCUS_CHANGE events and manually inserting a "\t" into a text area styled with an embedded monospace font. By default, the TABs are being displayed two and a half monospace characters wide... I need them to display five monospa...
I'm traversing a text file line by line adjusting the text so that the file eventually will match the syntax required to be run on a MIPS simulator (MARS). My issue is that whenever I see a line with the string "blezl" in it, I want to do several things. First I need to insert some lines of text following the line containing this word. T...
Let's say I have a column family named Questions like below:
Questions = {
Who are you: {
username: "user1"
}, What is the answer: {
username: "user1"
}...
}
How do I search for all the questions that contain certain words?
Get all questions that contain 'what' word.
How do I do it using python or at le...
I want to read the text from the localizable.strings file. I am collecting the strings for translation from several directories and file in one .strings file. But then I have several copies of the same translation strings. I want to remove this programmatically.
So I need to read the strings only (not the comments) from the .strings fil...
Hi all
I tried to write some text on a surface view I created. It works fine, if title is false, and there is no linebreak added to the text. But if I add a title and therefore a linebreak, the linebreak isn't printed as expected, but instead there is this symbol [] printed.
Any hints why?
@Override
public void drawObject() {
String t...
i'm looking to optimize a wordlist for the english language using sed or a similar linux application.. in order to do this i need to:
Remove lines containing anything except a-z, 0-9, or special characters
Remove urls - maybe detection of the "\" character
Remove lines over 16 characters long, and 4 characters or shorter. (5-16 chars...
hi,
I want to achieve the following:
The user drags text from any open window not related to my application ( like firefox or word, for example) onto button1 on form1 in my application. when he/she does that, a new form (called form2 that contains a richtextbox) will open and the dragged text is directly copied (or inserted) into the r...
Hi there,
Our company executives have requested the integration of a "Star Wars crawl" style credits screen for our About box in our application and I've been tasked to complete this within a week. We have recently ported our WinForms application to WPF and therefore we're all very new to WPF.
As I'm even newer to WPF, I'm not sure wh...
Hi, I have the following text file (ExamMarks.txt)
John, 85, 95, 90
Micheal, 60, 75, 75
I want to extract a line and take the Name and separately and the ints separately. Then I want to print the name and the average of the numbers like this in a label:
John's average is 90
Micheal's average is 70
So far I can only display what is ...
My company maintains a domain-specific language that syntactically resembles the Excel formula language. We're considering adding new builtins to the language. One way to do this is to identify verbose commands that are repeatedly used in our codebase. For example, if we see people always write the same 100-character command to trim whit...
I am writing an HTML code for my cell phone. Its essentially a Dictionary App where I input a word and I look up the meaning from say, Dictionary.com ;
I am using Javascript to get the string but can I embed the word into the URL, "http://dictionary.reference.com/browse/"
Is there any way of doing this ?
...