Posts

angular 2 reactive forms issue -

i have question regarding angular 2 reactive forms. created below country.ts export class country { countryname: string; countrycode: number } and database in-memory-data.service.ts import { inmemorydbservice } 'angular-in-memory-web-api'; import { injectable } '@angular/core';` @injectable() export class inmemorydataservice implements inmemorydbservice {` createdb() { let countries = [ { countryname: 'saudi arabia', countrycode: '+966' }, { countryname: 'bahrain', countrycode: '+973' }, { countryname: 'united kingdom', countrycode: '+44' },{ countryname: 'united arab emirates', countrycode: '+967' },{ countryname: 'brazil', countrycode: '+55' },{ countryname: 'czech republic', countrycode: '+420...

javascript - Vue.js displays a few items only when using array push -

i using vue.js in codeigniter. trying push array, displays 10 items. in console looks okay, gives me error in view. here code //vuejs.js this.approval_enddate = []; (var = 20; >= 0; i--) { this.approval_enddate.push(i); } //view.php <ol> <li v-repeat="sem: approval_enddate">{{ sem }}</li> </ol> but here output 20 19 18 17 16 15 14 13 12 the value 11 1 not displayed. please help. thanks!

scala - scalding with Custom Tap could not build flow from assembly -

everyone have scalding project save data hbase using latest or stable engine in environtment, these engine , dependencies used project : engine : zookeeper 3.4.9 hbase 1.2.3 hadoop 2.7.2 dependencies : librarydependencies ++= seq( "org.apache.hbase" % "hbase" % "1.2.3", "org.apache.hbase" % "hbase-server" % "1.2.3", "org.apache.hbase" % "hbase-protocol" % "1.2.3", "org.apache.hbase" % "hbase-common" % "1.2.3", "org.apache.hbase" % "hbase-client" % "1.2.3", "org.apache.hadoop" % "hadoop-core" % "1.2.1", "org.apache.hadoop" % "hadoop-common" % "2.7.2", "cascading" % "cascading-core" % "2.6.1", "cascading" % "cascading-local" % "2.6.1", ...

excel - Vlookup for textbox in the whole workbook -

i'm trying solve problem: i'm having table in sheet1, in column there'll names of several text boxes in workbook, in column b there'll values corresponding text boxes. string in column b exceeded 256 characters (probably >1000 characters) can't link text boxes corresponding cells formula. in short, want vlookup text boxes in whole workbook (with multiple sheets). possible? appreciated :d in advanced. sampledownload

windows - c# run apk file on android emulator -

we want run our android application on windows tablet thinking write application check android emulator running or not .apk installed or not. there other approach build application? my approach: (call command c# process class) start or launch android emulator waiting android emulator ready install or launch .apk android emulator

Where to download previous version of .net core sdk? -

we have project uses .net core sdk 1.0.0-preview2-003121 . currently, i'm setting ci server automatic builds. in server, i'm getting error because .net core sdk installed not same 1 in project. error preview2-003121 not installed or cannot found under path c:\program files\dotnet. i did command line check dotnet --version , gave me 1.0.0-preview2-003131 where can download older versions of .net core sdk? have tried following links , give me latest version download https://github.com/dotnet/cli https://www.microsoft.com/net/core#windows this article explains how install correct .net core version. hth. http://blog.stephencleary.com/2016/06/dotnet-netcore-versions.html i able away following download https://dotnetcli.blob.core.windows.net/dotnet/preview/binaries/1.0.0-preview2-003121/dotnet-dev-win-x64.1.0.0-preview2-003121.zip copy 1.0.0-preview2-003121 directory inside dotnet-dev-win-x64.1.0.0-preview2-003121.zip\sdk paste in c:\program files...

regex - replace as raw string in python -

this question has answer here: escaping regex string in python 3 answers just minor query. new python. replacing string content as: re.sub(all, val, parseddata['outdata']) where all contains round braces, , might contain other characters. >>> print picdspvers="dspfw:1.0008(1.0008),fpga1:2.0925(2.0925),fpga2:1.0404(1.0404),mcu:1.0000(1.0000)" because of matching fails. pattern coming interface, don't wanna put \ in data. i tried 'r' , re.u option also, still match fails. re.search('picdspvers="dspfw:1.0008(1.0008)',parseddata['outdata']) how can direct python treat matching pattern string. fyi, using python2.x if don't want matching pattern treated regular expression, don't use re.sub . plain strings, use str.replace() , so: new_outdata = parseddata['outdata'].repla...