Guys, could you help me with treating text sent with GET method. How to detect and treat line foldings in text? The text is sent from textarea through AJAX using GET method. How to detect line foldings in text when it is sent in GET method?
And I want to replace all line foldings with special character for example like "|" before sendin...
Hey Folks,
I am currently playing around with CSS3 and trying to achieve a text effect like this (the black blurry inner shadow):
But I cannot find a way to create text shadows inside the text. I wonder whether it is still possible because the box-shadow element is able to render shadow inside like this:
box-shadow: inset 0px -5px 1...
heyy there
i want to parse a text,let's name it 'post', and 'urlize' some strings if they contain a particular character, in a particular position.
my 'pseudocode' trial would look like that:
def urlize(post)
for string in post
if string icontains ('#')
url=(r'^searchn/$',
searchn,
...
3 begincidrange
<20> <7e> 1
<8140> <817e> 633
<8180> <81ac> 696
endcidrange
This is a CMAP file sample.
How do I make a CMAP for my own data ?
What is 3 in 3 begincidrange
what is <20> <7e>? can anyone give an example
...
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.
...
Hello, I'd like to make a simple text file viewer and I'd like it to be able to handle large files (possibly larger than the computer's memory).
I know that I need to implement something like a sliding buffer, that will contain the currently visible portion of the file. The main problem is to determine the relation between lines and fil...
Can i write something like this in WPF(i know that this piece of code is wrong, but need to know if there is kind of this construct):
<TextBlock Height="50" Text="Test: {Binding Path=MODULE_GUID}" />
Or always to add some text to binding value i must do something like this:
<StackPanel Orientation="Horizontal">
<TextBlock Heigh...
I have been tasked with solving a problem that is outside of my domain of knowledge and I was hoping I could get some troubleshooting advice from someone more experienced with openGL (I have very little experience with openGL). We are working on a cross platform application that is implemented in a common lisp implementation called ccl....
I have a bunch of text files where I want to add a line ending after each period.
I'm wondering if there is a way to do this by doing replacing all periods with a \n\n, assuming I have the right encoding (unix).
Anyone know how I would do this? Replace .'s with .\n\n and then save as a different file?
Thanks!
...
Is it Possible to Display some text say a story, in an ANDROID app which also enables the user to select some text and perform some operations on that text..
the main idea is to display some text and when the user selects some text(a word or a sentence) i need to get that text for some further operation on that text.
we cant use text v...
Hello,
I would like to have a text input field containing the "$" sign in the very beginning, and no matter what editing occurs to the field, for the sign to be persistent.
I would be good if only numbers were accepted for input but that's just a fancy addition.
Thank you very much in advance!
...
I've come across a bug I believe in Perl/Tk 804.027 Text Widget (using Scrollable('ROText')).
When I add a tag that selects all and apply the configuration change to justify to the right, the scrollbars do not show up. If I comment out the tagConfigure where I justify to the right, the scrollbars come back.
Does anyone have a workaround...
If I use a menu.xml to create an Options menu, can I change the standard menu button attributes like text size, etc inside of that menu.xml? I would like to make the text in each button larger, bold and different colors.
Thank you for reading my question
...
I am trying to parse a list of operating system instances with their unique identifiers. I am looking for a solution to parse a text string, and pass the values into two variables. The string to be parsed is as followed:
"Ubuntu 9.10" {40f2324d-a6b2-44e4-90c3-0c5fa82c987d}
...
Is there a function to get a range of characters in a text string or would i need make my own?
...
This answer to this question may seem obvious, but I'm actually struggling with it quite a bit. I've searched through JFileChooser methods in the API, and I've looked at some of the questions already asked and answered here on stackoverflow.
My question is this. In my program, I am to allow the user to type in a file name which I will t...
I'm writing a bash script that prints some text to the screen:
echo "Some Text"
Can I format the text? I would like to make it bold.
Thank you.
...
What is the smartest way of searching through an array of strings for a matching string in Perl?
One caveat, I would like the search to be case-insensitive
so "aAa" would be in ("aaa","bbb")
...
I have an Excel worksheet with around 100 cols. Does anyone know of an easy way to write the contents of each column to a csv or txt file?
...
I'm doing this for fun (or as 4chan says "for teh lolz") and if I learn something on the way all the better. I took an AI course almost 2 years ago now and I really enjoyed it but I managed to forget everything so this is a way to refresh that.
Anyway I want to be able to generate text given a set of inputs. Basically this will read for...