All Questions

1
answer

Can you define the name of a structure with a variable?

The question is as follows (keep in mind that I am just learning C): Suppose I define a structure similar to this one struct Alumnos{ char asignatura[25]; int nota; }; and I want the user to enter a last name, save it in a vari...
asked on 28.01.2018 / 21:57
1
answer

How to date format a field obtained from the database?

I get a field from the string type database field = 20180117 I'm trying to do something similar to this datetime.strptime(campo, '%Y-%m-%d').strftime('%Y-%m-%d-T%H:%M:%S') 2018-01-17-T00:00:00 Any ideas or sug...
asked on 17.01.2018 / 20:38
4
answers

How to invoke 2 functions in Javascript, AJAX and PHP

I'm doing a little program which when the user clicks, it invokes 2 functions that do different things. When I click they send both (I checked it in the Chrome developer tools) and in fact they respond correctly to both PHP, however when they...
asked on 30.06.2016 / 23:32
3
answers

As insert invisible characters (hidden) in a text

A while ago I saw a website in English that I was unable to translate with any online translator, including Google translator. This is a piece of text:    Саrrоts аrе nоt јust fоr Вugs Вunnу! Іt іs а rісh sоurсе оf nесеssаrу   nutrіеnts аn...
asked on 28.06.2016 / 02:40
2
answers

How to get ID3 tags from an MP3 file?

How to get the arguments that contain a mp3 file using JAVA code, that is, the information such as the year, title, singer, year ... ? The issue is that what I want is to edit those values or objects ID3 by programming it with java, I...
asked on 01.07.2016 / 18:33
1
answer

Listing existing objects and search results in Django

I have the model LodgingOffer with its respective Manager. About I want to do some searches, for which I am using solr and haystack LodgingOfferManager has the active function () to retrieve the active objects of...
asked on 19.01.2018 / 03:47
2
answers

create a class to load an NxN matrix into C #

I do not know how to declare the attribute of the matrix without dimensioning it, since the dimension would be entered by keyboard.     
asked on 20.06.2016 / 23:02
3
answers

301 redirect htaccess /% E2% 80% 8E

I am not able to redirect a www.miweb.com/%E2%80%8E to www.miweb.com I tried htaccess: Redirect 301 /%E2%80%8E http://www.miweb.com Php $cadena = 'http://www.miweb.com/%E2%80%8E'; if(preg_match('/\/%E2%80%8E/', $cadena)){ header( "...
asked on 01.07.2016 / 09:54
2
answers

Show all active PHP variables

I need to know if any php function shows me all the variables that are defined on the screen. I'm doing an integration where I depend on other files that I do not have access to and I need to show all the variables I can access Thanks in a...
asked on 22.06.2016 / 07:09
2
answers

Why can not I run the Android emulator?

Greetings. I can not run the Android emulator in Android Studio. I have already installed HAXM and API 14 for IceCreamSandwich 4.0. The error that appears is that of the following image.     
asked on 20.06.2016 / 17:19