RxJava data flow with SqlBrite and Retrofit
Vote count: 0 In my Android app I am using domain level Repository interface, which is backed with local DB implemented using SqlBrite and network api with Retrofit observables. So I have method getDomains(): Observable<List<Domain>> in Repository and two corresponding methods in my Retrofit and Sql...
Bash can't find my own fortune cookie file
Vote count: 0 I installed fortunes-min and I run various fortunes (like fortune food etc.) and it works fine. What I want is to create my own fortune and be able to run it. I created my somefortune.dat file add there some informations separated with "%" sign and it tells me: No fortunes found. What ...
How to call a function palced in another in matlab
Vote count: 0 I've a huge project made in Matlab, it has 15-18 script files. It is becoming very challenging to understand the whole code. I was thinking if I can put some scripts in another folder, It will become very straightforward to understand and maintain the code. Is it possible to do that. C...
airflow get result after executing an operator
Vote count: 0 I have configured airflow and created some Dags and subDags that call several operators. My trouble is that when an operators runs and finishes the job, I'd like to receive the results back in some python structure. For instance: from airflow import DAG from airflow.operators import Hi...
Is there an Angular2 view updated lifecycle hook?
Vote count: 0 I have a child component, receiving data from its parent and displaying text in a div. It is possible the parent sends undefined as data. When it does the div is supposed to transition its height to 0, which I do via css transition. As I don't know the length of the text, the div's hei...
Swift iOS: Check contacts using app
Vote count: 0 One of the features in the app I am developing is ability to see who in your phonebook is using app. Usually this requires uploading the list of contacts, checking against numbers registered in service, then showing them in table view. To do the upload part and checking, I am not sure ...
retreive image from MySQL database and display in excel
Vote count: 0 have the following situation that I can't figure out. In MySQL I have a database with 2 columns :"code"(integer) and "imag"(longblob) with images. Is there a way to see the images from the mysql db in excel? I tried with ODBC co ection but it only brings the "code" column. Thank you! a...
Slow IIS on local Windows 10 PC
Vote count: 0 I've been ru ing IIS over the years, on Windows 2000, Windows XP and Windows 7. Since I moved to Windows 10, I've been having lots of problems with IIS ru ing slowly. I have a clean install of Windows 10 on my PC, not a previous Win7 version upgraded to Windows 10. These are the versio...
Rails query changes the time
Vote count: 0 <% date = Time.now.begi ing_of_day %> <%= date %> prints 2016-06-01 00:00:00 +0600 <% schedule = Schedule.where(:date_ => date).first %> <%= date %> prints 2016-05-31 18:00:00 UTC 2016-06-01 00:00:00 +0600 2016-05-31 18:00:00 UTC Using mongoid date_ is Time field My local timezone is U...
Real toggle button between different controllers (Angular JS)
Vote count: 0 I want to create a simple button that toggle between two divs as follow: <div ng-controller="A"> </div> <div ng-controller="B"> </div> Being "A" my main controller, the one that I want to display first. If I suppose that my button is in "A", I could hide my "A" div and show my "B" div,...
Javascript onchange event not working.
Vote count: 0 I did this code up trying to hide a select input field until the check box is checked. It works but when the page first loads these are all visible. I need them invisible until the check box is filled in. If I load the page then click the checkbox and then uncheck the check box the obj...
Onedrive file adress
Vote count: 0 Maybe a little odd question but, When I open a Excel file located on "onedrive" using my browser but open it in Excel2013 (not excel on-line) the below formula replies the actual web address of the file. =SUBSTITUTE(LEFT(CELL("filename"),FIND("]",CELL("filename"))-1),"[","") gives http...