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 to insert and execute querys on it. asked 33 secs agoVurtne Let's block ads!...
ادامه مطلبVote count: 0 I have an image (not container) which has the data baked in at /store. The image does not do anything else, it is only a vessel for holding the data in. I want to create a docker-compose file so that my nginx container has access to everything in /store at /usr/share/nginx/html Do I need to make an intermediary container first? I am not sure how the docker-compose file would look. thanks asked 7 secs agouser3231690 Let's block ads!...
ادامه مطلبVote count: 0 Thank you for your help so far! I was able to successfully build my webservice and NVD3.js stacked area chart. However, I have been struggling without any success in passing json data from my webservice into my NVD3.js graph. On my webform, I select two dates for an interval and click a "go" button. I feel that it is something obvious that I am missing. If not possible, is there a way of saving the json data retued from my webservice into a regular file (e.g. myFile.json), so that ...
ادامه مطلبVote count: 0 I was importing a old project written on api-level 17(android 4.2), but this problem is not solving anyway. I have searched whole inteet but couldn't find this particular error. It is showing- "Caot resolve symbol 'Database'". Please help me out. Here is the code of the file AddFriends.java package com.flocater; import com.flocator.R; import android.app.Activity; import android.content.ContentValues; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import an...
ادامه مطلبVote count: 0 I'm using the omniauth-facebook gem with devise to set up Facebook login on my website. I'm at the point of importing Facebook user data into my database, but I'm having some weird issues. Here's my method used to import the data: #User.rb def self.from_omniauth(auth) where(provider: auth.provider, uid: auth.uid).first_or_create do |member| user.email = auth.info.email.to_s user.password = Devise.friendly_token[0,20] user.useame = auth.info.name end end The record I get back has a ...
ادامه مطلبVote count: 0 I am trying to communicating Siemens S7 1200 PLC with visual c++ . I am able to write data to the plc and make an output from plc using 'UpdateData(true)' function. But i want to read a data from the plc on pressing a push button. Any help would be gratrful Thanks asked 2 mins agoVijin Let's block ads!...
ادامه مطلبVote count: 0 I'm trying to retrieve data into labels dynamically. Meaning to say the label will change as i change the DropDownList selected item. Is it possible? aspx: aspx.cs: //page load box retrieve SqlCoection myCoect2 = new SqlCoection(_coStr); string strCommandText2 = "SELECT Card_Type, Card_Type2, Card_Number, Card_Number2, Name_On_Card, Name_On_Card2, Expired_Date, Expired_Date2 From Card_Details where Card_Id = @Card_Id"; myCoect2.Open(); SqlCommand cmd2 = new SqlCommand(strCommandTex...
ادامه مطلبVote count: 0 I have JSON like this { "cars":[ { "id":"012", "model":"honda", "parts":[ { "id":"p1", "name":"tyre", }, { "id":"p2", "name":"muffler", } ] }, { "id":"022", "model":"vw", "parts":[ ] } ] } I am new to AngularJS and I have 2 dropdowns, dropdown1 showing car models like: DROPDOWN1 honda vw and dropdown 2 that is supposed to be loaded with parts for selected car model in dropdown1. For example, if I select "honda" in dropdown1, dropdown2 should be loaded with: DROPDOWN2 tyre muffler I...
ادامه مطلبVote count: 0 I have a very high-level, generic question related to the retrieval of data with an API, the storage of that data, and the ability to report off of the data. My background is primarily on the database side with a specific focus on reporting out of Crystal. That being said, I'm fairly green when it comes to APIs, SDKs, .NET, and Visual Studio, so feel free to respond as if I'm 5. I've attached a quick mock-up of the application architecture for context. The vendor we're working with...
ادامه مطلبVote count: 0 i know this is duplicate question.i had been gone through many links regarding this.but i m pretty new to wpf and MVVM so i found it difficult to understand.can anyone help me to find simplest way to crete treevview from database using mvvm in wpf.this is my static treeview now. I want to feel it from database.i have created table like this please suggest me any good article or sample code to do it in very easy and understandable maer..please.. edited just nowH.B. asked 1 min agoNe...
ادامه مطلبVote count: 0 I have a very large database with a unique form_id key and a lot of other information. Some how some of the evaluations got put into the database with a space in front of the supervisor_name (i.e. 'test test' vs ' test test') so it is messing up search results of the same supervisor into two categories (still investigating how my form allowed this). What would be the MYSQL to update these thousands of forms. I know I would need to start with pulling all of the form ids then go thro...
ادامه مطلبVote count: 0 I have some code for retrieving data from Firebase Data that looks like the following. However this doesnt seem to work for me. I have more code to do other stuff. With this code added, I seem to be hitting an issue. Any ideas ? (function(){ var app = angular.module('test', [ 'firebase' ]); app.controller('TestController', ['$http', '$scope','$firebaseArray', '$firebaseObject', '$firebaseAuth', function($http, $scope, $firebaseArray, $firebaseObject, $firebaseAuth) { //trying to ge...
ادامه مطلبVote count: 0 When I was monitoring the backup process in MS-SQL 2008 R2, I saw the single database, say A, is handled by both SQL backup Job and TDP in the same time. When I tried to query Sys.sysprocess, I found the HEAD-block from TDP was blocking the process from SQL backup Job. For example, SPID 100 (TDP) is backing up database A. Then, SPID 65 (SQL backup Job) is backing up database A. select * from sys.sysprocess where spid > 50 and status 'sleeping' The results expressed that SPID 100 is...
ادامه مطلبVote count: 0 I have take the page.php page and i have created a new template page named mytemplatepage.php The page mytemplatepage.php works normally untill i try to add an sql query. when i add the bellow code the page gives http 500 error. if i remove the code and just leave the page load normally. if i put an echo on the php code the page again crashes with http 500 error asked 51 secs agouser2340890 Let's block ads!...
ادامه مطلبVote count: 0 I'm a newbie in Augmented Reality trying to create an indoor navigation application with Tango Project and Rajawali Engine. I'm struggling in this point as follows: - Adding a ADF file to Android Studio - Loading the ADF file within Android Studio, extracting the data from ADF file and draw to the Camera surface like this: This is an example Thank you for your help. I hope to receive an answer in details. asked 43 secs agoNam Doan Let's block ads!...
ادامه مطلبVote count: 0 I have a dashboard which contains many formulas that change depending on the value on the drop down list. Is there any macro which can run a loop for all the values in the drop down list, copy the contents of the entire sheet and paste it into a new workbook? asked 31 secs agoadithya viswanathan Let's block ads!...
ادامه مطلبVote count: 0 Hi we had used ejabberd 16.04 version for chat application, and i can perform user creation and sending message now what i need is i want to archive messages but i couldn't so kindly look into below code and guide me where i went wrong? Some of the my ejabberd code: auth_method: sql default_db: sql Database coection: ## ## MySQL server: ## sql_type: mysql sql_server: "127.0.0.1" sql_database: "ejabberd" sql_useame: "root" sql_password: "1231231213" modules: mod_mam: db_type: sql Er...
ادامه مطلبVote count: 0 I am trying to lea php on my own. Things were OK till i reach DB coection. I am using NetBeans 8.1 and had installed xampp to set up mysql and apache server. But when i try to coect to DB using $dbPassword = "PHPpassword"; $dbUseame = "PHPuser"; $dbServer = "localhost"; $dbName = "PHPFirstDB"; $coection = new mysqli($dbServer, $dbUseame, $dbPassword, $dbName); print_r($coection); Ideally i should be seeing $coection details but I am not able to see anything in the script output win...
ادامه مطلبVote count: 0 Im using ng2-dnd package, simple html5 package to do drag-and-drop on a list to sort it, but I could only figure out how to populate the list from an array and I need it from json, this is my code: import { Component } from '@angular/core'; import { DND_DIRECTIVES } from 'ng2-dnd/ng2-dnd'; import { Report } from "./Report"; @Component({ selector: 'my-app', styleUrls: ['style.css'], directives: [DND_DIRECTIVES], template: ` {{title}} list of reports: ID:{{rep.id}} Name:{{rep.name}} ...
ادامه مطلبVote count: 0 I am using this to pull out some facebook data from a CSV https://github.com/Maatwebsite/Laravel-Excel public function lifetime_likes_by_gender_and_age_f18_24() { $result = $this->reader->select(array('lifetime_likes_by_gender_and_age_f18_24'))->get(); retu (int) $result->last()->sum(); } public function lifetime_likes_by_gender_and_age_f25_34() { $result = $this->reader->select(array('lifetime_likes_by_gender_and_age_f25_34'))->get(); retu (int) $result->last()->sum();; } public f...
ادامه مطلب