All Questions

1
answer

Custom RoleProvider

I'm implementing authentication with% custom%. I have a class RoleProvider and a class Usuario with many to many relationship. I created a folder in the project called Role and within the folder a class named Securi...
asked on 11.03.2014 / 00:16
1
answer

Is it possible to create a trigger that invokes a web service?

I'm working on the integration of two databases. It is a system that needs the status of employees in HR. For performance issues, I can not point all the employee-dependent queries to the HR base, what I did was create a functionality to i...
asked on 20.01.2014 / 13:05
2
answers

Name of the months in Portuguese and English

In the site where I work, I use the following query to display in Portuguese the dates that are stored in the database: $conn->exec("SET lc_time_names = 'pt_PT'"); However, I discovered that the site will become bilingual (Portuguese a...
asked on 25.02.2014 / 17:34
1
answer

SQL Query Count

I need to make a query where the result is the medals (gold, silver, bronze and total (sum of 3)) obtained by each country in all editions of the Olympic Games. So far so good, the query below already does this. The problem is that the medals...
asked on 20.05.2014 / 00:40
1
answer

Why does ob_get_clean clear the memory without starting the buffer with ob_start ()?

I was testing tests one day, analyzing how functions influence memory usage, and by chance I called the function ob_get_clean() . I noticed that the function call "decreased" the memory size used by php. With ob_start() I have pr...
asked on 26.03.2014 / 17:20
1
answer

Div appear in the bottom (Superscrollorama)

I have a problem with Scrollorama. I would like the div to start appearing already in the bottom, but it is only appearing when I am already in the middle of the site. The class: $(document).ready(function() { var controller = $.superscroll...
asked on 25.02.2014 / 00:52
1
answer

z-index of an element without defined position

Is it possible to know z-index of an element without a defined position using javascript? For example in this code: CSS #exemplo1 { z-index:4; } #exemplo2 { z-index:4; position: relative; } HTML <div id="exempl...
asked on 24.03.2014 / 21:58
1
answer

Generate contour graphics on a map of 360 * 360 positions with weights from 0 to 1

What technique can I use to generate c and d style graphics for this figure? Myinputwillbeinthepattern:X,Yandtheweightofthisposition,whereXandYrangefrom-180°to180°,andtheweightrangesfrom0to1using6housesdecimals, this is the example1 Thi...
asked on 28.03.2014 / 16:35
2
answers

Problem with animate.css in fonts in Safari

I'm having problems rendering fonts that have effects from the Animate.css plugin And that only happens in Safari. Website Link . As an example, the first three links in the menu have no effect, and the last three links are with the "anim...
asked on 07.05.2014 / 15:57
1
answer

Increase login session time google with Laravel 4

Working with the Google 3.0 API. My Laravel session expires in 5 years (not to log out). But the Google session has 3 hours, ie if the system is stopped for 3 hours it logs out from Google, but not from the system in Laravel. What I want i...
asked on 25.02.2014 / 23:03