All Questions

4
answers

Dropdown menu partially opens

I have a dropdown menu using twitter-bootstrap 3 and it's inside a <li class="media"> , so every <li> has a dropdown with some actions, it happens that when the height of the <li> is less than the height of...
asked on 06.08.2014 / 20:31
2
answers

Object-return syntax in JavaScript

Using the Chrome console I used the following code (valid): function foo() { return { prop: "some value" }; } When changed, the syntax style is no longer valid ( { played to next line): function foo() { return...
asked on 31.07.2014 / 19:55
1
answer

Report progress for interface of an asynchronous method in C #

I have a Windows Forms application. This application will run some processes that take a while to run, so I would like to run them in parallel. Here's a little of what I'm trying to implement. In the form constructor, I create a generi...
asked on 09.09.2014 / 19:53
1
answer

How to get SHA1 from a String in Swift?

I know that the SHA1 object exists but I'm still learning the syntax, so, my beginner question is, given a simple string: var greeting = "Hello!" How to get SHA1 from greeting to Swift ?     
asked on 27.07.2014 / 14:21
2
answers

PHP Application Class

In PHP there is some class that works until, for example, I close the tab of my browser, without being a cookie, the session does not serve because it dies when the session ends, I would like to know if there is any class that I can extend in a...
asked on 15.08.2014 / 15:18
2
answers

Rank database [# 1 of 10]

I need to rank DB records during pagination. At first I do not intend to create a field for ranking. Assuming you have 10 records 1) Ordenando a paginação por AZ, quero listar com o número correspondente ao rank - #N de 10 Lorem i...
asked on 16.08.2014 / 09:09
1
answer

Difference between using the main element versus a div with role="main"?

Thinking in terms of accessibility, described by the WAI-ARIA , you need to define the element with the main content of the page with role="main" , in order to improve page accessibility for users with assistive technologies. For examp...
asked on 23.07.2014 / 03:40
1
answer

How to have your site featured on the right side on Google

I searched for the term "brainstorm9" on Google, and I noticed that Google highlighted the right side of the page for the G + page on the site. I thought there was only Wikipedia information. See the image: My question is: Do I need...
asked on 03.09.2014 / 14:59
1
answer

Format date and time and list according to the current date

This application has two tables: Students and Occurrences. To show the occurrences I can calmly ... But now I have a new business rule: Show the occurrences by date. So basically it would be the following, I would have to show the most current o...
asked on 12.08.2014 / 16:47
2
answers

What is the concept and how to implement an anemic domain model?

I would like to resolve the following doubts about the Anemic Model: What is the Anemic Domain Model ? What are the implementation differences of this template compared to the Object Oriented Model ? If possible, present a small exampl...
asked on 15.10.2014 / 13:23