All Questions

1
answer

Convert data datetime to dd / MM / yyyy

I have a GridView and I'm using TemplateField to display the date that is currently in the format 'string yyyy-MM-dd 00: 00: 00'. > I need to show this date only with dd/MM/yyyy . I have already tried {0:dd/MM/yyyy} and it doe...
asked on 25.05.2015 / 22:27
1
answer

Sort numeric vector without using Bubble sort

We usually learn in college that to sort entire vectors, we use a technique called bubble sort : int[] vetorOrdenado = new int[8]; vetorOrdenado[0] = 2; vetorOrdenado[1] = 41; vetorOrdenado[2] = 12; vetorOrdenado[3] = 6;...
asked on 27.01.2016 / 02:20
1
answer

Working with angularJS in master page asp.net

I've been involved with angularJS for these days, so at this stage of learning, a question arose. How do I work with angularJS in ASP.NET pages that have a master page? For example, I noticed that the "ng-app" directive should be pl...
asked on 21.08.2014 / 13:38
1
answer

Is JSF 2.2 suitable for modern HTML and CSS?

I will develop several web applications, and in most of them, besides receiving the documentation with the requirements, I will receive from a good web designer, the entire front-end (static) with HTML, CSS and Javascript using modern layouts....
asked on 30.01.2015 / 20:08
3
answers

Is there an XHTML5 (XHTML + HTML5)?

XHTML is HTML with strict syntax (must be a valid XML). Can I use it in conjunction with HTML5?     
asked on 01.04.2015 / 19:44
1
answer

What is procedural and non-procedural programming?

in this answer , but without too much stress, that:    "[...] procedural programming is an evolution of programming   structured [...] " And in this answer also:    [...] procedural programming is something that, to some extent,   u...
asked on 04.04.2017 / 22:16
1
answer

ArrayIndexOutOfBoundsException in Java 8 Parameters Reflection

I was doing a code with reflection in Java 8 when I came across a strange behavior - an ArrayIndexOutOfBoundsException unexpected. Based on this, I've decided to create a minimal, complete, and verifiable example. First look at this co...
asked on 18.03.2015 / 15:21
1
answer

How to use Template in C ++?

I'm learning a bit about template and I made an example, but when I applied to my project I could not, let's go to the following test: #include <iostream> using namespace std; template <class Type> class p{ public: Type setVa...
asked on 10.04.2015 / 14:42
2
answers

Block direct access to a directory and create condition to free access with .htacess

I have this for when: Request is not an existing file OR Request ends with .php RewriteCond %{REQUEST_FILENAME} !-f [OR] RewriteCond %{REQUEST_FILENAME} \.php$ RewriteRule ^(.*)$ http://login/sites/?request=$1 [L] I do not understand...
asked on 04.03.2015 / 16:41
3
answers

What is the purpose of String.raw in Javascript?

Well, the question is the same. I would like to know what the String.raw method in Javascript is for. I saw something in the MDN documentation, but I did not quite understand the use Is it related to string templates ?     
asked on 22.06.2018 / 21:33