All Questions

2
answers

Insert checkbox dynamically by Json return does not display Text?

I am creating a list of Checkbox according to the selection of a Select on the same screen. In the event change of select is called via ajax javascript , the method that returns a Json with list (valu...
asked on 14.01.2017 / 22:09
1
answer

Working with string php [duplicate]

I have a project to issue the bank transfer file for banks and credit unions. In the assembly of the file I define a variable and I add the lines as in the example below: $conteudo .= '085';...
asked on 04.01.2017 / 19:22
1
answer

Convert an object of type 'System.Collections.Generic.List in type' System.Data.DataSet '?

   Can not convert an object of type 'System.Collections.Generic.List in type' System.Data.DataSet '? After making a query for a report, I am saving the data in a list and displaying the data on the screen, plus I have an option to export th...
asked on 17.01.2017 / 16:38
1
answer

Debug with min files in AngularJS

I created a task in Grunt to automatically concat and uglify in my files .js of the Angular to improve the performance and also not to be inserting a new file every time I create a controller, for example. However, wi...
asked on 17.01.2017 / 15:00
1
answer

Why is it possible to access array indexes with "{}" keys?

In some tests I did with PHP, I saw that it is possible to use keys ( {} ) to access indexes of arrays . Example: $array = ['a' => 1, 'b' => 2, 'c' => ['d' => 4]] echo $array{'c'}{'d'}; // 4 echo $array{'c'}['d']; /...
asked on 04.01.2017 / 20:37
1
answer

See all values in an array

I would like to know how I can see all the values in an array when I do print. Give me this: ber_MFSK = M/2*qfunc(np.sqrt(k*ebno_theory)) print(ber_MFSK) And give me this: [ 1.58655254e-01 1.30927297e-01 1.04028637e-01 ...,...
asked on 09.10.2017 / 21:00
1
answer

Can you hide the redirect, but keep the link for download?

I made a simple favlet to make it easy to convert videos from YouTube for audio: <a href="javascript:!function(){window.location.href='http://www.youtubeto.com?task=MP3&url='+window.location.href;}();">youtubeto : mp3</a>...
asked on 09.01.2017 / 18:44
2
answers

Syntax difference between database

What is the difference, in the syntax, of the following databases, for a simple query, of type: SELECT * FROM tabela WHERE id = '1' ORDER BY nome GROUP BY nome LIMIT 1 Or, what do they differ in syntax in general? Or is it all the same?...
asked on 05.11.2017 / 04:07
1
answer

Is it possible to restrict who can use public classes in an assembly?

The scenario is as follows: I have a AssemblyProtegido.dll written in .NET that contains public classes. I would like only specific assemblies to consume such classes. AssemplyProtegido.csproj public class ClasseProtegida {...
asked on 05.01.2017 / 00:12
1
answer

What are other pass applications?

In the documentation the statement pass is defined    pass is a null operation. When executed, nothing happens. It is useful as a placeholder when syntactically a statement is required, but no code needs to be executed....
asked on 19.10.2017 / 23:47