Posts

How to retrieve value of base64 string stored in a variable to Jenkins Extended E-mail Notification plugin -

i saving buildtimegraph image (png) file in jenkins. wanted embed image , send via mail using extended e-mail notification plugin. build triggered via ant scripts. when using "certutil" in cmd , converting base64. getting 2 statements says -----begin certificate----- , -----end certificate----- in base64 string. use filterchain > tokenfilter > replacestring ant remove these lines string , save them variable. does know how variable can used in img src tag ? have attempted many combinations but, not worked me. looks like. value of $image1 can seen in jenkins log when echo them using ant. but, when using them in extended e-mail notification plugin. wont print. <img alt="image 1" src="data:image/png;base64, $image1" /> thanks. to reference environment variable in email-ext plugin, need use ${env, var="image1"} keep in mind if environment variable created in ant build step, not exist in post-build actions (unle...

java - SilverLIght objects not identified through Selenium Webdriver. Can you please suggest how to proceed -

webdriver not identify xpath : //object[@id='slplugin2']. getting "nosuch element exception" ***<table class="imgtable phototable" cellspacing="0"> <tbody> <tr> <td colspan="10"> <div id="fileuploadcontrol312" class="fileupload t-toolbar t-grid-toolbar t-grid-top" style="display: block;"> <object id="slplugin2" width="127" height="32" data="data:application/x-silverlight," type="application/x-silverlight"> <param value="white" name="background"/> <param value="/lmm/clientbin/fileupload.xap" name="source"/> <param value="url =https://lmmwipqa.blob.core.windows.net/uploads?se=2014-04-14t06%3a45%3a03z&sr=c&sp=w&sig=tubcb6gkw6d9gjo23wkru5w7j%2bsalbounjuj7n197kg%3d, parent =fileuploadcontrol312, caption =add photo" name="initparams"...

icalendar - ical file shows correct date if it is opened on Mozilla Thunderbird but not in Microsoft outlook -

Image
ical file code: begin:vcalendar version:2.0 prodid://microsoft corporation//outlook 14.0 mimedir//en begin:vevent dtstamp:20131107t000000 uid:758acmrj description: meeting 2013-11-07 00:00:00 categories:meeting class:public created:20131107t000000 summary: meeting dtstart;tzid=ct:20131107t000000 dtend;tzid=ct:20131108t000000 location: home end:vevent end:vcalendar microsoft outlook: mozilla thunderbird: mozilla thunderbird showing correct date. this how outlook displays 1 day day activities. activity starts @ 11/7/2013 12:00 , ends @ 11:17/2013 11:59:999 pm of same day. activity starting on 11/7/2013 , ending on 11/8/2013 2 days (11/7 , 11/8).

ASP.NET MVC how to insert other html element inside @HTML.ActionLink -

normally, write this: <li>@html.actionlink("dashboard", "index", "account")</li> to generate this: <a href="/account">dashboard</a> what want know whether possible generate following html <a href="#"><i class="fa fa-dashboard"></i> dashboard</a> without having create own custom tagbuilder class. thanks help. you can use urlhelper.action generate url: <a href="@url.action("index", "account")"> <i class="fa fa-dashboard"></i> dashboard </a>

licensing - php check license id with postback url -

i'm working on php installer web application / software. the installer need valid license id finish installation (for example: "ads34nsi9sa"). to check if license id valid have php script on main domain check db , return 1 if licenseid exist , active or 0 otherwise. file should called this: https://www.domain.com/check.php?id=ads34nsi9sa so i'm wondering if correct use file_get_contents() check license id via php.. $check = file_get_contents("https://www.domain.com/check.php?id=$license_field"); if( $check == 1 ) {} // finish installation else {} // print error msg is way correct , secure? of course, need url-encode data before injecting url. , it's remote server detect brute force attacks. other that: your check assumes allow_url_fopen enabled , php has ssl support . make sure explain in requisites , ready support enquiries , workaround coding. data sent through ssl should remain private enough. and, well, isn't part...

Angularjs directive isolated scope and impact in the parent scope -

there behaviour isolated scope in directives , = attribute don't understand. i have directive isolated scope , 2 attributes in : scope: { attr1: '=', attr2: '=' } maybe wrong i'm expecting modifications of attr1 , attr2 objects in directive's template transmitted original object. for exemple : <directivename attr1="anobject" attr2="anotherobject" /> i'm expecting modifications on attr1 , attr2 in directive available in 'anobject' , 'anotherobject' doesn't seem case. but have notice if add level anobject , anotherobject <directivename attr1="foo.anobject" attr2="foo.anotherobject" /> then modifications in directive's template of attr1 , attr2 transmitted $scope.foo.anobject , $scope.foo.anotherobject. can explain me why , tell me way force transmission of modifications directive original objects without having force caller of directive add intermed...

q lang - How to apply max function for each row in KDB? -

i want ensure values in column x no smaller 0.5, do: update x:max (x 0.5) mytable but gives error (in studio kdb+ ): an error occurred during execution of query. server sent response: type studio hint: possibly error refers wrong type, e.g `a+1 what's wrong? you can try using | q)update x|0.5 mytable