All Questions

4
answers

Is it possible to change the color of the mouse cursor via CSS?

I know that it is possible to change the style (type) of the mouse cursor via the cursor property in the CSS. But does anyone know if it's possible to change the cursor color? In an application I would like to have the pointer c...
asked on 31.01.2014 / 21:37
4
answers

How can I request a user confirmation in a bash file?

I need to display a message on the Console and ask for a confirmation. For example, ask the user to type SIM to continue, and check this.     
asked on 09.03.2014 / 21:43
1
answer

Information Protection when inspecting the code through the browser

I wonder if there is any way to hide the visible code in the inspect / ctrl + U or make it difficult. From what I've been researching PHP makes it difficult to consult the code, do you? What methods do you know about this?     
asked on 01.12.2016 / 03:10
3
answers

What is the difference between function () {} and () = {}? Why does not $ http.get work?

When I use $http.get('/products').then((response) => { this.products = response.data; this.allProducts = response.data; }); The page loads with the products in Google Chrome, but when I use $http.get('/products').then(function(...
asked on 29.07.2016 / 16:36
3
answers

How to block adblock? [duplicate]

I'm building a site that works with ads and so I can not allow a user to enter adblock, I tried to use the www.antiblock.org script but it only works on one page, another page where I work with navigation without refresh using ajax it blocks t...
asked on 17.04.2016 / 20:27
5
answers

Is it possible to convert a 16-bit number to a single byte?

If I create the following expression: Int16 numero = 2017; byte m = (byte) numero; m will have the value of 225 . Ok, how do I get 2017 from the byte m (reverse operation) again?     
asked on 17.07.2017 / 19:20
2
answers

Relationship between Middleware and Application Delegate

I'm studying OWIN and its Katana implementation by Microsoft. I've already asked about this here and the answers will help you get a good overview of the subject. Going deeper I found this doubt. In the specification two pro-operating objects...
asked on 27.05.2014 / 00:47
1
answer

Hexagons grid - return neighbors

I'm writing a game simulator called Iso-Path. It consists of a hexagonal grid, being itself formed of hexagons You can see what I've already done on this link But I packed the time to pick up the neighbors of a certain cell. For examp...
asked on 29.08.2018 / 16:51
2
answers

Enable Proguard in Android application

I did an example project, using SQLCipher , and I'm trying to obfuscate the code with Proguard , however, after exporting and signing the application, and converting classes.dex with dex2jar , I can practically see all code wit...
asked on 19.05.2015 / 13:22
2
answers

Increase dblib connection timeout with PDO

In a connection to an external server ( MS SQL SERVER ), from another system with which I integrate some data, it is extremely slow, and thus the connection to the database gives error. How to increase the timeout of the PDB connection with...
asked on 05.09.2016 / 16:55