All Questions

1
answer

How to model a set of 1 to 4 default values

I'm modeling a MySQL database where key entities are documents. Among several other fields, these documents relate to one or more phases of a given project. There are 4 basic values (let's call them A, B, C and D), and the phase property...
asked on 19.11.2015 / 20:03
1
answer

Is there any way to go back to the last branch in git?

The title says it all. Around and half we use git as follows: git checkout branch_x git checkout branch_y git checkout branch_x x can be master , or any feature branch any. I'd like to know if there is any way to ge...
asked on 16.11.2015 / 16:53
2
answers

Report error while performing UPDATE with SQL

I have a project, in which the administrator can change registered data of tables, but if the query is executed but no change occurs, I would like to return a message or error, here is what I have so far: $altera = "UPDATE z SET y= a WHERE x= x...
asked on 16.11.2015 / 23:20
2
answers

Find string inside a php tag

When using in several types of embed from several sites, and go get only the link. For example: Youtube: <iframe width="420" height="315" src="https://www.youtube.com/embed/HLhuNbO0egU"frameborder="0" allowfullscreen></iframe>...
asked on 23.11.2015 / 11:11
1
answer

Is it possible to enable light bulbs in Visual Studio?

Can you use light bulbs in Visual Studio 2013 Ultimate Update 5? How to enable the feature?     
asked on 17.11.2015 / 20:28
1
answer

use excel spreadsheet to fill web form [closed]

I have a spreadsheet in Excel, it was generated from a form on a system and then some data was selected. After that I have to put this data in another web form, this form is in another system than the one that generated the initial worksheet. To...
asked on 23.11.2015 / 02:06
2
answers

VBA - Counting the number of cells filled in row

Hello everyone. I'm trying to create a code responsible for reading the number of cells filled in the rows .. I tried this way but I was not successful. For b = 1 To rMaior contador = Worksheets("1").Range("b:b").Cells.SpecialCells(...
asked on 10.11.2015 / 13:55
2
answers

How do I convert an RGB image to grayscale in Python?

I need to convert a number of RGB (color-coded%) images to grayscale.     
asked on 20.11.2015 / 22:44
1
answer

Configure page headers with DOMPDF

Is there any way to configure DOMPDF to place a header on all pages of the generated PDF? I am generating a report and would like all the pages of the report to have the header of the first one. //define o estilo da página pdf $style='...
asked on 09.09.2015 / 19:02
1
answer

How to separate a fixed route from a variable route with asp.net mvc5

I have a control that manages videos. I'm trying to do these two methods: [Route("video/categoria/{categoria}")] public async Task<ActionResult> Index(string categoria) { } [Route("video/categoria/new-movies")] public as...
asked on 04.11.2015 / 21:34