All Questions

1
answer

Can a commit be made on a single line for new files (Untracked) in git?

The idea is to make commit of the new files in a single line, that is, the Untracked files, as well as the Unstaged changes in the files that are already tracked. Example: There are 2 files: level-4.md text.tx...
asked on 24.11.2016 / 17:57
2
answers

Access a variable session from jquery

From jquery, I send to validate a user via Ajax, validation that is in a PHP. If the validation is Ok, the PHP puts the user in a session variable: <?php $_SESSION['nombre']=$usuario; Then, I print said variable in the html: <div>...
asked on 22.11.2016 / 03:13
2
answers

Entity Framework create field Image

I am working with Entity Framework code first I have the need to create an image field in SQL Server. What I'm trying to do with EF is to create an Image field in the database. public byte[] Imagen { get; set; } Product ClassMap Property...
asked on 05.07.2016 / 15:58
8
answers

Check empty input

I am programming in php and mysql and I have a form with personal data and a button submit to save. Then I want to validate that the input of the root of the person is not empty, and therefore do not leave save. I...
asked on 11.07.2016 / 16:26
2
answers

Call an attribute from one class to another to make a ValidationResult

I am looking for ways to validate my model with entity framework , and with validationResult I can achieve it, but with only one class, what do you propose to call another class and validate? an attribute of that kind? Example: public IE...
asked on 22.11.2016 / 16:52
3
answers

keep a different foliate in mysql php when two records are inserted at the same time

I have the following problem: Two or more users on different computers are filling out a form and that form assigns them a sheet. The folio is consulted according to the last one registered in the BD and returns the next folio to be used....
asked on 23.11.2016 / 17:43
2
answers

Android: Stop the cycle, visualize the result and return to the cycle

I have the following code, as you can see I am permanently cycling the program, this is because I need to be monitoring the changes that occur, I need to see the Toast messages, but as the program never stops me its visualization, try to use Thr...
asked on 25.11.2016 / 01:32
1
answer

Can you delete a project that is uploaded to the play store, and replace it with another one with the same package name? [duplicate]

classmates, I have a small question. I have an application in the store play store, but due to the new update of android studio I came up with the idea of doing another project with the same name of the package and the same keyStore to see if...
asked on 07.10.2018 / 15:49
1
answer

Document overloaded functions and constructors

I have the following class constructor: class Logger { /** @constructs @param { number } minlevel Minimal level to shown log @param { function } callback to really do the process */ constructor( minlevel, callback ) { if(...
asked on 13.10.2018 / 12:39
2
answers

Cycle problem in Python

I have this approach:    Read 10 whole numbers, store them in a list and determine   how many numbers of those stored in that list end in 15 I have this code, but I do not know where it is that I am wrong; For more than I look, I do not k...
asked on 06.10.2018 / 16:45