Tags » Ashish Kumar

How to call [HttpPost] method of web api in c#

I have one method and i need to call it.

    
    public List<MyClass> GetPanels(SomeModel filter)
    {
    ...
    //doing something with filter...
    ...
    return new List<MyClass>();
    }
… 28 more words
Recent Questions - Stack Overflow

Hadoop YARN Terasort Benchmark Failure

I am facing issue when i run teragen / terasort benchmark with hadoop 2.2.0 . Can someone suggest if you have also faced the same issue… 352 more words

Recent Questions - Stack Overflow

How to mask a dom element in createjs

I am trying to mask a dom element in createjs . but masking is not working with dom element in createjs

var stage;

function init() {
    stage = new createjs.Stage("my_canvas");

    var de = new createjs.DOMElement(document.getElementById("page"));
    stage.addChild(de);

    var shape = new createjs.Shape();
    shape.graphics.beginFill('#000').drawRect(0, 0, 100, 100);
    stage.addChild(shape);
    de.mask = shape;

    stage.update();
}  
… 12 more words
Recent Questions - Stack Overflow

How to mask a dom element in createjs

I am trying to mask a dom element in createjs . but masking is not working with dom element in createjs

<script>
var stage;
function init()
{
stage = new createjs.Stage("my_canvas");

var de = new createjs.DOMElement(document.getElementById("page"));
stage.addChild(de);

var shape = new createjs.Shape();
shape.graphics.beginFill('#000').drawRect(0,0,100,100);
stage.addChild(shape);
de.mask = shape;

stage.update();
… 12 more words
Recent Questions - Stack Overflow

How we can make EditText with thick border(some color) and with white background in android?

I got some code but not perfact-

<shape xmlns:android="http://ift.tt/nIICcg" 
       android:thickness="0dp" 
       android:shape="rectangle">

  <stroke android:width="2dp"
         android:color="#00cc33"/>

</shape>

it gives border color but background color is black.
Thank’s in advance… 13 more words

Recent Questions - Stack Overflow