Questions tagged as 'push'

2
answers

Problem with array

I have a very simple and strange problem in an array in which I declare it for example: $scope.pactUpdates = []; The problem is when I push on that array and I want to assign the value of a control that is empty. $scope.pactUpdates.push({...
asked by 12.07.2017 / 18:02
0
answers

How to operate the push and print a Stack with fixes?

It turns out that I want to make batteries with fixes, and I want to run the push and print, but I print it with errors. What corrections can I make? if possible, pop also want to do it, but I have no idea how to do it. Code: Pilas.h #p...
asked by 20.09.2018 / 03:06
1
answer

Do push in two different repositories

Is there a way to push two different repositories? I explain. I'm doing a course on programming at work and the code I publish in the official repository of the company, but I would like that same code to be published in my personal repository....
asked by 30.11.2018 / 13:23
1
answer

JavaScript: .push is not a function

How are you? I'm practicing some JavaScript, since I'm new to it, and I'm trying to create a "space invaders" game with p5.js. I have made some progress, but, I have encountered a problem that I can not solve: var ship; var aliens = []; var m...
asked by 10.08.2018 / 01:37
1
answer

How can I send push notifications from python?

I'm trying to make a program that communicates with Firebase and this sends push notifications to a single device on Android, I've been able to send notifications from Firebase but not from a Python program. push_service = FCMNotification(api_...
asked by 06.03.2018 / 16:26
1
answer

Can a user's push be reversed in git?

The topic is the following, I want to revert the Push of other users whenever I want, example: UsrA and UsrB work in a repository UsrB does a Push UsrA wants to revert it completely so that it is as if UsrB never made that Push. How c...
asked by 29.06.2017 / 23:51
0
answers

Add array to another without creating indexes in PHP

I have a foreach () that in each iteration adds arrays of 40 elements to another array, as shown in the following code: foreach($aVideos as $aVideo) { $aVideosReproducciones[] = $this->obtenerReproducciones($aVideos); } Assuming th...
asked by 27.10.2018 / 21:12
0
answers

Help with Ionic and Firebase * ngFor

What's wrong in my code, I want to do a ngFor of a variable where by means of a push the variable is added to be later observable by the asyn and wait function of addToArray () this.data = this.AuthService.getData() getData() { return ne...
asked by 11.06.2018 / 04:36
0
answers

Problem when doing a push in GIT (error 403)

I have to push my branch in for the repository. I have done an "add" and a "commit" without any problem. The console returns me: # git status # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # nothing to commit (workin...
asked by 25.12.2017 / 20:07
0
answers

Help server request from ajax

I need to make a query to the server if there is a new value in a table or not and if there is a notification that there is a new value I was looking and the best option would be with ajax but I am not very clear as do it This is the .php tha...
asked by 09.11.2017 / 21:31