Posts by Állan Coinaski • 141 points
18 posts
-
0
votes1
answer25
viewsQ: Send CSRF Token Laravel by Node.js - CSRF Token Mismatch Error
Good night! I have an API that was developed in Laravel, and when I am consuming it in NODE.JS with Axios and is returning the CSRF Mismatch Token error So I believe I need to send the Token through…
-
0
votes1
answer38
viewsQ: Use flutter Icon class by code
Good night! I’m getting the code from a flutter icon as per the documentation below: https://pub.dev/documentation/flutter_for_web/latest/material/Icons-class.html Therefore, as documentation to use…
-
1
votes2
answers54
viewsQ: Take only the first record of each condition
Good afternoon! I have the following table: How to get only the first record of each id_uni_sching? That is, I need to get the id_sching 534,382 and 524,075 (First time of each id_uni_sching) ?…
-
0
votes1
answer40
viewsQ: Execute query by pressing a button and send to modal
I have the following code where I want to click a button, and in doing so run a Query and display the results in a Modal Therefore, the button: <a class="btn-sm btn-success view_data"…
-
0
votes2
answers1029
viewsA: Image in Listtile - Flutter
Guys, I decided using the Child property, and inside it a Container with borderRadius to set the size. Follows below solution: child: Container( width: 100.0, height: 100.0, decoration:…
-
0
votes2
answers1029
viewsQ: Image in Listtile - Flutter
I’m not able to leave my image in my Listtile, when I try to scale it only goes horizontal and never vertical, example: Following code, I’m trying to scale with the property Radius:…
-
0
votes1
answer430
viewsQ: Deserialize JSON - Dart/Flutter
I have a JSON and want to play it in an array. final String jsonSample='[{"id":1},{"id":2}]'; var json = jsonDecode(jsonSample); print (json); //resultado é: [{id: 1}, {id: 2}] So far so good, but…
-
1
votes2
answers1939
viewsQ: Several tables side by side
Good night! I am learning html + css, and would like to make my 3 tables, stand side by side on the horizontal even if it exceeds the right screen limit(enable scroll bar) It is possible to do?…
-
0
votes1
answer31
viewsQ: Field Autocomplete Error - Laravel
I’m having trouble implementing a autocomplete field, I’m used Laravel 5.9 and Bootstrap Typeahead JS. Follows code: Route: Route::get('buscarservicos',…
-
0
votes1
answer120
viewsA: Laravel + AJAX Jquery
I managed to solve by calling the controller every 5 seconds: <script> $(document).ready(function() { setInterval(function() { $('#buscaMmDia').load('{{…
-
0
votes1
answer120
viewsQ: Laravel + AJAX Jquery
Good night, I’m learning Laravel and need to upgrade a div every 10 seconds. I have a route that when called makes a query to the database. This route returns the Dashboard view. Route:…
-
3
votes1
answer649
viewsA: Filter with paging - Laravel
I solved my problem by switching on my view: {{ $notas_recentes->appends(['dataForm' => $dataForm])->links() }} To: {{ $notas_recentes->appends($dataForm)->links() }}…
-
2
votes1
answer649
viewsQ: Filter with paging - Laravel
Good night, The filter itself appears right, but when you go to another page (by paging), you lose this filter. I can’t find the problem, someone can help me? My route:…
-
0
votes3
answers1617
viewsQ: Mascara in Laravel form field
Good night, all right? I can’t find a way to include a validation mask with Laravel’s Form Collective. Below the code snippet with a field: {{Form::label('comp_nota','Competência')}}…
-
0
votes1
answer325
viewsQ: Function running without clicking the Python button
Good night, My callbackInsereCritico function runs straight without the click of the button, which may be? def callbackInsereCritico(nome): conn = psycopg2.connect(host='localhost',…
pythonasked Állan Coinaski 141 -
1
votes0
answers515
viewsQ: Show View output in PHP
Good night, I need to show the result of a view I created in Postgres, but I get no return. View in Postrgres: CREATE VIEW VW_RELATORIO03 AS SELECT EXTRACT (MONTH FROM DATSOLPED) AS MES, COUNT(*) AS…
-
1
votes2
answers402
viewsQ: SQL/Java query
Good morning, guys I am beginner in SQL and I need to do the following search. Tenho esta tabela: MINIMO MAXIMO CLASSE 0 20 1 21 40 2 41 60 3 60 10000 4 I need a command to see which class fits the…
-
0
votes0
answers147
viewsQ: Return method
reciso create a method that returns the variable HUMIDITY; However I need to make a Thread to update the value of humidity every little time. (Moisture is read through the Arduino). You need to…