Hi there,
I only wanted to know if it's possible to change the style of the font (font-size, color) of the legend text in the Google Chart API.
Thanks for your answers!
Greetings
Sebastian
I have a plain text file with words, which are separated by comma, for example:
word1, word2, word3, word2, word4, word5, word 3, word6, word7, word3
i want to delete the duplicates and to become:
word1, word2, word3, word4, word5, word6, word7
Any Ideas? I think, egrep can help me, but i'm not sure, how to use it exactly....
HI,
I would like to create a function that beautify my text. For this I use a regex who remplace some characters, but it not run. Can you give me the regular expression for this :
Replace the first letter by a caps
Replace any underscore _ by a space
So for example: the_pack_2 will be The pack 2.
Thx
hi,
i write an application in which i want to write/draw the text using CGContext functions such as CGContextSetTextPosition, CGContextSetTextDrawingMode, etc.
I written an code but it can't be work,
CGContextSetTextDrawingMode (ctx , kCGTextFillStroke);
CGContextSetRGBFillColor(ctx, 5.0, 5.0, 5.0, 1.0);
CGContextSelectFont(ctx, "Times", 10, kCGEncodingMacRoman);
CGContextShowTextAtPoint (ctx, 60.0, 426.0, (const char*)"Sat", (size_t)20);
The above code is appropriate or not?
I try to write a dictionary extension for Google Chrome. Now, I want to pop out a small box when I double click to select text . How can I implement it :)
Or like this one ( Fastest Chrome ). They're written in javascript.
Thanks so much !
Hello,
New at C# using visual studio 2008 and trying to load an excel sheet with a text file. My current program puts the complete file in one cell. Is there a way to put each data point in its own cell. Having issues interfacing with excel to accomplish this task.
Thanks
Joe
I'm considering getting a Mac. I want to make sure I'll be able to get a good text editor for it. I'm wondering what other folks are using.
Features I need -
Contextual highlighting for PHP, HTML, CSS, and preferably many others
FTP from a hotkey - so I can hit ctrl-s to save, then another combo to FTP it.
Features I'd like -
Code Completion
I'm also interested in any comments in general about coding on a Mac and if it's really worth the extra $$$ to get one.
Thanks
Hi folks,
I am using Gmail sender function defined here to send a mail to the predefined mail id. But my problem is that i want to embed more text into the body of my mail... The Gmail sender is only accepting one sting to be embedded into the body of the mail. Can anyone tell me how to embed more strings into the body of the mail... If Gmail sender is not efficient method to send a mail then please suggest me an alternative with an example....
I've got a UINavigationController and i've changed it to white using the Tint property of the navigation bar in Interface Builder. But the text in buttons and the title is still the default color, white, and so gets lost against the white background. Anyone know how to work around this?
I want to write text files with DOS/Windows line endings '\r\n' using python running on Linux. It seems to me that there must be a better way than manually putting a '\r\n' at the end of every line or using a line ending conversion utility. Ideally I would like to be able to do something like assign to os.linesep the separator that I want to use when writing the file. Or specify the line separator when I open the file.
How can i get current x & y position of my CURSOR within a text area using javascript.
The event is a Keyup event, not a mouse event.
I am not looking for the current cursor position in terms of charecter but x , y coordinates.
If I want to do a search on multiple columns for the keyword abc using like %abc%, how would I show some of the text around that keyword. Similar to what Google does with its search results.
If I insert a hyperlink using the insert function of Buzz, the link I posted will be parsed automatically, and that's not what I want.
Can I create Hyperlink text manually? using something like ?
thanks a lot for your help.
I want to write text files with DOS/Windows line endings '\r\n' using python running on Linux. It seems to me that there must be a better way than manually putting a '\r\n' at the end of every line or using a line ending conversion utility. Ideally I would like to be able to do something like assign to os.linesep the separator that I want to use when writing the file. Or specify the line separator when I open the file.
I want to retrieve the text that the user has typed into the currently visible address bar, using Javascript. This is for google chrome only.
Is this possible? I know you can get the document URL via window.location.href, but I am unable to locate any javascript pertaining to current code inside the address bar/omnibar.
Thank you for the help!
I am trying to sort the dates from the earliest to the latest.
I was thinking about using the bufferedreader and do a try searching the first 2 characters of the string and then the 4th and 5th characters and finally the 7th and 8th characters, ignoring the slashes.
The following is an example of the text file I have:
04/24/2010 - 2000.0 (Deposit)
09/05/2010 - 20.0 (Fees)
02/30/2007 - 600.0 (Deposit)
06/15/2009 - 200.0 (Fees)
08/23/2010 - 300.0 (Deposit)
06/05/2006 - 500.0 (Fees)
I need to display text along with values of variables in a CEdit controlled Edit Control Box. How do I do it ? Currently I'm using SetWindowText(), but that only takes a string...how do I get a formatted string to display in the edit control?
Example: printf("The answer is %d\n",ans) - how do i print the same message in a Edit Control?
This is an interview question, and should concern about efficiency. How to calculate occurrences of specified word in a large text file? I can only think of indexOf() method in most programming languages, but I don't think that the correct answer.
What I want to do is write a text file to a smart card and read it.
WindSCard is the dll to be used but but it's functions are very cryptic.
Is there any FREE wrapper available over it and is there any tutorial that does what I want to do.
Hi,
I want to apply ckeditor on specific textarea in django admin form not on all the text areas.
Like snippet below will apply ckeditor on every textarea present on django form:
class ProjectAdmin(admin.ModelAdmin):
formfield_overrides =
{models.TextField: {'widget': forms.Textarea(attrs={'class':'ckeditor'})}, }
class Media:
js = ('ckeditor/ckeditor.js',)
but i want it on a specific textarea not on every textarea.