Start map with current location
Vote count: 0 I want the map in this application to start with the current location of the user but it keeps starting with the default location being the location with latitude = 0 and longitude = 0. It also doesn't work when I walk around with phone in hand.. This is my code: import android.content...
Azure AD Connect -
Vote count: 0 When I set up Azure AD Co ect, I initially set the single sign on method to Password Synchronization. This syncs users passwords from the on-premises AD to the cloud (O365). This worked fine and users can log into Office 365 (https://login.microsoftonline.com) with their domain passwor...
UWP Background Task is not executing
Vote count: 0 I am new to uwp and I am trying to lea how to make a background task. I tried to follow the instruction I have found online but ca ot seem to get it working. I am not getting an explicit error but my background task is not writing to the debug console. Any help would greatly be appreci...
MVC 5 - VS Community 2015 - Routing not working?
Vote count: 0 It has to be something simple that I'm missing, since this is my first try on MVC. Seems nothing works but the default route. This were my steps: Create new solution from an MVC5 template (Which comes with a HomeController and a Controller/Action/Id by default on the RouterConfig.Confi...
Aurelia, navigate is not updating vieport
Vote count: 0 This worked, and then I migrated to webpack, and now it doesn't. It's worth noting the content shows up if I refresh the route in the browser. this is my app.html when I change from one view to another nav is supposed to update <template> <header> <nav class="navbar navbar-default"> <d...
Tissue specific expression heatmap in R
Vote count: 0 I have the tissue specific gene expression data. Although I can generate the heatmap for them but I don't how to arrange like this https://openi.nlm.nih.gov/imgs/512/210/3118787/PMC3118787_1471-2164-12-252-4.png Where tissue specific genes are clustered together and come in step wise m...
Can't get debugging work on phpStorm 2016.2.1 with Xdebug
Vote count: 0 I have installed phpStorm 2016.2.1 (EAP) and everything should be working fine but sadly debugging is not working for me. I have tried zero-configuration from here without success :( Useful information: I have a VM ru ing CentOS 7 where I have the LAMP environment. The /var/www/html/pl...
Javascript ordered list and content
Vote count: 0 So my problem is about creating new element in ordered list with exact content. I have this homework and I am studying JS only for a couple of days. I have to make an ordered list and a button ADD ITEM. When I click the button it must create a new element in the ordered list with next ...
Download files asynchronously
Vote count: 0 I was trying to make a script that downloads all images or videos from a thread in my favourite imageboard: 2ch.hkI was successful until I wanted to download these files asynchronously (for example, to improve performance)Here is the code http://ideone.com/k2l4Hm file = http.get(source...
How to get value of the Bootstrap switch when it is off?
Vote count: 0 Code in JSP File $("[name='abcdchkbox']").bootstrapSwitch(); $("[name='abcdchkbox']").bootstrapSwitch.defaults.size='medium'; $("[name='abcdchkbox']").bootstrapSwitch.defaults.onColor='success'; $("[name='abcdchkbox']").bootstrapSwitch.defaults.onText='Present'; $("[name='abcdchkbox']"...
Comunication between JS and JavaFX after reload
Vote count: 0 I want to call javafx functions from javascript on my HTML. I do the following (and it works correctly): JSObject win = (JSObject) webEngine.executeScript("window"); win.setMember("app", new MyController(this.webEngine)); URL url = getClass().getResource("page1.html"); this.webEngine.l...
Redirect with .htaccess not working correctly
Vote count: 0 I've Wordpress site with WPML installed. I've done 2 things recently: This is done to improve SEO. However while I got that working without much problem using: # BEGIN HTTPS <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ #RewriteCond %{HTTPS} !^on$ #RewriteRu...