Posts by Crazy • 447 points
20 posts
-
1
votes1
answer383
viewsQ: Using v-bind or v-model to update an input
I am using Vue.js in a project and would like your help. I’ll try to exemplify what I’m doing. I have 2 buttons, + and - when the user clicks on or the other I want to update my input with the…
-
0
votes1
answer55
viewsQ: Query using Eloquent multiple fields
all right? I would like a help from you to put together a more "elegant" consultation at Laravel. I currently have the following scenario. I need to check if a client is already registered in my…
-
0
votes0
answers30
viewsQ: Manipulating JS image
Guys, I need some help on the next point. I need to manipulate an image and add tags in it. Example: I have an image of a plan of a house, and I would like the user to select an item, example, a…
-
0
votes1
answer1504
viewsQ: Error Handling Problems - PHP Laravel
I’m doing an API and I have a little problem when I do error treatments.. To better understand I’ll put the code below and then explain what happens. My route to calling my API: Route::get('lists',…
-
0
votes1
answer251
views -
1
votes1
answer2522
viewsQ: Calculate average call time
Guys, I need to take the average attendance time and I have the following data: 00:12:35 00:05:10 00:01:42 00:08:12 00:01:01 {...} The question is, how can I do it? I searched for a way to do it…
-
1
votes1
answer313
viewsQ: Collect Route Held GPS - Maps
Guys, here’s the thing, I’m looking to make an app that will display to the user the route he made, the distance of the route he traveled and the average speed... My question is, what’s the best way…
-
2
votes1
answer55
viewsQ: Keys in PHP Array
I have a very stupid doubt, I was able to identify the problem, but I could not solve it. hahahaha So here’s the thing... I have the following array: array:7 [▼ 1 => array:5 [▶] 2 => array:5…
-
1
votes0
answers570
viewsQ: Problem with Laravel 5.5 - API Routes
all right? I’m here again with a new problem... I’m using the Laravel 5.5 and in the process I’m having problems in the routes using the API middleware. To illustrate, my web.php file is as follows:…
-
0
votes1
answer816
views -
3
votes3
answers93
viewsQ: Error in declarations with Array
Guys, I have a mistake that I can’t find the solution to. I have two accommodations on the same site Hostgator, in a hosting my application is all right and working. But I had to migrate the…
-
2
votes0
answers864
viewsQ: How to use Token with PHP Rest
Guys, I decided to use the Token feature, to access my Rest I’ll be doing in PHP, mainly to learn this concept, but I don’t want to use a Framework ready, I even need to get the hang of it. Good…
-
4
votes1
answer448
viewsQ: File in JSON format
And oh guys all beauty? I’m having a rather silly question, but I couldn’t find an answer. I’ve been going through some websites and I saw that instead of them calling a request $.AJAX on the server…
-
2
votes3
answers404
viewsQ: Ajax Requests - Tips
The thing is, I’d like a suggestion and tip to make a correct system. For example, today I use jquery and many requests $.ajax, this is to popular some data, to send form data and etc. But I…
-
2
votes1
answer102
viewsQ: Using Promises and Deffered in everyday life
I’m studying about these items and I’m having doubts about how to apply them to my projects. I currently use callback for everything but the structure of the code is tense.. and on the Internet I…
-
4
votes2
answers2248
viewsQ: Latitude and Longitude Calculation - Approximation
You guys, I’m in a bit of a pickle... Currently I have the data Latitude and Longitude of business registers in my database, with this I need to bring data next to me, in case would have latitude…
-
0
votes0
answers30
views -
2
votes1
answer140
viewsQ: Logic with callback
I am with a small problem and I would like a help to understand and if possible an indication from Srs to help this problem. Let’s start, currently I have a loop, I’m doing it in a been getting…
-
0
votes0
answers168
viewsQ: Error to publish app to Apple - Xcode
Guys, I’m trying to publish an app on apple developed with Cordova, at the time I try to send the application using Xcode 7 appears this error here: I already google a solution, but I was not…
-
8
votes1
answer466
viewsQ: Using Sqlite on Android with Phonegap
Guys, I have a little problem... I’m making an application and I’m using the sqlite on android to save a copy of my database, so far it’s okay, is working, is copying the data the only problem I…