All Questions

1
answer

Is my code object-oriented?

I have a code and would like to know if it is an object-oriented code. Follow the structure. I work with 3 files. 1st call save.php , follow code: include_once('dao.php'); include_once('modelo.php'); $post = new Post(); $post->setD...
asked on 06.12.2016 / 18:42
3
answers

How to pass value changed dynamically to function, in AngularJS

The itemCode, itemDescription, itemPreco, and itemQuantity fields are populated dynamically (at run time, without refresh ) from a query performed in the database. However, these values, when passed as a parameter to the addItem () function, re...
asked on 20.12.2016 / 13:25
1
answer

How does the Position property work? [duplicate]

I have read about the position property, but still can not understand its purpose. The absolute and relative values did not enter my head. I also wanted to know when I should use this property.     
asked on 22.12.2016 / 21:54
1
answer

Do I really need to have the src and ng-src attributes in the IMG tag? What is the function of each?

I saw here that we have the creation of tag <img> with the attributes src and ng-src . Do you really need to be like this? Even more than here the two attributes have the same value.     
asked on 20.12.2016 / 16:48
2
answers

Terminate a process programmatically

I want to make a program that presents a Task Manager to the user. I already have the remaining logic, but how can I end a process ( task kill ) with C# ?     
asked on 22.04.2015 / 20:56
2
answers

How to give a blank between 2 input-groups?

I have 2 input-group , they are "stuck", I want to give a blank, follow code below: <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/> <div class="panel panel-default">...
asked on 19.12.2016 / 16:53
2
answers

What is the equivalent of a functional specification for games?

Work at a company that writes software for commercial use, usually in the sistema style. To specify the software we use several documents among them: Functional Specification MER (Database Modeling) BPMN activity streams Technic...
asked on 20.04.2015 / 02:43
1
answer

How to put inside a variable only the text that was selected inside a textarea?

With var texto = document.getElementById('texto').value; I get everything that is in the tetxarea that has this id, but what if I want a partial text? For example the whole text is this: Germany bought the game against Brazil If...
asked on 10.05.2015 / 23:15
2
answers

What does "Auto packing the repository for optimum performance" mean?

I was giving git push to a remote repository and the following message appeared: Auto packing the repository for optimum performance. You may also run "git gc" manually. See "git help gc" for more information. I immediately interrupt...
asked on 14.05.2015 / 15:16
1
answer

How to apply chmod 777 with php in main folder and several subfolders at the same time

I would like to know how I can apply with a single code in php chmod 777 in a folder and subfolders at one time in case I have a folder called images and inside it has 4 subfolders I need to perform chmod 777 on them with a single code instead o...
asked on 22.05.2015 / 16:50