All Questions

2
answers

What is a "0" field in SQL SELECT?

I did not understand the use of 0 in this code: SELECT substring ... 0 AS PARCELADO, ... FROM ... What does it do?     
asked on 08.12.2014 / 17:48
5
answers

Regex take from one point to another within a text

I have the following text: From: .... blabla bla Message: blablabalab //linha em branco From: .... blabla bla Message: blablabalab //linha em Branco From: .... blabla bla Message: blablabalab How do I make my regex pick up where From...
asked on 16.03.2015 / 13:08
4
answers

Convert HTML into PNG

How to convert, via code javascript or php, the html ( DOM ) of the page being displayed for an image? I need the page shown to the user to be converted to an image file in png format so that it can be downloaded and started automatica...
asked on 05.10.2017 / 18:37
3
answers

How to give permission for other users to upload content to my project on GitHub

I'm doing an academic job and I created a project and wanted each member of the group to create a branch and upasse part of the code used in the work, however when someone tries to create a branch in the project and upar some code will a...
asked on 31.08.2018 / 19:48
3
answers

When should I use new?

What happens here? Why an instance of Date is created in this example: String dataFormatada = new Date().format("dd/MM/yyyy") In this example we did not use new : def data = Date.parse('dd/MM/yyyy', '31/12/1980') When shou...
asked on 16.12.2015 / 12:52
3
answers

How to join several dictionaries in Python?

In some languages, you can join objetos/array to one. For example, in PHP, I can join multiple arrays like this: $userInfo = ['name' => 'Wallace'] $jobInfo = ['job' => 'Developer'] $ageInfo = ['age' => '26'] $info =...
asked on 16.11.2016 / 13:03
3
answers

Change column for indentity using T-SQL in SQL Server

I need to change an existing column in a table so that it has the identity property using T-SQL and then insert data into this table. The column already contains data and after this insertion, I must again change this column by disabling...
asked on 15.12.2015 / 15:35
3
answers

Array passing as a parameter of a function

I want to get the array containing the numbers 3, 15 and 23 and with an output array display twice. But it is giving the following error:   Warning: Missing argument 1 for creating_array (), called in <?php function criando_array($...
asked on 04.03.2015 / 02:56
4
answers

"Filter" equal records in a list by adding their quantitative

namespace ConsoleApplication10 { class Program { static void Main(string[] args) { List<Teste> lstTeste = new List<Teste> { new Teste {Codigo = 1, Quantidade = 10},...
asked on 22.09.2015 / 22:22
3
answers

What language is used to program an operating system?

What language do you use in programming an OS?     
asked on 18.03.2016 / 17:57