All Questions

2
answers

How to embed app nodejs in java application

There is an application developed in spring and angularjs, the problem is that they want to make an app in nodejs and be able to embed it within the java application, I mean Something like pressing a button, and look at your node app, suppose...
asked on 25.02.2017 / 17:10
1
answer

Opacity change in invisible menu

I've made this menu link . In which when entering the cursor on the page changes its opacity to 50% and when you put on it, it is 100% opacity. As you can see, it works more or less, but when you put it on it disappears, it reappears a couple o...
asked on 04.02.2017 / 18:22
3
answers

Prevent TempData from becoming null when reloading view

I have a problem with TempData when refreshing the view. This controller assigns a string to TempData : public ActionResult Sucursales(string rfcCompany) { model.CuentaUser = CuentaUser; TempData["RFCCompa...
asked on 24.03.2017 / 19:51
1
answer

Problems importing libraries in Python

I'm doing a tutorial on beautifulsoup in Python (version 2.7) with the following code: from bs4 import BeautifulSoup import urllib2 f = open ('C:\Python27\project\FFootball_DiamondMine\outfileESPN.txt','w') errorFile = open ('C:\Python27\proj...
asked on 16.03.2017 / 02:20
1
answer

Detect if the Android Wear screen is square, circular or fringed

How can you detect what kind of screen the smartwatch has on Android Wear of the three existing types? Rectangular square Circular round Circular with lower strip (Moto360) chin     
asked on 25.11.2016 / 09:42
1
answer

error 405 POST ajax laravel MethodNotAllowedHttpException

I have a form in which I try to add a category by means of ajax and whenever I try to create a category I get POST 405 error, and it never reaches Controller category and obviously does not enter anything in the database I use windows 7 and X...
asked on 21.11.2016 / 18:11
1
answer

Error 1215: MySQL foreign key can not be added

I am trying to make a Foreign Key to some tables that I have created but MySQL does not allow me, these are the tables: CREATE TABLE publicador(id_publicador INT NOT NULL PRIMARY KEY AUTO_INCREMENT UNIQUE, fecha_publica...
asked on 09.12.2016 / 05:25
1
answer

Error: Expression must have a constant value

   Expression must have a constant value I get this error on line int mas[n] . Why does the error occur? int main() { int n; cout << "Enter the number of elements: "; cin >> n; int mas[n]; srand(time(NULL)...
asked on 28.11.2016 / 10:52
1
answer

Android firebase persistence

I'm doing an android application with firebase, but I want to add the option to work offline, I read it with FirebaseDatabase.getInstance().setPersistenceEnabled(true); but I do not know how to implement it since I'm getting the following...
asked on 28.11.2016 / 21:59
1
answer

Center button in IONIC

It turns out that I want to center this button: <div class=""> <button class="button button-block button-positive" ng-click="facebookLogin()" style="width:300px;"> <i class="icon ion-social-facebook"></i>...
asked on 29.11.2016 / 22:14