All Questions

1
answer

How to compile the database to install together with a C # application?

I'm developing a C # application, and I need to know if I can build the database to install with the application, I've already seen something here about SQLite, but I do not know the tool and I do not know if it stores images, my case will have...
asked on 18.12.2015 / 06:25
2
answers

How to correctly use Regular Expression

I'm studying about RegularExpression , but I'm not getting it right. In my Model the property CPF must be filled only by numbers: [RegularExpression(@"[0-9]", ErrorMessage = "CPF deve conter apenas números")] public string...
asked on 25.11.2015 / 16:59
2
answers

What is the connection string "connectionString"?

What is the connection string anyway? In a connection string which represents data-source ? And the provider name ?     
asked on 22.04.2016 / 20:02
1
answer

How do you create a "hidden" menu?

I have a Toolbar, and I want to make a settings bar in it. However, in order not to occupy space, I would like to hide / minimize it, something like the teamviewer chat. My ToolBar (it's inside a main screen) Container contentPane = this.ge...
asked on 30.10.2016 / 20:13
1
answer

What is the function of an open-source license? What are the main licenses?

I have searched and found little Portuguese content about this, I do not know if I'm looking for the right term because I do not know much about it. I have some questions about open-source software licenses, I hope I do not leave the question...
asked on 07.07.2016 / 22:41
2
answers

Do not need to escape the "." in a field [...] in REGEX?

I was seeing some regular expressions here on the network, and I noticed that in many, in the character field, . was not escaped \. . Thus: [a-zA-Z0-9.] . It does not need the \ character before, does it?     
asked on 28.11.2015 / 03:59
4
answers

Mounting run-time updates

When mounting SELECTS at runtime we always have the problem of knowing what might be coming or not depending on the choices made by the user. When assembling the WHERE clause we are faced with the question of adding AND o...
asked on 27.05.2016 / 19:46
2
answers

Using variable with the sed command

I have the following occurrence: DirUpload=/var/log find $DirUpload | sed 's/$DirUpload//g' The question is, how to use variable along with sed?     
asked on 11.10.2016 / 20:40
1
answer

Python, difference between assert and raise?

I came across a question with the raise and assert structures in python. In the code below shows the implementation of structures forcing an error if the number passed is negative. def is_neg_assert(int): assert (int >=...
asked on 06.05.2016 / 02:55
3
answers

What is the difference between DirectoryIterator and FileSystemIterator?

In PHP, there is the class DirectoryIterator .   The DirectoryIterator class provides a simple interface for viewing the contents of filesystem directories. There is also FileSystemIterator , which documentation only gives this descript...
asked on 30.09.2016 / 16:44