All Questions

1
answer

Entity Framework 6 tries to insert FK

I have a small application in C #, WPF and EF6. I'm using Code First , but I'm having a hard time creating a relationship. Look at my code, of the classes I want to relate: I am editing for the final version, if anyone has the same doubt....
asked on 23.07.2015 / 03:44
1
answer

Sort structures because the representation is done in matrix?

Studying ordering methods, I realized that even the method receiving a vector, its graphical representation of how a method works and how it is explained in many materials is by using an array. As in the example below: (reference) . D...
asked on 25.08.2015 / 19:33
1
answer

How do I make my own commands and shortcuts in Eclipse?

What I mean by my question is that, for example, when I use sysout and Ctrl + Space the System.out.println(); method line is ready for me use, reducing my time to type everything. I would like to know if you can do my own co...
asked on 04.08.2015 / 14:24
1
answer

How to do a redirect via .htaccess?

I'd like to redirect 15 to 20% static% from one site to another url, type: urls to http://meusite.com.br/home1.html http://novosite.com.br to http://meusite.com.br/home2.html http://novosite.com.br to h...
asked on 06.08.2015 / 02:00
1
answer

Function JS does not perform calculation

I created a form that is added to the page with a button. I used JS to create the form to be added. The problem is that I have two fields one of value and another of hours, to count the value of the time worked. Then I applied to the input that...
asked on 11.08.2015 / 15:52
2
answers

Error with regular expression in PHP

Would anyone know to tell me why this regular expression of the error in PHP? /:[^\/\]*/ It is being used this way: return '/' . preg_replace('/:[^\/\]*/', '([^\/]*)', $value) . '/'; I'm trying to "break" one counter against another bu...
asked on 03.05.2014 / 20:51
4
answers

PHP MVC - Inclusion of CSS, Images etc

Hello, in my application I'm having problems when I add a css file, image or any other file that is frontend, because when I include it, I need to set the whole directory of it, for example. The views directory has the following structure  ...
asked on 23.03.2014 / 15:21
1
answer

How to notify the tracking of the mails to the user?

I have an eCommerce that integrates with Mail , except for the tracking system, which only includes the tracking code in order. I need every time I change the status, the customer is notified via email. With the code below, I can make an i...
asked on 21.08.2015 / 14:48
1
answer

Site load progress system

Some sites like Walking Dead and YouTube has a system that appears above when the page is loading and an image appears in GIF or CSS3 by flipping on the side or a progress bar. What is the name of this system or how can I do it? I've done...
asked on 08.04.2014 / 04:10
3
answers

Include link in a container

I have a container in my code and I need it to be clickable, with href , let's assume that by clicking it, go to "Google.com". How can I do this? <div class="project-2 v-center"> <div><!--v-center--> <div class="...
asked on 26.04.2014 / 16:54