Hi everyone,
I'm writing a simple program for enumerating triangles in directed graphs for my project. First, for each input arc (e.g. a b, b c, c a, note: a tab symbol serves as a delimiter) I want my map function output the following pairs ([a, to_b], [b, from_a], [a_b, -1]):
public void map(LongWritable key, Text value,
...
Hello!
I'm trying to generate some LaTeX code which from thereon should generate PDF documents.
Currently, I'm using the Django templating system for dynamically creating the code, but I have no idea on as how to move on from here. I understand that I could save the code in a .tex file, and use subprocess to run pdflatex for generating ...
Hi
I got the code for getting the data from excel and den using in selenium.
My problem is that when i give invalid data in the text boxes those are also getting accepted!!
But when i checked by entering those invalid data in the same text box its not accepting
...
I was writing some error/warning messages a while ago, for an application I am developing, and I was thinking - what "voice" do you write software text in, in general?
There's several different categories of text that is included with software packages, including:
Interface text - very small amounts of text like "OK", "Cancel", "Title...
Hello
I have UTF file in uppercase and I want to change all words to lowercase.
I have tried:
`$ tr '[:upper:]' '[:lower:]' < input.txt > output.txt`
but that changes only cheracter without accent.
Thanks
...
Hello.
Please consider the following HTML:
<td>
Some Text
<table>.....</table>
</td>
I need to manipulate the "Some Text" text of td element. I should not touch the table element inside of this td.
So, just for example, maybe I want to replace all "e" with "@". I tried a few approaches with jQuery's .text() and .html(). I seem...
Hello, I'm trying to detect when a verification code is entered into a text field, so like if I wanted someone to type in "this is a test.", it would then run the following code:
system("say this is a test");
But I keep getting the error "void value not ignored as it ought to be". I have no idea what this means. This is what I have so...
I have a sample file containg "aA0_- " characters on each one on a single. Sorting it using GNU sort gives the following sort order:
$ cat /tmp/sample | sort
_
-
0
a
A
after appending some other character, we obtain a different order (non-alphanumeric characters seems to have lower priority):
$ cat /tmp/sample | sed 's/$/x/' | sort
...
First off, I am pretty new to java and I am just staring to get the hang of how static classes can interface with non-static classes and how to get a static class to update a textbox.
I keep searching for information, but I cannot find anything. I need a variable listener. here is something like what I am trying to do:
public class...
Hi out there,
have a problem, setting a Text to a TextView.
TextView android:editable = "true".
In my .java it seems like that
text = (EditText) findViewById(R.id.this_is_the_id_of_textview);
text.setText("TEST");
But it doesnt work, dont know, whats wrong..hope u can help me:)
...
I need to encrypt some text in my program developed using Lazarus/Freepascal, but I should be able to load them as text and decrypt them, rather than in binary because I need to save them in a TStrings type property.
Which algorithm(s) are suited to that?
...
Here is a pic
So this is a picture of a website I host for a non-profit organization.
The picture is in a div that has the following attributes:
position:absolute;
right:50px;
top:50px;
What I want to do is make the text more visible because on different resolutions the picture will be in different locations, so I can either:
-mak...
When i am using TextWrangler and double-click a word "game" in a sentence like "game.score", the word game is selected, but the both words and dot "game.score" is selected instead in some other editor like Smultron. How can I configure that? (in Smultron or both please)
...
How can I place caption for each of my subfloats (subfigures) on its right side?
...
From SQL Server 2005, I need to do an export for a client to an xml-like format shown below. Why they are not using XML, I don't know. Any ideas on how to do this quickly without exporting the file "FOR XML" and then writing a messy script to go through the text file and find and replace <, >, and every closing XML tag? Thank you.
STA...
Can I rotate text to be shown vertically using CSS in all browsers back to IE6? For example I need 'WORD' rotated 90 deg left so that 'W' is at the bottom and 'D' at the top.
Thanks in advance.
...
Is it possible to set the color of just span of text in a TextView?
I would like to do something similar to the Twitter app, in which a part of the text is blue. See image below:
Thanks!
...
Hi guys, so I'm using FPDF in PHP to programmatically generate a PDF file from images and text (not HTML).
One of the biggest issues I've been having is being able to wordwrap text around an image. My current algorithm looks like:
Get text as an array of words
Add words one at a time to a 'current line' variable, and call GetStringWid...
In flex, how can I highlight text/label? I have text and a small image that I want to highlight.
...
Right now, I'm trying to use a Powershell script to read through a textfile and execute all of the Powershell scripts mentioned in it, but I can't get any results. I've tried specifying it this way:
Start-Job -ScriptBlock{powershell.exe -noexit $val} -name $jobnum
and this way: Start-Job -ScriptBlock{$val}
($val is the value of the li...