All Questions

2
answers

How can I save the image of a fingerprint reader in Mysql?

I would like to save the image, (NOT the template) of a fingerprint image, the code to convert it according to the DigitalPersona manual is this: public Image CrearImagenHuella(DPFPSample sample) { return DPFPGlobal.getSampleConversionFac...
asked on 23.08.2016 / 18:43
2
answers

Go to another controller from javascript

I want to redirect from a view to a controller that is a higher level, for that I use @url.action in this way miUrl = '@Url.Action("CambiarEstadoVisita", "~/Areas/Visitas/Visita")'; But the link it generates is this: http://localho...
asked on 24.08.2016 / 10:23
2
answers

Is there something like typeof in Python?

As the title says, is there a way to get the internal data type of a variable in Python 3? In C # I can compare it in the following way: var str = "Strings"; if (str.GetType() == typeof(string)) Debug.WriteLine("str es un string.");...
asked on 01.07.2016 / 18:19
3
answers

I can not manually enroll students with a Moodle Script

I am trying to enroll students manually in a Moodle course using a Script but I can not. I am using the function role_assign of Moodle but it does not work for me. The code I am using is the following: //obtiene...
asked on 29.09.2016 / 10:13
2
answers

Give different numerical format with JavaScript

Is it possible to perform the number format that is done in php but in javascript? I found that it could be with valor.toFixed(); but it does not. Does anyone know another way to do it? Something like 46786.62 convert it to 46,7...
asked on 12.08.2016 / 19:23
2
answers

Can I abbreviate input types in Sass?

Writing some code using Sass I found this: input[type="text"]:focus { border: 3px solid #AFDDFB; transition: 100ms linear; } But I need to cover other types of Input, like this: input[type="text"]:focus, input[type="password"]:focus...
asked on 10.09.2016 / 20:40
2
answers

Using String

import java.util.Scanner; public class String { public static void main(String[] args) { Scanner sc = new Scanner (System.in); String cadena; System.out.println("Introcuce un nombre"); cadena = sc.n...
asked on 08.10.2016 / 10:30
1
answer

Get answer through ajax

I have a hypothetical problem : Mipagina.php <?php if(isset($_GET['nombre']) && !empty($_GET['nombre'])) :?> <?php $nombre = $_GET['nombre'];?> Hola <?php echo $nombre;?> <?php else:?> <form...
asked on 19.08.2016 / 18:48
2
answers

Send the contents of an .eml file by email with c #

Would it be possible to send the content of an .eml file by email with c # without an attachment? I am currently sending messages with class MailMessage and I do not know if it would be possible to enter the content (with included phot...
asked on 18.01.2016 / 17:45
1
answer

Delete a Git branch both locally and remotely

   Original question: Delete a Git branch both locally and remotely by Matthew Rankin I want to delete a branch both locally and at the branch of my remote project on Github. Deleted local branch successfully $ git branch -D bugfix...
asked on 23.12.2015 / 23:00