All Questions

3
answers

Convert radians to degrees

I am doing a calculation to obtain a value in degrees, but I have found that the result of an operation in JavaScript , where the types of trigonometric operations intervene, throws these values in radians. Formula 23.45 * sin(360 * ((284...
asked on 03.05.2018 / 02:13
1
answer

Keep footer down (not fixed, not absolute) with css

How you can keep the footer below the page always, but without using fixed or absolute, because you can give several cases: In the event that the content is not enough to fill the page, the footer does not stay down unless you put a...
asked on 30.01.2018 / 09:59
4
answers

Put comments in JSON file in Visual Studio 2015

I am experimenting with the new Visual Studio and I see that in the new project structure and in the configuration the files JSON is used intensively, to the detriment of the XML that was used before in web.config , e...
asked on 09.12.2015 / 12:11
3
answers

Cartoon Balloon with CSS?

I am looking to generate a cartoon balloon with CSS, that is, a dialogue balloon with text and a "tail" of the style that appears in comics. The solution where possible, so that the "tail" of the globe has a rounded look, as shown in the image:...
asked on 12.02.2018 / 22:04
1
answer

How to make a merge of specific commits

I have a project called Proyect that has three ( 3 ) branches: master ( M ) sdev ( S ) test ( T ) Which at the moment are like this: initial commit ↓ ↓ ↓ merge test into master ↓...
asked on 01.09.2017 / 00:40
2
answers

Problem connecting to a repository by SSH

Since a couple of days ago, I'm configuring GIT on a Linux server using GitLab (which was already pre-installed). I have created a new project, and if I connect via HTTP I do not have any problems. I do it to the following address: link...
asked on 04.04.2016 / 00:48
2
answers

What is the difference between atomic and nonatomic attributes?

@property(nonatomic, retain) UITextField *txtTelefono; @property(atomic, retain) UITextField *txtTelefono; @property(retain) UITextField *txtTelefono; What is the difference in these three statements? What does a property nonatomic...
asked on 23.01.2016 / 16:48
3
answers

Slack files: XMLHttpRequest can not load response for preflight is invalid (redirect)

I am using [email protected] to make a request to the api of slack . According to Slack files types I need to add the Authentication in the header. I make the request from postman and it returns the file I need. GET /...
asked on 14.03.2016 / 04:37
4
answers

Python. Extract random object from a list

The problem is that I have a list "l" of which I want to select a random item several times without repeating it, and I do not know how to do it. Any suggestions? import random l = ["a", "b", "c", "d"] sel1 = random.choice(l) That'...
asked on 20.06.2016 / 01:54
1
answer

Difference between std :: uninitialized_copy and std :: copy?

I'm trying both and they always return the same to me. Is there a specific case where only one of the two can be used? // Example 1: std::allocator<int> alloc; int arr[5]{7,7,7,7,7 }; int *arr2 = new int[5]{5,5,5,5,5}; std::uninitia...
asked on 14.12.2018 / 15:09