(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
.controller('AppCtrl', function ($scope, $ionicModal, $timeout, AuthFactory, localStorage, $cordovaPush, $cordovaDevice, $cordovaDialogs, $cordovaToast, $cordovaVibration, MensagemFactory, $ionicLoading, $rootScope) { | |
// Form data for the login modal | |
$scope.loginData = {}; | |
// Create the login modal that we will use later | |
$ionicModal.fromTemplateUrl('templates/login.html', { | |
scope: $scope | |
}).then(function (modal) { | |
$scope.modal = modal; | |
}); |
# coding: utf8 | |
import bdb | |
import sys | |
# borrowed from: https://gist.github.com/rctay/3169104 | |
def info(type, value, tb): | |
if (hasattr(sys, 'ps1') | |
or not sys.stdin.isatty() |
/* | |
Codigo de definicao: fibonaci.h | |
*/ | |
#ifndef FIBONACI_H | |
#define FIBONACI_H | |
class Fibonaci{ | |
public: | |
void Fibonaci(); |
/* | |
Codigo de definicao: temperatura.h | |
*/ | |
#ifndef TEMPERATURA_H | |
#define TEMPERATURA_H | |
class Temperatura{ | |
public: | |
Temperatura(); |
</html> | |
<head> | |
<title>Trabalho de Simulação</title> | |
</head> | |
<body> | |
SementeA: <input type="text" id="sementeA" > <br> | |
SementeB: <input type="text" id="sementeB" > <br> | |
Ciclos: <input type="text" id="ciclos" > <br> | |
<button onclick="javascript: executaAplicacao()">Executar Simulação</button><br> | |
</body> |
/*Função que lista todos os dados de uma marca*/ | |
int GodFilter(char marca[], int ano, char cor[]) | |
{ | |
printf("Carros \n============================="); | |
int contador = 0; | |
int maximo = sizeof(CarrosDeRevendedora); | |
for ( ; contador < maximo ; contador++ ) | |
{ |