All Questions

1
answer

Access Permissions in Laravel 4

I'm developing a system in Laravel 4 based on Laravel's official tutorials and documentation. I have not seen anything related to (ACL) access permissions in Laravel. Knowing that my system will have several resources available, such as: New...
asked on 07.02.2014 / 13:46
1
answer

Modeling for user permissions

I think this question is more about modeling analysis actually do not know if it fits into the standard questions discussed by meta.pt.stackoverflow.com . I need to make my system in a way that almost everything will have user permissions, I ma...
asked on 28.03.2014 / 18:23
3
answers

"Gambiarra" in C # with XML, I would like suggestions for improvement

I have this code without the "gambiarra", which returns the list with the values repeated: var s = (from p in xmlDoc.Descendants("pais") let Nomepais = p.Element("nome-pais").Value let nome...
asked on 30.04.2014 / 15:24
2
answers

How to avoid animation of elements that will not fit the width of the screen?

I created a jQuery animation for a customer's Christmas postcard. However, in 1024x768 or 800x600 resolution screens, elements appear in strange locations: The code below hides the balls at startup, then makes them appear one by one until...
asked on 20.12.2013 / 22:35
1
answer

How to compile C file using Sublime Text in Windows 8.1 64 bit?

I installed Sublime Text in Windows 8.1 64 bit. How to compile a * .c file through Sublime in Windows? Is it necessary to install a compiler and / or another program to alert code errors and create the executable file so that I can tes...
asked on 01.02.2014 / 23:12
4
answers

How to control when localstorage data expires?

I'm storing some data in the localstorage of the browser and would like to set an expiration date for this data, but I do not find a way to control when that data expires . Does this data have any control over when it will be discarded?...
asked on 29.01.2014 / 20:20
2
answers

String Conversion to Double Asp.NET C #

I need to convert a String value (returned by the database) to Double but when I do this, it simply modifies the value. Example: bank returns 22.5, when converted to Double in 225.0. String val_serv = consultaserv[2].ToString(); Double buffer...
asked on 17.03.2014 / 20:39
1
answer

How to add a control dynamically in C #?

How to add a control to a ASP.NET page dynamically using C # ?     
asked on 17.04.2014 / 23:12
2
answers

Display longblob field contents containing PDF file

I have a question regarding the longblob data that is stored in the Database. I currently have this for the other data: echo "<tr><td>Email:</td>"; echo "<td>"; if ($exibe['Email']) { echo $exibe['Email']...
asked on 14.02.2014 / 11:09
1
answer

What is "Helper" in Asp.Net MVC? [duplicate]

Please explain to serve Helper in Asp.Net MVC. I see many examples that contain Helper . I have no idea what Helper is. And how to create Helper?     
asked on 03.05.2017 / 05:07