All Questions

2
answers

Intent to open profile with the facebook app using Page ID, Android?

I am trying to open a facebook profile with a button, but I have tried and always open with the browser and not with the facebook app, someone can help me please, so I have it at this time. protected void onCreate(Bundle savedInstanceState...
asked on 10.05.2017 / 15:56
2
answers

Is it possible to declare a variable that contains an if statement?

Is it possible to declare a variable that contains an if statement? The following pseudocode (written only with the idea of illustrating the example), represents the idea that is pursued, that is, that the variable m take a different value depen...
asked on 15.08.2017 / 17:57
2
answers

What is the best way to validate a TextBox XAML

I have a UWP application that uses several TextBox to collect user information: <Grid> <TextBox Text="{Binding Codigo}"></TextBox> <TextBox Text="{Binding Producto}"></TextBox> <TextBox Text=...
asked on 16.01.2016 / 01:07
1
answer

Safe way to escape user input to be processed by regular expressions in JavaScript

The following example is published in link : function escapeRegExp(string) { return string.replace(/[.*+?^${}()|[\]\]/g, '\$&'); } Is this the safe way to escape a string provided by the end user, for example through a dialog box?...
asked on 13.02.2017 / 15:48
2
answers

Return only one field from a list in WCF

The method is like this: public List<CivarTransporteService.Model.Cliente> getClientes() { using (CivarTransporteService.Model.CivarTransporteModelContainer context = new Model.CivarTransporteModelContainer()) {...
asked on 21.01.2016 / 03:56
2
answers

How to check the father, when I select the child in a checkbox with jQuery

How could I do a checked event in jQuery? I have this structure: With the serious code: <ul> <li class="padre_menu"> <div class="checkbox"> <label> <input name="padre[...
asked on 07.09.2016 / 17:02
2
answers

Does it make sense to create pull request for oneself? [closed]

I'm creating pull request that I approve and merge myself. In the end they are registered and can be consulted in the remote repository, but I do not know if it makes much sense to do this or there is a better mechanism, such as the use of t...
asked on 13.06.2018 / 19:01
2
answers

How to create my own Git server?

I'm trying to work with Git and some problems arise, the scheme is as follows: I have two PCs in my house, one I want as a server, to host my projects and the other I want to clone these projects. The problem arises when cloning. The two PC...
asked on 02.02.2016 / 04:58
3
answers

filter query with LIKE

I have to make a query to a database where I have a table of the data of people (name, address, colony, age, city, etc.) I want to obtain the addresses that necessarily have numbers, since I have some addresses where only the name of the street...
asked on 06.06.2016 / 20:07
2
answers

Spring and maven in java

I'm starting to read about spring framework, where in the course they use maven and there are already things that I do not understand, which some do not have to do with spring or maven, but more with java. Well, the first thing is, maven, by...
asked on 03.04.2016 / 22:24