All Questions

2
answers

How to optimize a Gif's color palette?

I have a method that generates images through an array of bytes that I get in the database. The generated files are between 15 and 130 kb in the gif format, they were bigger but it diminishes the dimensions a little. But I need all files t...
asked on 13.06.2014 / 16:37
1
answer

Render pages within _Layout.cshtml of other types. Asp.Net MVC 4

I'm basically developing a kind of social network, however I'm having some problems rendering pages within my _Layout.cshtml page. Html <ul class="dropdown-menu"> <li class="header">Você tem @pUser.RequestsToAccept.Co...
asked on 21.05.2014 / 22:11
1
answer

Class protected and public

What is the behavior of a protected class? What is the impact of access modifiers (especially private and protected) on classes, and what are their common uses? I can understand its functionality when attributed to methods, properties and...
asked on 03.06.2014 / 15:50
1
answer

jQuery Window Plugin gives "$ is not defined" error

I have the following problem, I found a plugin, jQuery Window , which opens windows with button to minimize, maximize, etc., and opens pages within that window, but I'm not getting it to work. I would like to use example number 6, method 2...
asked on 20.05.2014 / 19:05
3
answers

I can not access the property of the object. Laravel / Eloquent ORM

I can not access the properties of the related object. Well, I have a class named FileClass , it has the following relationship with class FileServico : FileClass.php public function fileServico(){ return $this->has...
asked on 05.06.2014 / 18:59
1
answer

How to format a cell from the RGB code contained in the cell itself

Is it possible to change the background color of a cell from a code RGB or hexadecimal written as text in the cell itself? Let's say I write 255,0,0 in célula A1 and when I press enter the bottom of the cell ch...
asked on 02.11.2016 / 17:18
3
answers

How to collapse the height of an element with jQuery

Oops, I'm not able to collapse the height of an object in the document. I have a slider, which works with ul > li (maybe it's relevant), and inside a <li> slide, I'm putting via javascript and c # three divs, each with...
asked on 11.06.2014 / 21:40
1
answer

Use list as dictionary value using append () method Python

I have some dictionary in python, and I want to assign a list as value for each key of the dictionary, however I need to use the append () method to add elements, but after adding the elements in the list, the value of the key is None. Ex:...
asked on 20.06.2014 / 05:19
1
answer

Attempt to update registry ID not allowed with JPA and EclipseLink

How do I allow a record ID to be updated with JPA and EclipseLink? The following exception is thrown when I try to update the ID:    Caused by: Exception [EclipseLink-7251] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.ecli...
asked on 29.05.2014 / 19:07
1
answer

JDBC - does not connect to Mysql database

In java I created a project where I use the drive mysql-connector-java-5.1.40-bin.jar In this project I created a class with a form to register course and in mysql I created a database called sistema with a table called curso...
asked on 02.11.2016 / 17:49