All Questions

1
answer

How do "Docker" and "containers" (LXC, LXD) work?

I saw this question Difference between VM and Containers LXC , but its focus is a comparison between VM and containers. What I would like to know is a little more about containers, like Docker, LXC and LXD. I would like to know the focus of...
asked on 21.11.2016 / 18:13
1
answer

Calculate the number of elements with CSS

I am making a numbered list with countdown counters using counter-reset . I currently place the number of items in the list manually: .faq { counter-reset:my-counter 2; } .faq dt { counter-increment: my-counter -1; } .faq dt:before {...
asked on 06.10.2014 / 12:59
1
answer

Protect automated access web pages

How can I protect my web pages from being accessed in an automated way? By search engine bots like Googlebot (I think the basic form was the meta tag with noindex and nofollow). By Headless Browser (browsers without graphical interface and...
asked on 20.05.2015 / 13:57
1
answer

Netbeans project with git and Composer repository

I'm developing a PHP project that requires two separate libraries. I am required to use NETBEANS. To develop the three separately but at the same time and because the main project "MAIN PROJECT" needs the other two, I have idealized: All...
asked on 06.03.2015 / 16:55
2
answers

What is the pseudo class's usefulness: root?

I'm learning about pseudo-structural classes, but I have not found an article about this pseudo-class yet, and I've only found it in English.     
asked on 12.12.2016 / 22:15
3
answers

How to create and read ".conf" files in C, for linux environment?

I'm studying C in linux environment. I have a problem with how to create a configuration file for my program to know what to do when running. Question Does anyone know how to store and read variables in .conf files? Is there a...
asked on 05.10.2016 / 09:53
5
answers

str_split does not work well in UTF-8 containing string?

I want to iterate a string with foreach . For this, I learned that I should use the str_split function, which separates each character from the string into a array . But this operation does not work as expected when using str...
asked on 01.02.2016 / 19:50
3
answers

How to divide integers and get value with decimal part?

I'm trying to divide the following values into C #: Double media = 0.0; int soma = 7; int cont = 2; media = soma / cont; You are returning 3 .     
asked on 10.07.2017 / 15:51
3
answers

How to format a table (data.frame) with publication quality in pdf (latex) in R?

Suppose the following table: tabela <- structure(list(Sexo = structure(c(1L, 1L, 2L, 2L), .Label = c("Homem", "Mulher"), class = "factor"), Grupo = structure(c(1L, 2L, 1L, 2L), .Label = c("A", "B"), class = "factor"), Média = c(0.26550866...
asked on 08.03.2014 / 02:13
4
answers

Detect Line Break

I have the following function: if (str.match(/\d\d\d\d\d\.\d\d\d\d\d/)) { var codigo_velho = str.match(/\d\d\d\d\d\.\d\d\d\d\d\/); result = "1"; } How do I change this function so that it detects line break in match ? For ex...
asked on 26.05.2014 / 04:34