Posts by Fellipe Botelho • 145 points
13 posts
-
0
votes2
answers356
viewsQ: Angular 5 + Ionic 3: I can’t send headers in API requests
I am consuming an API through a post method and need to command the Authorization header. I am doing it as follows: public post(resource, body, authorization = false): Observable<any> { const…
-
0
votes1
answer746
viewsQ: Solving Precedent at the Angle
I am working on an application with Ionic 3 + Angular 5 and I have to take an Ionic Storage value as follows: this.userStorageService.get('expiresIn') .then((data) =>…
-
1
votes2
answers395
viewsQ: Treating JSON in C#
I have a return of an HTTP request in JSON format. It comes as follows: { "message": "authenticate" } It’s a simple return, but I’m a beginner in C# and would like to know how to assign only the…
-
5
votes1
answer1119
viewsQ: Database Connections in Unity
I am developing a mobile game using Unity 3D and need to have a local database on the device. Which database to use? It has how to use Mysql, Sqlite. Can anyone help me?
-
0
votes0
answers1048
viewsQ: Table rows do not break when finishing the page - PDF gift & Laravel
Guys, I have a table with a very large number of lines and when I PDF this HTML page with domPDF does not skip to the next page. I tried some tutorials here, only it didn’t work very well. Follow…
-
0
votes1
answer54
viewsQ: Problems with Middlwares - Laravel 5.4
I am using a middleware on Laravel 5.4 and would like if the logged in user had permission 2 to be redirected to /admin/signups. The scope of the Handle method looks like this, but the redirect…
-
0
votes0
answers193
viewsQ: Laravel - Pass more than one parameter using use in callback functions?
The thing is, I have a job callback of that kind: \Excel::create($limite_vagas_array[0]['nome_curso'] .' - '.$limite_vagas_array[0]['nome_polo'] .' - Limite de vagas', function($excel) use…
-
0
votes0
answers35
viewsQ: Error while uploading site in WORDPRESS
I developed a site in WORDPRESS and on my local server is working properly. When subbing it, I made all the necessary settings (change base URL in bd, configure wp-admin), only specifically one page…
-
0
votes1
answer270
viewsQ: How to make a normal image of the post in thumbnail - WORDPRESS
It is as follows: I’m developing a photographic collection site. Normally the image that would be shown in the post would be a thumbnail, but since there is a storage restriction on the server that…
-
3
votes1
answer540
viewsQ: Delete item from an array and reorder it - PHP
Is the following: I have an array, sort of like this: $array = [ [0] => 'Fellipe', [1] => 'Fábio', [2] => 'Mateus', [3] => 'Gustavo' ]; I would like it when I remove an item from that…
-
0
votes1
answer1068
viewsQ: jQuery - How to accept only letters and accents
I need to do a validation. It’s as follows: The field can only accept normal names, like: João Pedro, Mateus Rodrigues etc. Names like Fabio123 or other special characters cannot be accepted.…
-
0
votes0
answers308
viewsQ: How to catch the next business day? PHP
Guys, I’m developing a PHP application related to an online butcher shop. At the time of finalizing the order, I have to check if the current schedule is more than 17:00 hrs, if it is, I need to…
-
4
votes1
answer338
viewsQ: Codeigniter 3 - Subdirectory structure - Routes
I created a project in the IC and I am going through the following problem: I split my controllers into two folders: application/controllers/painel/ and application/controllers/site/ Being that in…