All Questions

1
answer

Differences between Maven and Gradle

I'm starting with Gradle and I was wondering what are the main differences with Maven when starting a new project in groovy / grails. Note: The question can be considered as opinion and be moderate, I would appreciate it if you help me unders...
asked on 17.09.2016 / 19:18
1
answer

to toggle divs by time or with click

I'm working with the following js: $(document).ready(function () { var allBoxes = $("div.boxes").children("div"); transitionBox(null, allBoxes.first()); }); function transitionBox(from, to) { function next() { var nextTo; if...
asked on 09.09.2016 / 09:43
1
answer

Problem with RecyclerView on Android

I am trying to implement a list with a RecyclerView whose adapter is powered by a cursor. I do not understand why when executing the app, the list shows only the first element although in the table of the database I have 7 records. I chec...
asked on 17.09.2016 / 12:43
1
answer

PHP PDO Rollback does not work

Hi, I am trying to execute a PDO Rollback in a function where I involve several tables and there are several insert and updates. I am working with MVC and POO. Maybe I have something wrong with my structure, if so, could you tell me where...
asked on 31.08.2016 / 21:24
1
answer

Open activity from notification created by second application

I have two applications on android one of which generates a notification in the notification bar when an X event occurs, it could be a query to a database, when connecting the device to the current, etc. I would like to know if there is a way...
asked on 30.08.2016 / 19:33
2
answers

Copy a word right next to another

I'm starting with python and I'm trying to make a script that takes a txt file with a list of words vertically and copied the same word next to it this automatically, it would be something like that. dictionary.txt: casa123 per...
asked on 23.08.2016 / 13:03
2
answers

Two forms in a single view Django - CreateView

I am trying to create a single form for a user that has fields of both forms, both the user and the userprofile that you create to extend the model. models.py from django.db import models from django.forms import ModelF...
asked on 02.09.2016 / 14:30
3
answers

Alternative to .replace () so that it does not generate error in function with keys

I am creating a function that takes a nested array and returns it in a one-dimensional array, the problem is that I can not make it walk for cases in which keys {} are an element of the array, since the function .replace detect the laves, return...
asked on 20.08.2016 / 23:19
1
answer

C ++ Unknown error, I have no idea what happens

The goal is to format the date correctly, but I need to use that method in the constructor. #include <cstdlib> #include <iostream> #include "fecha.h" using namespace std; class Fecha { public: Fecha(); Fec...
asked on 29.08.2016 / 06:17
2
answers

Share text to app inventor

I have been researching, because I need to share text to an app created with inventor app. I do not need a button to have my app and it can share, this is how it is done. I need the opposite (for example, my app appears in chrome) and when...
asked on 31.08.2016 / 06:24