All Questions

3
answers

Doubt about how the header is interpreted

We have a <header> main on the page where we normally put the logo image. Within this <header> does the image require both alt and title to be interpreted by the correct search engines? I would like...
asked on 30.12.2014 / 03:52
2
answers

How to use @ Font-face with an arbitrary font?

I would like to know how it works @ font-face how should I apply it in my CSS code as I want to use a font called Tekton Pro in> but if you only use the font-family: Tekton Pro tag does not work and would like it to get caught up in brows...
asked on 20.05.2015 / 15:35
1
answer

Is it possible to implement null or undefined methods?

If I wanted to implement a variable check whenever I was to use the .indexOf() method of javascript would it be possible? For example, using a.indexOf(b); can detect when a is null or undefined and change me...
asked on 16.04.2015 / 19:30
1
answer

Can I use the DAO and Repository project patterns together?

I'm studying data persistence in Java and these two patterns came to me: DAO and Repository. Many say that it is better to use DAO, while others prefer the Repository. Already some mention the use of both in the project. So I thought about usin...
asked on 18.04.2015 / 05:28
1
answer

Check if Input :: file exists Laravel

I have a class created by me that uploads files. I would like to check if Input :: file ('image') exists, because if it does not exist, it does not upload the image. Follow my code: if(Input::has('name')){ $file = Input::file('imagem');...
asked on 13.05.2015 / 22:02
2
answers

Pass parameter of a function according to the value clicked with JavaScript

I need to pass the value of a function according to its clicked value. There are 3 divs, each one is a gallery. I need to click on the "see more" option, open a page with all the photos only from that gallery, however, I do not know how to pass...
asked on 15.04.2015 / 00:03
1
answer

Back debug line

In the old Visual Basic if you were in debug step-by-step and without wanting to go beyond a line you wanted to check, there was the option to go with the cursor up the line above and press the key combination: Crtl + F9 so that deb...
asked on 22.05.2015 / 16:01
2
answers

Click on Notification Desktop and go to the same window without refreshing the page

I am developing a chat with WebSocket and I have a problem, when I send a message to a friend, he receives the desktop notification (from the Browser he is) and when he clicks on the notification he goes to the conversation window of the person...
asked on 10.05.2015 / 17:56
1
answer

FTP Connection Failure in C #

I'm developing a Console application in c # that makes the connection to an FTP server (or at least should), I have the following code: FTPConnection Class class FTPConnection { private Connection con; private FtpWebRequest ft...
asked on 18.05.2015 / 22:30
2
answers

Navigate query records with PHP PDO

I have always worked with ASP connections using ADODB and navigating the logs that the query returned to me was not a problem since they were: <% rs.movenext //anda para proxima linha do retorno da query rs.moveprevious //anda para linha an...
asked on 16.04.2015 / 15:21