i want to retrieve entire list from mysql database,
Vote count: 0 i write a program for retrieve a entire list from mysql database but while i executing the program it gets all value in list view but i want the whole coloumn in one item in list view, pls help me this is my parser class,, Parser.java public class Parser extends AsyncTask<Void, String,...
searching through a array of string
Vote count: 0 so i have this set of strings which are stored in an array i want to search the array so when the string is found it should say found and when its not found it should say invalid this is what i have so far cout << "Enter a Name to Search" <<endl; cin >>userInput; for (int i=0; i<size; ...
Why $params gets the values from configuration file already?
Vote count: 0 I have this is a piece of code which is part of a custom library for CI 3.1: class NavigationMenu { protected $CI; public function __construct($params = ['config' => 'navigation']) { $this->CI =& get_instance(); $this->CI->load->helper('url'); $this->CI->config->load($params['config'],...
kibana.dev.yml is not applied in kibana development mode
Vote count: 0 I appreciate if someone can help me out with this issuse. I am starting a development for kibana plugin and installed all necessary packages. My environment is below. kibana 5.0.0 alpha5 (Used git clone from the git repository) I want to start the devlopment server other than 127.0.0.1...
Pull Instagram images with certain hashtag to a static webpage
Vote count: 0 I want to build a simple webpage the pulls Instagram images with one certain hashtag and displays them using JS, HTML, and CSS. I have set up a client with Instagram, but as far as I can tell this only allows me pull images from my account? Does anyone know how I could pull public imag...
hashing filenames in webpack - why?
Vote count: 0 I came across the following in the webpack docs: { output: { path: path.join(__di ame, "assets", "[hash]"), publicPath: "assets/[hash]/", filename: "output.[hash].bundle.js", chunkFilename: "[id].[hash].bundle.js" } } What is the point/purpose of adding the hash to file names? The docs...
Teradata Multiple Joins - Longitudinal table creation
Vote count: 0 I need help with creating a longitudinal table. Table 1 contains customer_ids with one record each. Table 2 contains multiple rows for customer_ids by month (201501,201502....201512). In this example I'm getting three months worth of data by doing three joins. Is there a smarter more e...
Get WebdriverIO multi-remote to work with Cucumber BDD
Vote count: 0 I am able to start multiple browser sessions in a single test using WebDriverIO's multiremote with mocha. Next I'm trying to get WebDriverIO multiremote work with Cucumber BDD. My feature definition is simply to open a browser session and navigate to a url. Here's my simple WDIO Proble...
osx script to check a process and restart application
Vote count: 0 can someone give me a quick OS X script I can use to check process 'x' every 30 seconds and if the process is dead restart it in the same way one starts an application by double clicking on it in finder? for example, if Textedit has quit restart test.txt. asked 42 secs agoozz Let's blo...
Is there a safe way for JavaScript injection to occur?
Vote count: 0 I am looking for something that functions to what amounts to JavaScript injectection, but safer. This idea can be most effectively observed by your broswer's console and start noodling with something like document.getElementById('btnSubmit').value = 'I took over your button'; after a q...
AngularJs, What is better when creating a controller?
Vote count: 0 What is better when creating a controller in AngularJs: 1- angular.module('myApp') .controller('MyController',['$scope','dependencies','myService', function($scope, dependencies, myService ) { }]); 2- angular.module('myApp') .controller('MyController', function($scope, dependencies, my...
Generate Integer Random Numbers in Python Array
Vote count: 0 i'm trying to make an array with 30 integer elements between 0 and 2 randomly chosen. When some number is chosen 10 times, i can't append it anymore. In the end, i need an array with 30 elements with 10 numbers 0, 10 numbers 1 and 10 numbers 2. Here's what i'm trying: import random arr...
resolve setListAdapter and SimpleCursorAdapter depricated
Vote count: 0 i am building a todo list android app that user sqldb to save data and Listview to display them. I am able to save the input but unable to display them. setListAdapter and SimpleCursorAdapter are depricated that can be a reason. public void updateUI() { ListView listview = (ListView)fi...
Create name-value pair data frame from input with delimiters
Vote count: 0 I have a data frame which can be created with this code: input <- data.frame( 'ID'=c(1:3), Destination=c("A B", "C", "D E F"), Topic=c("W", "X", "Y Z") ) It looks like this: ID Destination Topic 1 1 A B W 2 2 C X 3 3 D E F Y Z I would like to create an output data frame that looks like...
define keystone_user from openstack/puppet-keystone via hiera?
Vote count: 0 I am using https://github.com/openstack/puppet-keystone to set up an OpenStack management/controller node. I need to add the 'glance' user to keystone. I want to try and do as much as I can in my hiera data so my manifest will be simple. Here is my manifest: class kilo2_keystone { incl...
Facebook: Can't publish on user feed in test mode
Vote count: 0 I have developed a Facebook app in test mod and I want to publish on the test user's wall. this is the link where the user register and accept the permissions: https://www.facebook.com/dialog/oauth?type=user_agent&client_id=MY_APP_ID&display=popup&redirect_uri=THE_URL&scope=email%2Cpub...