0
votes
0answers
2 views

android edittext wrap text

This is my Edittext layout <EditText android:id="@+id/txt" android:layout_width="wrap_content" android:layout_height="wrap_content" ...
0
votes
0answers
2 views

How can I change the Telnet terminal speed (as a telnet command option / flag)

I have a problem with the telnet daemon running on a small device attached to the network over Ethernet. The small device is running on uClinux,and printing (sending to stdout,stderr) a huge amount ...
0
votes
0answers
2 views

Getting Tiles' put-list-attribute to work with a Thymeleaf template

I am trying to get Apache Tiles' put-list-attribute to work with Thymeleaf. Here is what I tried: From Tiles config: <put-list-attribute name="jsFilesList"> <add-attribute ...
0
votes
0answers
3 views

Merging two select queries and displaying first queries record in top

I have one query result having data in lastName column as below Select * from department where departmentid in (1,2) DepartmentID&nbsp;&nbsp;&nbsp; LastName <br/> ...
0
votes
0answers
2 views

How can I deploy a Leiningen template to Clojars?

I have created a Leiningen project on my local machine which I then turn into a template by doing: lein create-template webdb : Then I install the template: cd webdb lein install : which allows ...
0
votes
0answers
2 views

Ruby multithreading Performance issues

I am building Ruby application. I have a set of images that I want to greyscale. My code used to be like this: def Tools.grayscale_all_frames(frames_dir,output_dir) number_of_frames = ...
0
votes
0answers
4 views

how to deserialized json data sometime is empty array and sometime a string value

I get JSON data from server, but I found, when the string value was empty the server return a empty array. Not a blank string (""). So I confuse how to handle this case, I am using JSON.NET to ...
0
votes
0answers
5 views

Counting time in C

I'm essentially writing a program that will calculate how many words per minute a user can type. I need to know how to calculate time in C. I know this is vague; this is because I would really like to ...
0
votes
0answers
3 views

How can a gem be shown in “bundle show” but not be in the Gemfile?

Running bundle show Lists rake (10.0.4) and i18n (0.6.1) amongst other gems, however they are not listed in the Gemfile. Why / how are they listed? The problem I'm having is that one machine (mac ...
0
votes
0answers
4 views

what is the application or software that can be used to examine mutexes

i want to examine/analyze the working of mutexes on my system. is there any software that can help me as wireshark is used to analyze the network traffic. the code below has nothing to do with my ...
0
votes
0answers
6 views

syntax error: unexpected end of file

I am getting this error when I run my Bash script: syntax error: unexpected end of file Cant really find where the error is, been looking for hours and still get this error. Here is the script ...
0
votes
0answers
3 views

Syntax to name a name field from PHP the same in XML?

Ok, here is what I have. In my PHP file I have: $str .= ''; In my XML file, I have: Do I need escape characters or anything like that to keep the names the same in both files? After name= ...
1
vote
0answers
10 views

What is the collection that HashMap.values() method in Java returns?

JAVA SE 6.0 API says values() method in java.util.HashMap returns a Collection type. How does JVM decide which collection to return at run time. Is it jvm specific or are there any general guidelines ...
0
votes
0answers
2 views

Generate consecutive invoice number with CakePHP?

In a CakePHP invoice tool I would like to generate the invoice numbers automatically when adding a new invoice. Any suggestions (without using the invoice id)?
0
votes
0answers
8 views

How to display a JQuery progress bar during $.post

There is a button in my MVC view. <input type="submit" value="Go" title="Go" onclick="JumpToUpdateDate()" /> When user hits the button there is one Controller action being executed by $.post ...

15 30 50 per page
1 2 3 4 5 348566