Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
57% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
6
Posts with Downvotes
6
Downvoting Members
1
0 Endorsements
Ranked #4K
~2K People Reached
Interests
web designing and developing

8 Posted Topics

Member Avatar for Shibbir Khan

I would like to stop and mark as failed too long running junit tests (executed within Maven 3 build). I am aware of three ways of doing it: 1) Using Test annotation with timeout parameter: @Test(timeout=100) public void testWithTimeout() { ... } 2) Using Rule annotation: @Rule public Timeout globalTimeout …

Member Avatar for ~s.o.s~
0
157
Member Avatar for Shibbir Khan

So i've got a for loop that's reversing every other word in a string. I can't determine which condition is causing this. I've spent a good amount of time staring at this and the API, to no avail. Anyone have any idea why it's not working? String newMessage; StringBuilder stringBuilder …

Member Avatar for JamesCherrill
0
166
Member Avatar for Shibbir Khan

I'm using Yii framework while my question is probably intended to PHP expert. I have created a controller to send email from my web application, it works fine. Given that, I intend to use email in several sontrollers in my app, I wanted to created a helper but that does …

Member Avatar for kaleemullah360
0
431
Member Avatar for Shibbir Khan

The documentation (http://www.w3schools.com/tags/att_li_value.asp) says, that a value for a li element must be numeric. Why should it be wrong to use a string instead of a number, if you need the value for saving a f.E. locale like 'US', 'EN' etc. ?

Member Avatar for Shibbir Khan
0
109
Member Avatar for Shibbir Khan
Member Avatar for Shibbir Khan

I have this function and everything works until a and b both equal 1. When that happens the carry bit is going to 2 when its supposed to be only 0 or 1. Is my algorithm wrong for the carry bit carry_bits |= ((a & mask) & (b & mask)) …

Member Avatar for Moschops
0
206
Member Avatar for shammi.khan.73

Unless you are trying to do this dynamically, this is as simple as: $('#three').text($('#one').text());

Member Avatar for shammi.khan.73
1
106
Member Avatar for Shibbir Khan

$.ajax({ url: "/Configuration/AddServersAdvancedSelect", type: "POST", data: { selectedOUs: that.getByDataSelected() }, async: false, dataType: "html", success: result => { cont.setTabContentFromHtmlString(result, 1); cont.tabClicked($("td[data-value='1']").get(0)); }, error: (xhr, ajaxOptions, thrownError) => { // } }); This is my ajax request towards the server. For some reason the data doesn't get selected. The getByDataSelected function …

Member Avatar for shammi.khan.73
0
422

The End.