All Questions

1
answer

Is it correct to use H1, H2 with display none in order to SEO or are penalized by the search engines?

I searched here but did not find any topic approaching. If there is already, please mark as duplicate. I have a problem. My client's logo can not be reproduced through clean fonts and CSS, and in the name of it contains significant keywords...
asked on 24.09.2015 / 03:27
1
answer

Is there a random text generator that produces correct sentences?

Is there any program, preferably in python, capable of generating random but syntactically correct text? The language I'm looking for is English.     
asked on 20.10.2015 / 19:50
2
answers

Output in json with json_encode ()

   json_encode () - Returns the JSON representation of a value If I do: $foo = array('a', 'b', 'c', 'd', 'e'); echo json_encode($foo); I'll get: ["a","b","c","d","e"] So far so good, I'm getting an array and turning it into a json...
asked on 10.11.2015 / 16:18
3
answers

Delete parts of a Text

Galera is the following I wanted to be able to extract only the user name in a Shell SCRIPT however it has to be mandatory through the text that I inform. I wanted to exactly display on screen only: meucliente From the text: / home / meuclien...
asked on 13.09.2017 / 15:40
2
answers

How to retrieve the description of an enumerator?

I have the following enumerator public enum MeuEnumerador { [Description("Descrição do item do enumerador")] Enumerador1 = 1, [Description("Outra descrição")] Enumerador2 = 2 } How do I get the value that is in the Descri...
asked on 20.11.2015 / 19:56
1
answer

How to build an executable / installer from a routine written in R?

I have several routines written in R, simple tools that I would like to share with my colleagues. However, some of them have no programming knowledge. So I want to make it easier to use these tools. For this I thought about creating an execut...
asked on 09.11.2015 / 19:43
1
answer

What is the difference between the two structures of the arrays and their repeating links in Javascript? [closed]

I would like to know which one is most suitable for working with arrays? var meu_array = new Array(1, 2, 3); var meu_array = [1, 2, 3]; Is there any performance difference between the 6 cases presented in the use of loop below? // foreac...
asked on 17.09.2015 / 21:55
2
answers

How to select one element from another

<select class="form-control dropup bs-select-hidden" name="sys_nivel_acesso_id"> </select> <div class="btn-group bootstrap-select form-control dropup"> <button class="btn dropdown-toggle btn-default" data-toggle="dropdown"...
asked on 23.11.2015 / 19:00
1
answer

How to create a symbolic link for a Python code in Linux?

I want to run a simple Python code that I created from anywhere on my system. I know that to do this with a shell script just run the command ln -s /home/user/script.sh/usb/ bin / script , however of knowing how to do the same with a "code...
asked on 03.11.2015 / 19:25
2
answers

Avoid more than one record in the database

I'm having problems because I'm doing a community system where the user registers and shares stories. More when I was testing I clicked to register 2 times and 2 times it went to the database even with a checking function. MYSQL: CAMPO |...
asked on 22.11.2015 / 16:09