All Questions

2
answers

Is it safe to give 777 permissions to the folder where I have my PHP web project?

I want to give full permissions to my lampp folder, where I have my php installed. What I did was: sudo chmod -R 777 /opt/lampp Currently I do not have another because I can not generate a document with php using its function fopen()...
asked on 20.10.2017 / 21:13
2
answers

C # MVC How to use currency format

I need to use the currency format When using the annotation: (Model) [DataType(DataType.Currency)] [DisplayFormat(DataFormatString = "{0:C2}", ApplyFormatInEditMode = true)] public Nullable<float> monto { get; set; } (View)...
asked on 15.01.2018 / 18:01
3
answers

How to create three stars plus an average star without: hover?

I have problems in the styles CSS I'm wanting to show three stars plus a half of a star without :hover Example: .c-rating { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: f...
asked on 19.10.2017 / 22:05
2
answers

Define type of variable in a function

Good, I am learning Python and I was curious, since I am new in this programming, when declaring a variable in a function, can not you specify the type of variable as if you did it normally? I want to do this but you can see that the program doe...
asked on 12.12.2017 / 11:22
2
answers

My code stops adding by converting from hexadecimal to decimal

I want to convert a string of 6 bytes in hexadecimal to a float float desencapsularArchivo::hex2dec(string aConvertir) { int cantHex = aConvertir.size(); float decimal = 0; for(int hexNum = 0;hexNum < cantHex; hexNum++)...
asked on 21.02.2018 / 19:38
2
answers

Obtain data of an object in Laravel

I know it's not the way to ask, but I'm starting in Laravel and they sent me an exercise in class and I do not know how to continue. They ask me to show a student (indicating their id), I have created the table and the model with artisan, I have...
asked on 27.01.2018 / 13:18
1
answer

How to generate gradients in css3 text

Hello I wanted to know how to generate a gradient in a text like the attached image. or if there is a generator on the web to be able to do it     
asked on 22.11.2017 / 13:38
1
answer

Control to show Cursor with android search engine

I have in my application a part where the user must select a contact from the list of contacts, I could and I managed to bring the list with the phone, like the following image: This here is a spinner, with a CURSOR as a data source, my...
asked on 19.10.2017 / 20:11
1
answer

Transitions of various android views

please I need help with transitions. in my activity_main2.xml I have two views one is a ImageView and another one FloatingActionButton what I want is that when I enter activity 2 from my activity 1 I do it with animation but...
asked on 23.03.2016 / 13:49
1
answer

Animate images in a ListView

I want to animate (rotate) an image that I put in a ListView when the user clicks on a certain item in the List. How do I get the image and apply the animation when I click on the list? public class ListaConImag extends AppCompatActivit...
asked on 05.04.2016 / 16:43