All Questions

1
answer

How to enable explicit_defaults_for_timestamp?

I installed MySQL Server 5.6. When I try to connect the MySQL server running mysqld.exe, I get the following message: [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (se...
asked on 24.08.2014 / 06:44
1
answer

Working with Excel data in C #

I need to create an application that reads a small sequence of data available each in an Excel column. My question is if the best way is to treat SQL directly by uploading the file and then dealing with a procedure or working with the data in C...
asked on 01.07.2014 / 15:51
1
answer

Is it possible to execute a query (insert) and only then check if it is duplicate?

I am reading an XML file and at the same time I insert the records into the DB. My code looks like this: foreach($itens as $item) { ... if ( ! $stmt_insert_item->execute ( ) ) { if ( $this->mysqli->errno == ER_DUP_...
asked on 06.06.2014 / 16:04
1
answer

How to modify the default transition of pages in Windows Phone 8.1?

Hello, I'm having a hard time finding a solution to create customizable page transitions in Windows Phone 8.1 , because when I try to use the toolkit I read on this blog (
asked on 27.06.2014 / 20:47
1
answer

Consultation in a relationship Many to Many in Laravel 4

Well, I'm "stuck" on a problem with a client report. I have the following relationship: Module (id, name) Associate (id, name, upper_id) Associates_Modules (modulo_id, associated_id, class, enrolled, attending, dropping) What I nee...
asked on 17.08.2014 / 00:38
1
answer

Query in mysql with hierarchy

I have a table called 'departments' with the following structure: CREATE TABLE 'departments' ( 'id' tinyint(255) NOT NULL AUTO_INCREMENT, 'company_id' tinyint(255) NOT NULL, 'name' varchar(255) NOT NULL, 'parent_id' bigint(20) DEFAULT...
asked on 08.07.2014 / 16:20
1
answer

Create Roles to Hide / Show Menu

I'm developing my first application in Asp.NET MVC and now creating the restriction and authorization part of users. I would like to do this so that the menus in my application would only be accessible to certain users. For example: @i...
asked on 07.07.2014 / 17:27
1
answer

How to make the clip property: rect (...) do not occupy space (width)

I would like to know if there is any chance that clip: rect(...) will actually 'cut' the element in question, not just hiding it. Here in this image, without clip: rect(...) , shows the border to exceed the space of your containe...
asked on 15.02.2014 / 21:31
1
answer

Problem loading ajax with Cakephp 2.x

My page loads are done via ajax and loaded into the div content. Where do I get the url through the onclick event of the link, and then do the loading. Calls made directly through the menu work normally, but when I try to get the onclick event i...
asked on 12.03.2014 / 16:24
1
answer

Simulate another environment by using the 'composer update' command

I have a Symfony2 project with dependencies managed by composer , with their composer.json and composer.lock files synchronized between my local machine and the production server through git . It is known that...
asked on 15.12.2013 / 01:18