All Questions

1
answer

Sort unpaged list in php laravel

I'm organizing some list objects by their names, but I want to sort them without having to page them. The code that I have is the following: if ($filter['sort'] == 'name_asc'){ return Employee::orderBy('first_name', 'ASC')->paginate(100...
asked on 02.10.2018 / 22:56
1
answer

FULLCALENDAR (SHOW SPECIFIC EVENTS)

My problem is that I want to obtain specific events according to a value, and all the information of the events is retrieved from the db successfully from a file with the following code: header('Content-Type: application/json'); $conexion = ne...
asked on 04.10.2018 / 04:11
1
answer

unexpected '-' (T_OBJECT_OPERATOR) when inserting

I use php and codeigniter, I try to enter data and I get this: An uncaught Exception was encountered Type: ParseError Message: syntax error, unexpected '->' (T_OBJECT_OPERATOR) Filename: C:\xampp3\htdocs\CesdeCodeIgniter\application\model...
asked on 05.10.2018 / 04:29
1
answer

Git push The requested URL returned error: 403

Good morning, my problem is that I want to upload changes to my remote repository but in Git Bash it does not allow me to launch the following error. With the GitHub Desktop application it allows me to upload changes in a normal way but in th...
asked on 03.10.2018 / 06:41
2
answers

multiplication and accumulation of several numbers entered by keyboard

I need if you can help me with the following I need to multiply all those numbers that are less than 0, entering it by keyboard, and go accumulating the multiplications. Thanks package control6; import java.util.Scanner; public class Contro...
asked on 06.10.2018 / 04:59
1
answer

MYSQL query with range of Dates of an id

I'm doing a query on mysql, which should make me based on a given id and a range of dates, bring me the records between those dates. I'm starting to learn mysql so the most sure thing is that I'm formulating everything wrong. This is being im...
asked on 08.10.2018 / 15:23
1
answer

Does the Arduino software emulate hardware?

Good day community of StackOverflow! I have been researching on the internet about the official Arduino software to determine whether or not it can emulate hardware, that is, I need to know if the Arduino software emulates in a virtual enviro...
asked on 30.05.2018 / 01:19
2
answers

UIBarButtonItem Xcode

I need to be able to center this image in the middle of my UIBarButtonItem Currently seen: what I would like This is my Swift code func setupNavigationBar(showBack:Bool, showMenu:Bool, showFilters: Bool) {...
asked on 06.10.2018 / 05:36
1
answer

Python: 'numpy.int32' object is not iterable

I'm constantly having this error and I do not know how to fix it. This is the code: import numpy as np import itertools import random g_row=10 g_col=10 m_prob = np.ones((g_row, g_col), dtype=np.int) s_acomulada = list(itertools.accumulat...
asked on 26.05.2018 / 00:26
2
answers

avoid predictive text in html form

Dear I have a form that when someone enters from an android phone with predictive text this at the time of entering the rut or dni begins to fill and duplicate automatically. I want to know how to avoid it <form method="POST" target=...
asked on 24.05.2018 / 16:22