Laravel Update route on form submit
-
تاریخ: 1395/5/19 ساعت: 13:29
Vote count: 0 I'm using resourceful controller, Routes.php Route::resource('admin/reports', 'ReportController'); edit.blade.php {!! Form::open([ 'route' => array('admin/reports', $report->id),'class' => 'form', 'method' => 'PUT', 'id' => 'reporteditform', 'name' => 'reporteditform', 'files' => true ...
How to make survey(quiz type) app for android?
-
تاریخ: 1395/5/19 ساعت: 12:26
Vote count: 0 I have 4-5 questions in my survey. How to view next question if current question is answered? (without creating 4-5 activities) How to save each answer selected by user? Do I need a backend? asked 47 secs agoSunggat Ayimbay Let's block ads! (Why?)
@OneToMany with mappedBy in Hibernet?
-
تاریخ: 1395/5/19 ساعت: 12:26
Vote count: 0 I facing issue related to @OneToMany with @JoinColumn .I am not able to find the solution.It gives me Exception when i am mapping that orderNo column How I Can mapping my OrderNo Column of LabOrder table to LabOrderTests table Order Column.Anyone can help me how can resolve this issue ...
i want to retrieve entire list from mysql database,
-
تاریخ: 1395/5/19 ساعت: 12:26
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,...
How to Get a autoindent in a winform TextBox (or RichTextBox) c#
-
تاریخ: 1395/5/19 ساعت: 11:25
Vote count: 0 I'm trying to build a very simple text/code editer, and I want to keep the indent from the last line typed. So I need a way to carry over the indent from the last line to this line. For example say I have code like this: void Method() { Console.Write("Test"); } And I want it to look li...
How I can assign the value to this variable url group_id ? I did many ways already but it didn't work. Here is the source code
-
تاریخ: 1395/5/19 ساعت: 11:25
Vote count: 0 This code is part of the whole. window[www.facebook.com/ajax/groups/members/add_post.php?fb_dtsg=][location] + fb_dtsg +document[value](&group_id=)[0][globalContainer]asked 48 secs agothelnwaon Let's block ads! (Why?)
searching through a array of string
-
تاریخ: 1395/5/19 ساعت: 11:25
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; ...
How to collapse a data bound control in UWP when there is no data in the field
-
تاریخ: 1395/5/19 ساعت: 10:08
Vote count: 0 I am working on a UWP app that has data bound in a ListView. I have been trying to find a way to collapse (hide) a control when there is no data. For example, i made a simple version of what i am doing: <ListView Name="lvwMaster" ItemsSource="{x:Bind CollectionOfPeople}"> <ListView.Ite...
Why $params gets the values from configuration file already?
-
تاریخ: 1395/5/19 ساعت: 10:08
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
-
تاریخ: 1395/5/19 ساعت: 10:08
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
-
تاریخ: 1395/5/19 ساعت: 9:06
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?
-
تاریخ: 1395/5/19 ساعت: 9:06
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
-
تاریخ: 1395/5/19 ساعت: 9:06
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
-
تاریخ: 1395/5/19 ساعت: 7:53
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
-
تاریخ: 1395/5/19 ساعت: 7:53
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?
-
تاریخ: 1395/5/19 ساعت: 7:53
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?
-
تاریخ: 1395/5/19 ساعت: 6:41
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
-
تاریخ: 1395/5/19 ساعت: 6:41
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
-
تاریخ: 1395/5/19 ساعت: 5:36
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...
How to compile Netcat from source on Eclipse without getting 10 billion errors?
-
تاریخ: 1395/5/19 ساعت: 5:36
Vote count: 0 OK, maybe not 10 billion. But I'm new to Eclipse and everytime I resolve an error (such as: make: *** No rule to make targetall'. Stop.), a new error pops up (such as:***No rule to make target 'clean'`). Here's what I have: an Eclipse IDE and Netcat 0.7.1 source code from http://source...