I'd like to produce a list of users and their total commits to a subversion repository. Is it possible to generate this information from the command line?
hi,
in my application i am using literal controls in data list , now i want to apply height and width for the literal controls is it possible for applying height and width to literal controls. thank you.
I have two different QuerySets which both return a list of Users (with different fields). How can I display them both in one HTML table? One Query will always be a subset of the other; I just want to fill in the missing data with 0s. How can I do this?
I have a file with such list:
100
101
102
103
What I want to do is to replace every 0 into A, 1 into C, 2 into G, 3 into T.
Hence we hope to get
CAA
CAC
CAG
CAT
When you hit the delete button a nice effect is run on that li and it is removed by using jquery's .remove() function.
For some reason if i try to .size() on the parent ul it just still says the number of list items that were there when the page loaded?
Hello,
I have written a webservice which is taking URL as an input and producing a JSON respone. My problem is that now I have list of 1000 URLs and want to execute maximum threads of Webapplications to get output. Like I want to execute 100 instances of webservice at a time to get response.Please can anybody give some guidance how can I do it using java.
Thank you in advance
Hi,
I am trying to get the following spec to run:
describe BlacklistController, "GET index" do
it "should display the list of universally blocked numbers" do
get :index
debugger
assigns[:blocked_numbers].should contain "190"
end
end
Here's the action
def index
@blocked_numbers << "190"
respond_to do |format|
format.html
end
end
And the failure simply says that assigns[:blocked_numbers} is nil. Why's that?
Hi, what is your preferred method to maintain state of an asp.net page, if it is a public website (involving shopping cart, wish-list etc). I am in the process of designing a website that will need to ensure that the user is not able to tamper with the state (such as delete cookies etc).
This is my SQL:
SELECT `tbl`.*, 123 AS `test` FROM `tbl` GROUP BY `test`
It works when I run it directly in MySQL. But PDO says:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'test' in 'field list'
Why so? How to cure this problem? I'm using Zend_Db.
Is there any hack I could use to do this:
template <class TYPE>
class Hello
{
TYPE _var;
};
I would like a way to store
Hello<int> intHello and Hello<char*> charHello
into the same Container such as a Queue / List.
Say the original list is
1 2 3 4 5 6 7 8 9 10
and u shift it so that it becomes
5 6 7 8 9 10 1 2 3 4
so say i want to check if 7 is in the array. how would i do this efficiently.
So I have a .dat file that just holds a list of names, each name is on a new line. I am having a day of complete mental blanks but how would I go about getting those names out of the file and puting them into a array.
Thanks for any help
What would be the easiest way for creating a dialog:
- in one window I'm giving data for envelope addressing, also set font type from list of sizes
- when clicked OK, in the same window or in next window I get preview of how the envelope would look like with the given names, and used selected font size
It should look similarly to this :
Should I use Jdialog ? Or will JOptionPane will be enough ? The next step will be to choose color of font and background so I must keep that in mind.
Hey Guys,
I am wokring on a dialog, where in execution I want to round up all items that have a specific attribute and place an attribute value of their's into a comma delited list.
This is as far as I have gotten, which isnt far.
buttons: {
'Hook': function(){
$('.grid_pic:has(border=3)').(loop through id's, grab src, build variable with srcs comma delimeited)
}
Any ideas?
A lot of tech interviews asks these "kinds" of questions, so I thought I'd make a list for myself and others:
(1) Linked Lists
(2) Strings
(3) Trees
(4) Bitwise Manips
(6) Recursion (I hate these ones, I can never get these, any tips?)
I have list of files which contain particular patterns. But , those file have been tarred. Now I want to search the pattern in the tar file . And to know which are file contain pattern. without extracting it.
Any idea....?
I've bundled a jar file as a mac application using jar bundler. I'm now trying to create an installer for this app so that:
1) The application will be placed in the applications folder
2) The application is added to the list of permissible apps in Mac Application Level Firewall
Also, I have several example files I would like to include with this application - what is the best way to make these available to the user. Someone suggested I have the mpkg file launch a dmg file which would contain these files, but this seems circuitous.
Thanks
I am really confused, I want to create one list that holds 2 Images and 2 labels as follows.
+----------------------+ ROW1
|Image1 Image2 Lebel1 |
| Lebel2 |
+----------------------+ ROW2
|Image1 Image2 Lebel1 |
| Lebel2 |
+----------------------+
But i don't want it in a table/columns it should be simple selectable rows without any borders.
Which widget i should use for this and how?
Thanks,
PP.
I want to extract some keywords out of a query string for a search application in asp.net.
I decoded the url string first, so it's plain text
I have this to start with, but I want to add a keyword group
I'd like to trim off the stuff for pure words, but not sure if that's possible
I also have a long list of possible query string value fields that I want to check against
?q=
@q=
?qs=
&qs=
I need to get a list of tags in a text, make their contents bold, and remove them. Can't figure out how to make it.
E.g. with the following input:
foo [b]bar[/b]
The result should be:
foo bar
I use the following code to extract the tags:
Dim matches = Regex.Matches(OriginalRich.Text, String.Format("(\[{0}\])(.*?)(\[/{0}\])", tag), RegexOptions.IgnoreCase Or RegexOptions.Compiled)
Any help would be appreciated.