Posts

javascript - how to login multiple website by one account? -

i got question project.what want me is: 1)our school has 3 login panel 1 of them library, other 1 student info , more that. 2)so basically, user information id , password same of them.( login panel school has) 3)and want me code script create 1 login panel in order log in of them. is possible do? , not know start? thank you! what want sso (single sign-on), google , obtain lot of informations it

ios - How we change content of WebView -

i want change content of web view when user click bold,italic,underline corresponding change value in html string. implementing code .it change on view how change value in html. newer in ios. please help.any appreciated. - (bool)canperformaction:(sel)action withsender:(id)sender { nslog(@"canperfom action:called"); nslog(@"canperformaction: called"); nslog(@" action %@", nsstringfromselector(action)); if (action == @selector(_showtextstyleoptions:)) { nslog(@"hello"); return no; } if (action==@selector(toggleboldface:)) { nslog(@"bye"); return no; } return [super canperformaction:action withsender:sender]; } - (void)webviewdidfinishload:(uiwebview *)thewebview { [thewebview stringbyevaluatingjavascriptfromstring:@"document.body.style.webkittouchcallout='none'; document.body.style.khtmluserselect='none'"]; nsstring ...

deep learning - data propagation through restriced boltzmann machine -

in rbm, makes relationships within node in probability. how data can propagated through rbm? first order sampling? doesnt have fluctuation? or work feed forward mlp? (ie. hj = \sum_i vi * wij) in rbm there no concept of since paper says is stochastic model.

Multiple ruby installations for multiple projects -

i want use ruby 1.8.7 1 project , ruby 1.9.3 project. possible use both versions simultaneously both projects rvm, , have them deployed. possible .rvmrc? how can configure .rvmrc specific project. you can use pow run more 1 ruby simultaneously. from front page: tame multiple rubies. full support rbenv , bundler, pow makes simple run multiple apps @ once, each own version of ruby , own set of gems. testing apps on alternative runtimes rubinius has never been easier. , gem activation errors thing of past. it require setup, guess going ;)

c# - Fluent Assertions - Overriding comparison in ShouldBeEquivalentTo() -

i have following dto: public class dto { public datetime date { get; set; } } and i'm trying override comparison of property using syntax per fa wiki : public void override_test() { // arrange var actual = new dto { date = datetime.now }; var expected = new dto { date = datetime.now }; // act // assert actual.shouldbeequivalentto(expected, options => options.using<datetime>(x => x.subject.should().becloseto(datetime.now))); } but test not compile. error: cannot implicitly convert type 'fluentassertions.equivalency.equivalencyassertionoptions<fluentassertions.shouldbeequivalentto.override.dto>.restriction<system.datetime>' 'fluentassertions.equivalency.equivalencyassertionoptions<fluentassertions.shouldbeequivalentto.override.dto>' can advise correct syntax? you have tell fa when use using construction using whentypeis<datetime>() . in other words: actual.shouldbee...

java - How to convert BFF file to TAR format -

i downloaded ibm sdk 6 64 bit sr7 ibm using below url. file downloaded bff. inorder complete work in unix os, want tar format instead of bff. please suggest me tool or commands convert or let me know link can download required ibm sdk tar format... blocking @ since days.. support. list of versions : (need jdk 6 64 bit -- sr7) http://www.ibm.com/developerworks/java/jdk/aix/j664/java6_64.fixinfo.html downloaded : https://www-933.ibm.com/support/fixcentral/aix/downloadfixes?release=all&function=fixid&fixids=iz67338,iz67338,iz67338&includerequisites=1&includesupersedes=0&downloadmethod=http requirement : bff tar i think may asking wrong question. trying do, exactly? trying patch java sdk installed on system? running aix? trying download java sdk linux system? here commands should run find out: oslevel -s # running on aix? uname -a; cat /etc/issue # in case you're running linux java -version # java version have insta...

javascript - Angular view not updating according to model -

my angular view not updating when update model. have tried calling $scope.apply() no avail. <div ng-repeat="(key,value) in day.items track $index"> <label class="item item-input item-select"> <div class="input-label"> {{key}} </div> <select ng-model="value[$index].itemname" ng-options="item item item in equipment.{{key}}"> <option value="">select option</option> </select> </label> <label class="item item-input"> <input type="number" ng-model="value[$index].value" placeholder="amount/value"> </label> <button class="button button-balanced button-outline button-block" ng-click="additem(day,key)"> add {{key}} </button> </div> and in controller: $scope.additem = function(day,key) { day.items[key]...