Posts

Showing posts from June, 2010

New website on https, do I need to set up redirect? -

we have e-commerce website in 4 languages running on ourbrand.com, ourbrand.de, ourbrand.fr etc. 3 of running on http , last 1 ready launch on https. trying figure out if , how need set htaccess redirect. there no history of running new website on http (so no need redirect existing http traffic), sure people type ourbrand.it or www.ourbrand.it directly browser's address bar. far know, browser default http://ourbrand.it right? need set redirect https? one? 301? thank you. yes, because said, if visitors type ourbrand.it browser default http://ourbrand.it the best thing 301 (permamant) redirect. if want improve security , avoid first redirect, should hsts , hsts preload.

reporting services - SSRS hyperlink to report prompting for values -

i have main report using register report in hyperlink. so whenever user clicks on register hyperlink should show particular register displayed in report. register report using 2 parameters - year , register when click on register in main report prompts me select register dropdown list instead of showing data directly. what can done avoid this? if both reports in same project, can use drillthrough action. this'll let create link between 2 without needing construct url. in properties of object, under action , choose go report . let select should used each parameter, either static values or data. https://msdn.microsoft.com/en-us/library/dd207031(v=sql.105).aspx if they're in separate locations, can add parameter @ end of url you're using. point report server of register report, , add &param_name:param_value end each parameter. https://msdn.microsoft.com/en-gb/library/ms155391(v=sql.105).aspx

javascript - JSLint - ignoring folder when building in Visual Studio 2015 -

i want implement javascript code , style checking jslint . installed jslint.net visual studio . now want exclude javascript files included external libraries datatables , jquery , .. own minified files need excluded. my project configurations added in jslintnet.json file: { "version": "2.2.0", "output": "error", "ignore": [ "\\scripts\\angular-datatables\\plugins\\tabletools\\", "\\scripts\\angular-datatables\\plugins\\fixedcolumns\\angular-datatables.fixedcolumns.js", "\\scripts\\angular-datatables\\plugins\\fixedcolumns\\angular-datatables.fixedcolumns.min.js" ], "options": {}, "globalvariables": [], "runonbuild": true } whatever path provide here, folder or file. code analysis still keeps running. important can ignore files/ folder jslint practical. how can solve ignoring of folders , files, perhaps extensions. i have had pr...

angularjs - Nested ng-repeat Issue to open list of rows with in the row -

i want open list of items @ time of respective repeated row, here plunker http://embed.plnkr.co/ombl2czm9frbeviequyd/ please me out. here object: $scope.names=[ {no:'1', name:'jani', country:'norway', cities:[{city:'a1'},city:'a2'},{city: 'a3'}]}, {no:'2', name:'hege',country:'sweden', cities:[{city:'b1'},{city:'b2'}, {city: 'b3'}]}, {no:'3', name:'kai',country:'denmark', cities:[{city:'c1'},{city:'c2'}, {city: 'c3'}]}]; here html : <table> <tbody ng-repeat="name in names"> <tr > <td> {{name.no}} </td> <td> {{name.name}} </td> <td>{{name.country}}</td> ...

javascript - Convert array to string in AngularJS -

im trying convert array of strings, single string. made quick plunker of need in basic terms: https://plnkr.co/edit/t2kezj8yotdo2kxdquzd?p=preview in app im working on need use 2 different controllers , created factory controllers share data, set example that. here function trying use loop array , add scope variable, cherrypick being array: cherryctrl.cherrypick = cherrypick.list; cherryctrl.string = cherryctrl.output; cherryctrl.runstring = function createstring(array) { angular.foreach(cherryctrl.cherrypick, function (object) { angular.foreach(object, function (value, key) { cherryctrl.output += value + ' '; console.log(cherryctrl.output); }); }); return cherryctrl.output; } the console output gives: undefinedhello world undefinedhello world object:5 undefinedhello world object:5 goodbye world undefinedhello world object:5 goodbye world object:8 which confusing. i took idea loop here: ...

