All Questions

2
answers

Do diagonal in CSS

I am trying to recreate an image in CSS but I do not get the "diagonal" as shown in the image. Until now I could only superpose the two colors creating 3 div's, the container, the blue and the golden. I enclose my html and css:...
asked on 11.05.2018 / 20:55
2
answers

How can I show the value of a variable on a screen within a text in c #? [duplicate]

I'm doing a desktop application and I want to show the value of a variable on the screen inside the quotes this is my code static void Main(string[] args) { int casa = 16; Console.WriteLine("variable {{casa}}");...
asked on 19.07.2018 / 14:00
1
answer

Handling exceptions in Java

Performing a code scan with Fortify detects the following vulnerability in my code. Which tells me the following:    If the catch blocks are several, it can be uncomfortable and repetitive,   but if you "condense" catch blocks by getting a hi...
asked on 01.05.2018 / 01:55
1
answer

How to align right css?

Good I'm doing a design in css, it's practically a circle and inside the circle to enter a number, the bad thing that when I do all the circles I do it down. I would like you to place as the last bone image on the side Here is the code in css...
asked on 25.05.2018 / 07:27
3
answers

How to check existence of records in mysql with php?

I'm doing a class work in which they ask me to make a record system, to insert the user's data in a database, I have the following function: function comprovaUsuari($user, $passwd){ $servername = "localhost"; $username = "root"; $d...
asked on 28.03.2018 / 12:54
2
answers

It is possible to cast objects of abstract classes

hi how I have a question that is killing me I hope you can help me what I know according to what I understand:    You can not instantiate objects of an abstract class my doubt: The Graphics2D class inherits from Graphics both are ab...
asked on 16.05.2018 / 09:39
1
answer

How to use pragma pack?

I recently found this code #pragma pack(push) #pragma pack(2) I do not understand very well how to use this pre-processor directive although from what I see it is directly related to the structures     
asked on 02.05.2018 / 00:19
3
answers

php always returns 0

I'm doing a calculation for php, picked up with jQuery and passed in ajax. All this within a wordpress (I think this does not influence the failure). After filling 3 fields (1 input and 2 select) you must send it by ajax and the php add the valu...
asked on 06.07.2018 / 18:23
4
answers

Create a circular menu in ios with swift

I need to make a menu in IOS , that when the application starts, a menu like this will appear: I have been looking at bookstores but none resemble what I need. I've also tried with constraints but I can not make it look lik...
asked on 13.10.2016 / 09:25
2
answers

Uncaught ReferenceError: $ is not defined

I do not know why I get that error if jQuery is the first library I import, I'm working with Laravel and this is what I have in my app.js file import jQuery from 'jquery' import My_Script from './script/myscript.js' and in the wlcome.blade...
asked on 02.04.2018 / 03:16