routing is not working with angular js
Vote count: 0 As a part of lea ing process, I am roaming around angular js routing concepts.. for this I created one i er folder inside app with two sample test html pages .. when i run the app it should load first page from that folder but it does not not happening .. I am not sure where i have don...
Database table not created in Moto G3 device
Vote count: -1 I have a DB with 5 tables, and all of them are created in all the devices I tested, but in Moto G3 device the unique one isn't created and I can't find the answer. The other 4 tables are created correctly. In all the others devices this table is created without problems and I'm able t...
Event checking if message (post) is read/unread
Vote count: 0 I'm curious is there a way in javascript/jquery or php to check if a message/post is read/unread by the user; or has the message box site changed ? I'm thinking about implementing notifications system similar to facebook one - so that any new post/message will add to the title a number...
Spark streaming job scheduling controlling window?
Vote count: 0 I have a problem where in spark streaming i am only conce ed about last 1 minute so I have written my code accordingly Now sometime due to various resource my scheduled batched got piled up like this INFO JobScheduler: Added jobs for time 1470046240000 ms INFO JobScheduler: Added jobs ...
MySQL: Case Query within a Case Query?
Vote count: 0 I have a query that gets unit count and it tagging if completed or not. SELECT distinct location, case when id is NULL then 'Not Started' when '1' then 'Completed' else 'In Progress' end as Remarks, count(name) as CountName FROM table group by location, case when id is NULL then 'Not S...
Separate cookie storage for two UIWebView
Vote count: 0 I want to login many accounts of same site in different webView. For example i have Tab Bar Controller That contains three View Controllers and each View Controllers contain webView. And for example i embed stackoverflow url for webView in every class. How user can login to different a...
Swift Get Every Frame From Camera and Modify With CIImage
Vote count: 0 I have seen many tutorials that show how to place the live camera image on the screen, but I want to modify the images with a CIImage. I have taken a look at this, but couldn't find out if that would work. I am assuming that to do this, I need to take every frame, modify it, and then p...
MongoDb group sum by month unable to execute aggregate
Vote count: 0 I have an aggregation script which at the last stage results in the following output. I now want to group and sum by account category but it's telling me that I am somehow trying to convert from BSON type EOO to Date - which I ca ot see in my code anywhere. { "_id" : { "party_uuid" : "...
access yahoo finance data with oauth
Vote count: 0 I'm trying to access yahoo finance data via oauth so I can make more requests. I got a php library to do this: https://github.com/isaacs/authentipede Unfortunately, I can't seem to get permission. Here is my code: <?php echo '<p>HEY IM GREG</p>'; $ff = 'abocym6j4p6'; $my_var = file_get...
JavaScript function not returning variable
Vote count: 0 I'm trying to get the ID of a signed in user in Google Chrome using a separate function, however the gaiaId variable always seems to be 'undefined' even though userId contains the ID (I checked). How do I retu the id from the function that's called? function getGaia(){ chrome.identity....
Can't get pivot table to work from 2 tables
Vote count: 0 Below is an example excel that I can't get to work correctly. I have 2 different sets of data in 2 different tables each. One set of data I made from scratch and successfully made a Pivot table (from 2 tables) that shows the information in the way I want it to. The other Pivot table th...
Ionic2: platform.is() response is undefined
Vote count: 0 I'm using the native Bluetooth serial library and trying to mock data for testing in the browser. By experimentation (and a little reading) it seems that the way to do this is to check for the 'cordova' platform: export class BluetoothServiceWrapper implements OnDestroy, OnChanges { .....
Rails 4 - routes and paths
Vote count: 0 I am trying to lea how to use routes and paths in Rails 4. I have a model called organisation requests. I have routes in by routes.rb as follows: resources :organisation_requests do #, only: [ :index, :new, :create ] member do put "requested" => "organisation_requests#requested", as: :...
Passing SQLContext between classes
Vote count: 0 I have a main class in a file which creates a sqlContext object. However, I have numerous classes which utilize sqlContext, yet I can't find a good way to pass it between classes. The main issue is that I need to call import sqlContext.implicits._, and I ca ot put this import statement...
How to forward ports in twisted
Vote count: 0 I made an https web app using twisted on port 9000, and to deploy it, I want to forward ports 443 and 80 to port 9000. How should I do ? I don't want to run it with sudo on port 443 directly, because it will not access environment variables asked 25 secs agoMostafa Let's block ads! (Wh...