arrays - Alternative to designated initializers in C++ -

the style of code using designated initializers below belongs c language int widths[] = { [0] = 1, [10] = 2, [100] = 3 }; i know, there way write such simple code in c++? in c++ have write int widths[101] = { 1 }; widths[10] = 2; widths[100] = 3;

c# - Inherited DataContext - bindings not working -

following situation: got base class provides little framework making modal dialogs adorner. the base class has property of type datatemplate contains actual input scheme (all kinds of input possible) object property contains mapping model (a model class template binds it's input values). because want reuse adorner, made have contentcontrol anon has contenttemplate actual dialog design. dialog's design contains contentcontrol template bound property in adorner class. datacontext of adorner's contentcontrol set itself, of course. now embedded contentcontrol (in design) generates datatemplate , displays (in current case) textbox. textbox should bound model. therefore reused datacontext of adorner design template actual input template. here's how i've done it: the adorner's controltemplate <border grid.row="0" background="{dynamicresour...

Android : what category of intent filter should i use -

in second , third activity, in intent filter should use in category.in second activity used default after making third activity not know category should use. first android app trying make.please me,which categoty should use in second , third activity. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="csimplifyit.mobileapp.myschool"> <!-- auto-complete email text field in login form user's emails --> <uses-permission android:name="android.permission.get_accounts" /> <uses-permission android:name="android.permission.read_profile" /> <uses-permission android:name="android.permission.read_contacts" /> <!-- json call --> <uses-permission android:name="android.permission.internet" /> <application android:allowbackup="true" android:icon="@mipmap/login" a...

c# - How can I define mathematical constants without typing out the number? -

i need use square root of two, 1.414..., in loop. obviously, don't want call function math.sqrt(2) time. sure, it's single instruction on modern processors, , jit or compiler figure out what's going on, want code clear, readable, , fast. because want code clear , readable, i'd prefer define constant calling sqrt2 = math.sqrt(2) instead of typing in magic number sqrt2 = 1.4142135623731d . finally, because value constant, want declare const keyword. when write: const double sqrt2 = math.sqrt(2); // const double sqrt2 = 1.4142135623731d; the compiler complains: error 1 expression being assigned 'sqrt2' must constant how best define value? math.sqrt method call, cannot assigned compile-time constant. can assign run-time constant : static readonly double sqrt2 = math.sqrt(2);

java - Checking Database Server/Client User -

i have java application has server , client user. want know if there's way notify server or client user updated table. example client has updated field in database, in server user, table must updated automatically.(no refresh needed) thinking of using timer think lag application. using jetbrains , java swing app. i suggest consider using "observer" design pattern, can start reading here .

string - Systemverilog: Is there a way to make signal unique in macro instantiating a module? -

i have macro this: `define bob_stage(_bus_in, _bus_out) \ bob_module auto_``_bus_out``_bob_module ( .bus_in(_bus_in), .bus_out(_bus_out) ); (notice _bus_out becomes part of instance name make unique instances.) so these used on place , take concatenated signals in 1 signal out, out signal indexed. example use: `bob_stage( {a,b,c,d}, out[1] ); the problem both concat {} , index [] mess automatic assignment in module instance name. i want solve without adding input signal name , without temporary signals on outside of macro. is there way convert output signal name index unique string... such $sformatf , replace index brackets underscores? or there other way uniqify signal name keep legal? atoi() make unique number based off signal name? you can escape name allow symbols in identifier `define bob_stage(_bus_in, _bus_out) \ bob_module \auto_``_bus_out``_bob_module ( .bus_in(_bus_in), .bus_out(_bus_out) ); `bob_stage( {a,b,c,d}, out[1] ); will becom...

jquery - Need help got stuck in javascript date picker -

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jquery ui datepicker - default functionality</title> <link rel="stylesheet" href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <script> var d = "02-12-2016"; $(function () { $("#datepicker").datepicker({ mindate: d, dateformat: 'mm-dd-yy'; }); }); </script> </head> <body> <p>date: <input type="text" id="datepicker"> <input type="text" id="final"></p> </body> </html> hello friends using v...

javascript - AngularJS request model before another model create [NodeJS] -

i trying create simple webapp on mean stack. i want create offer belongs exposition, don't know how request exposition before call createoffer. here code $stateprovider .state('offer', { url: "/exposition/:expid/offer/", templateurl: 'app/exposition/listoffers.tpl.html', controller: 'offerscontroller' }) .state('offercreate', { url: "/exposition/:expid/offer/create/", templateurl: 'app/exposition/createoffer.tpl.html', controller: 'offerscontroller' }) .state('offerview', { url: "/exposition/:expid/offer/:id/", templateurl: 'app/exposition/detailsoffer.tpl.html', controller: 'offerscontroller' }); and controller offerapp.controller('offerscontroller', ['$scope', '$resource', '$state', '$location', 'offerupdateservice', 'upload', function ($scope, $resource, $sta...

Execute multiple owl carousel on one page with php -

i have owl carousel in 1 section pulls images php code. <?php $count = get_option( 'posts_per_page' ); the_widget( 'post_widget1', 'count='.$count.'&orderby=date' ); ?> i trying display carousel using same code again little different settings set in post_widget2 code looks like: <section class="vbox"> <section class="scrollable padder-lg"> <h4>new</h4><hr /> <?php $count = get_option( 'posts_per_page' ); the_widget( 'post_widget1', 'count='.$count.'&orderby=name' ); ?> </section> </section> <section class="vbox"> <section class="scrollable padder-lg"> <h4>new</h4><hr /> <?php $count = get_option( 'posts_per_page' ); the_widget( 'post_widget2', 'count='.$count.'&orderby=date' ); ?> </section> </section> <script sr...

Python/Keras/Neural Networks - Basics to make it run -

i'm beginner working keras make predictions. understand concept , theory behind it. i'm having hard time make run. @ stage i'm not worried efficiency of it, want run , see output can evolve later. i have dummy pandas dataframe i'm using predictor_train (x): value 1lag 2lag 3lag 4lag... date 2005-04-01 231.721933 165.195418 170.418903 225.892387 206.282539 2005-05-01 163.259812 231.721933 165.195418 170.418903 225.892387 2005-06-01 211.649963 163.259812 231.721933 165.195418 170.418903 2005-07-01 249.054951 211.649963 163.259812 231.721933 165.195418 2005-08-01 168.657539 249.054951 211.649963 163.259812 231.721933 2005-09-01 179.623448 168.657539 249.054951 211.649963 163.259812 2005-10-01 228.437842 179.623448 168.657539 249.054951 211.649963 2005-11-01 165.805266 228.437842 179.623448 168....

ruby - How to access instance variable of a module from abother module? -

i have module module somemodule @param = 'hello' end module reporter include somemodule def self.put puts @param end end when call reporter::put no output, suppose reporter module has no access instance variable @param . there way access variable reporter module? instance variables called instance variables, because belong objects (aka "instances"). there 2 objects in example: somemodule , reporter . both have own instance variables. somemodule has instance variable named @param , reporter has instance variable named @param . 2 instance variables unrelated, though have same name. imagine chaos, if every object had come own names instance variables! is there way access variable reporter module? no. cannot access instance variables different objects. object has access own instance variables. [note: is possible using reflection (e.g. object#instance_variable_get , basicobject#instance_eval , or basicobject#instance_exec...

Delphi - Checking length using pos -

i'm using code article: how convert numbers (currency) words i can't seem understand how following code works exactly. try sintvalue := formatfloat('#,###', trunc(abs(number))); sdecvalue := copy(formatfloat('.#########', frac(abs(number))), 2); if (pos('e', sintvalue) > 0) // if number big begin result := 'error:'; exit; end; except result := 'error:'; exit; end; how checking if number big using pos() function? why searching e in integer ? make no sense me. apprecaite explanation (the code works fine, want understand why , how). the code checking use of scientific notation . write number 1000 '1e3' . the code faintly ridiculous though. hard know why author did not use > comparison operator.

apache - htaccess url rewrites not working as expected -

hi have been trying work out how use htaccess clean urls contain parameters , values from www.bobbyskennel.co.uk/contact/index.php?page=site-map-page or www.bobbyskennel.co.uk/contact/?page=site-map-page to www.bobbyskennel.co.uk/contact/site-map-page so far have created .htaccess file , added rules below options +followsymlinks rewriteengine on rewritecond %{script_filename} !-d rewritecond %{script_filename} !-f # contact directory sub pages rewriterule ^contact/([a-z­a-z­0-9­-]+)/?$ contact/index.php?page=$1 [l] # bobby directory sub pages rewriterule ^bobby/([a-z­a-z­0-9­-]+)/?$ bobby/index.php?page=$1 [l] # petgallery directory sub pages rewriterule ^petgallery/([a-z­a-z­0-9­-]+)/?$ petgallery/index.php?page=$1 [l] i have placed file in root of site @ localhost , tested , rewrites work when enter clean url navigate sub page site map , cookies , privacy policy pages. but when add slash end of url fail, yet ? character in regex pattern match expression supposed mean ...

Groovy/Grails unable to resolve class only @ run -

have groovy controller leveraging java ssh package (jsch) no issues in ide (jar added library, import works, calls against class pass) failure on run-app: unable resolve class jsch @ ... : jsch jsch = new jsch() i use same code in java without issues sftp application , won't instantiate initial object less concerned rest of code. i've tried mucking dependency mgmt , refreshing no success. i guess question @ hand why class fail resolve @ run when there no obvious issues implementation? yeah... grails doesn't give damn jars add ide. grails uses maven resolve dependencies. next steps the first thing remove jsch jar. then, add following maven artifact project: com.jcraft:jsch:0.1.53 of course, adjust version number needed. how added grails depends on version of grails you're using. grails 3 add following dependencies closure in build.gradle : compile 'com.jcraft:jsch:0.1.53' grails 2.4 for grails 2.4 (and maybe earlier versions, ...

Jasmine Testing Angular2 Components failing on @Component annotation -

Image
i have simple test i'm trying run through jasmine. here ts files. unit-test.html <html> <head> <title>1st jasmine tests</title> <link rel="stylesheet" href="../node_modules/jasmine-core/lib/jasmine-core/jasmine.css" /> <script src="../node_modules/systemjs/dist/system.src.js"></script> <script src="../node_modules/angular2/bundles/angular2.dev.js"></script> <script src="../node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script> <script src="../node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script> <script src="../node_modules/jasmine-core/lib/jasmine-core/boot.js"></script> <!--<script src="../node_modules/zone/lib/zone.js"></script>--> </head> <body> <script> // #2. configure systemjs use .js extensio...

excel - Automatically colour the absolute complete reference cell -

i have sheet 1 , sheet 2 . sheet 2 a2 has name of cities. have used absolute reference (i.e. =) link name of cities sheet 2 a2 sheet 1 a1. now trying whenever link cities' names sheet 2 a2 sheet 1 a1, want linked cities cell automatically turn red background colour. way can know city's name sheet 2 a2 has been linked sheet 1 a1. can please me on this. save lot of time in work you don't need vba. use conditional formatting: highlight list of countries in sheet2 from menu: conditional formatting > new rule > use formula... type formula in: =$a2:$a10=sheet1!$a$1 set format e.g. bold, red background... clearly adjust formula match cell references.

php - passing to model through controller in codeigniter? -

i want select option of product categories dropdown menu , show products have specific category. here form part my view : <?php $attributes = array('method'=>"post", "class" => "myc", "id" => "myc", "name" => "dropdwn"); echo form_open_multipart('frontend/home/display', $attributes); ?> <div class="form-group"> <div class="col-sm-9"> <select class="form-control" name="category" onchange="this.form.submit();" /> <option value="" <?php echo set_select('category', 'zero', true); ?>>categories...</option> <option value="phone" >phones</option> <option value="laptops...

sql - MySQL: bulk updating in table -

i'm using mysql 5.6 , have issue. i'm trying improve bulk update strategy case. i have table, called reserved_ids , provided external company, assign unique ids invoices. there no other way make this; can't use auto_increment fields or simulated sequences. i have pl pseudocode make assignment: start transaction; open invoice_cursor; read_loop: loop fetch invoice_cursor internalid; if done leave read_loop; end if; select min(secuencial) v_secuencial reserved_ids country_code = p_country_id , invoice_type = p_invoice_type; delete reserved_ids secuencial = v_secuencial; update my_invoice set reserved_id = v_secuencial invoice_id = internalid; end loop read_loop; close invoice_cursor; commit; so, it's take 1 - remove - assign, take next - remove - assign... , on. this works, it's very slow. don't know if there approach make assignment in faster way. i'm looking insert select... , update stat...

Android Google Sign In fails with error code 8 (no message) -

i trying integrate google sign in application, errors cannot understand. i have configured according tutorial here , not authenticate me. presented login panel shows accounts, , login activity onactivityresult fires, when looking googlesigninresult, have status statuscode 8 , no message. it seems related this , bit confusing. any idea ? check out answer question: an internal_error (8) occurred when requestemail googlesigninoptions on android if error code 8 ( internal_error ), please double check app registration in dev console. note every registered android client uniquely identified (package name, android signing certificate sha-1) pair. if have multiple package names / signing certificate debug , production environments, make sure register every pair of them. verify: open credentials page , select project make sure every pair has android typed oauth 2.0 client ids. create new oauth 2.0 client id android client, select new credentials -> oauth2 client...

javascript - Express app.get() equivalent in CasperJS -

i have built simple web scraper scrapes website , outputs data need when visit url - localhost:3434/page . implemented functionality using express app.get() method. i have following questions, 1) want know if there way implement functionality in casperjs. 2) there way make code start scraping after visit url - localhost:8081/scrape . don't think creating endpoint correctly because starting scrape before visit url 3) when visit url gives me error saying url not available. i think of these problems solved if can set end point correctly localhost:3434/page in casperjs. don't need results appear on page. need start scraping when visit url. below code developed scrape website , create server in casper. var server = require('webserver').create(); var service = server.listen(3434, function(request, response) { var casper = require('casper').create({ loglevel:"verbose", debug:true }); var links; var name; var p...

java - Get sum and average of Array -

i'm making a program class. far have 1-3 done cant figure how implement 4 , 5. have been stuck on awhile. there 2 classes must used. how many bank accounts in bank 2) make new array hold specified number of bankaccounts 3) in loop, ask user bank account number , balance, construct bankaccount object account number , balance, , put new bankaccount object in array 4) after user has entered bank accounts, use loop (or each loop) compute total balance of accounts in array 5) print computed total balance of accounts , average balance. package hw2; import java.util.scanner; import java.util.arraylist; public class bankarraytester { public static void main(string[] args){ scanner in = new scanner(system.in); system.out.println("please enter number bank accounts:"); int accounts= in.nextint(); bankaccount [] accountinfo = new bankaccount [accounts]; int c=0; while(c<accounts){ c++; system.out.println(...

ember.js - How do I set an Ember query-parameter on the first transition? -

this follow-on #35192211 i have query-param, 'locale' . when user first loads application, if haven't specified ?locale=... , i'd detect 1 , set query-parameter. (this way, if share url, others see they're seeing. if think bad idea locales, imagine contextual query parameter account .) so, if user navigates directly /foo/bar?locale=es , stay there. if navigate /foo/bar , url switches /foo/bar?locale=en , renders foo page. attempt 1 beforemodel(transition) { if (transition.queryparams.locale == null) { return this.transitionto({ queryparams: { locale: 'en' } }); } } this nothing. @ end of transition, url has no ?locale=en . attempt 2 beforemodel(transition) { if (transition.queryparams.locale == null) { this.send('switchlocale', 'en'); } }, actions: { switchlocale(locale) { this.controllerfor('application').set('locale', locale); this.refresh(); } } this throws following exceptio...

android - Exclude sub package while defining dependency on AAR file -

i adding dependency (aar file - core-project.aar ) in libs. structure of classes.jar in core-project.aar file - classes.jar -com - android.example - dummyclass - userclass - android.code - abc... i import aar repositories { flatdir { dirs 'libs' } } . . dependencies { compile (name:'core-project', ext:'aar') } i not want include com.android.example subpackage aar. please suggest how can avoid inclusion of subpackage aar.

javascript - How to remove, validate adding dynamic form element and add to MySQL database using jQuery AJAX? -

so, found solution on how dynamically add form element using jquery , implement it, , works smoothly. way, made gis web app provide precise resident location , information of place. , stuck on how manipulate adding of resident's information members database. my initial code: js $(document).ready(function() { $('#addrow').click(function() { $('<div/>', { 'class': 'extraperson', html: gethtml() }).hide().appendto('#container').slidedown('slow'); }); $(document).on('click', "#removerow", function() { var len = $('.extraperson').length; if (len <= -1) { $('.extraperson [name=firstname]').slideup('slow'); $('.extraperson [name=lastname]').slideup('slow'); $('.extraperson [name=gender]').slideup('slow'); $(this).fadeout('slow'); } else { $('.extraperson [name=firstname' + (len - 1) + ']').slide...

c# - WPF - How to make thickness be independent on scale? -

i draw shapes programmatically, via drawingcontext. , want shapes have fixed thickness independent on rendertransform's scale. can it? use drawgeometry method draw shapes geometries. apply transform transform property. var transform = new scaletransform(...); var ellipse = new ellipsegeometry(); ... ellipse.transform = transform; drawingcontext.drawgeometry(null, pen, ellipse); you can modify transform after drawing shapes.

Need only common nodes across multiple paths - Neo4j Cypher -

Image
smy cypher query finds common child nodes several starting nodes. each path has it's node id's extracted , returned resulting in hundreds of rows in each path. see p1 , p2 example (showing 3 rows , 2 start points). match p1=(n1:node{name:"x" })-[r:sub*]->(i)), p2=(n2:node{name:"y" })-[r:sub*]->(i)) return distinct i, extract(a in nodes(p1)| a.id) p1, extract(b in nodes(p2)| b.id) p2 ----results---- p1=1,4,3 p1=1,8,3 p1=1,8,9,3 p2=6,7,3 p2=6,5,9,3 p2=6,7,10,3 what intersect paths in cypher during query don't have after. in php iterate using: $result = array_intersect($p1,$p2); this return 9,3 above example because common nodes shared paths. there way in cypher don't have hundreds of rows returned? thanks! i believe meet needs. here picture of data under consideration. // match 2 different paths common ending match p1=(n1:node {name: 1 })-[:sub*]->(i) , p2=(n2:node {name: 6 })-[:sub*]->(i) // collect both set...

directx - Calculation failing in the compute shader. HLSL DX11 -

i'm new compute shaders , i've started implementation of 1 nbody simulation , i've come across problem can't solve on own. here's contained in compute file , entry point particlecomputeshader. dispatching 1 thread , creating 1024 in shader. there 1024 particles while debug , tweak each thread has it's own particle relate to. the problem seems distance != 0.0f , calculation related distance. before had check in returning position 1.qnan dividing 0 somewhere in code. thoughts on i'm incorrectly accessing structuredbuffer using j , it's screwing next few calculations. another note: position.w mass of particle. struct constantparticledata { float4 position; float4 velocity; }; struct particledata { float4 position; float4 velocity; }; namespace constants { float big_g = 6.674e-11f; float soften = 0.01f; } structuredbuffer<constantparticledata> inputconstantparticledata : register( t0 ); rwstructuredbuffer<p...

powershell - Add an IF into CSV filtering loop -

i've got following code , have been trying add if statement if item not found, write text notfound. $csv1 = import-csv d:\maintenancewindow2.csv $csv2 = import-csv d:\scomalerts.csv $csv1 | {$field = $_.computername;($csv2 | {$_.computername -eq $field})} -edit, here have doesn't seem pick every server. import-csv d:\2.csv | foreach-object { $table[$_.computername] = $_.'collection name'} $global:result = $alertdatanodupe | foreach-object { [pscustomobject] @{ server=$_.netbioscomputername maintenancewindow=if($table[$_.netbioscomputername]){$table[$_.netbioscomputername]} else{"not found!"} } -edit, adding sample data maintenancewindow2.csv: "computername","collection name" "server1","na - da servers - patching - cert - thu 2:00" "server2","na - da servers - patching - cert - thu 2:00" scomalerts.csv: computername server2 server3 the script ...

How do I ask the Vision API to apply multiple features on an image -

how call vision api , apply more 1 feature on image. want apply both label detection , landmark detection on image you can define request below incorporate multiple feature requests per image "requests":[ { "image":{ "content":"/9j/7qbeughvdg9zag9...image contents...fxnwzvdeeyxxxzj/coa6bax//z" }, "features":[ { "type":"face_detection", "maxresults":10 }, { "type":"label_detection", "maxresults":10 } ] } ] }

svn - subversion edge edit database directly -

i'm running subversion edge 5.1.0 trac 1.0.9 , ht password manager on redhat 7. have group of users outside our corporate network doing software development us. unable access admin gui change passwords. all corporate users ldap. trying solve issue our f5 firewall sending requests gui. gui rewriting (i think) url , requests end on port 80 instead of 3343 . in meantime i've installed ht password manager runs on port 80 , lets external users change passwords updating svn_auth_file . i've discovered admin gui maintaining own password file in csvn-production-hsqldb.script . i've updated script manually sync passwords script file gets regenerated original passwords when csvn restarted. also, gui doesn't recognize changes make csvn-production-hsqldb.script . information must kept in binary file somewhere (guessing). has no effect on svn users can use new passwords check in/check out code. there way update database directly? it's not showstopper since ...

teamcity - Generated apk without Android Studio -

i need generate apk when tests passed in teamcity, need without android studio because teamcity installed in machine. welcome, thanks i set build step gradle where: gradle task: assembledebug working directory: path project gradle home path: c:/gradle-2.8 jdk: default (i have set java_home environment variable ) now, when run build fails, in build logs shows [step 1/5] starting: c:\gradle-2.8\bin\gradle.bat --init-script c:\buildagent1\plugins\gradle-runner\scripts\init.gradle -d -s gradle assembledebug [14:56:35][step 1/5] in directory: c:\buildagent1\work\45bc198e86ccc58\integracioncontinua\android\buildertodo [14:56:36][step 1/5] 14:56:36.222 [debug] [org.gradle.internal.nativeintegration.services.nativeservices] native-platform posix files not available. continuing fallback. [14:56:37][step 1/5] 14:56:37.089 [info] [org.gradle.buildlogger] starting build [14:56:37][step 1/5] 14:56:37.092 [debug] [org.gradle.buildlogger] gradle user home: c:\windows\system32\config\sy...