This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int fibonacci(){ | |
int end; | |
cout << "Ingrese un fin para la serie: "; | |
cin >> end; | |
int a = 1, b = 1, sum = 0; | |
for(unsigned i = 0; i<end; i++){ | |
sum = a + b; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var RutBus; | |
(function (RutBus) { | |
var MainCtrl = (function () { | |
function MainCtrl($mdSidenav, $state) { | |
this.selectedMenu = 'dashboard'; | |
this.$mdSidenav = $mdSidenav; | |
this.$state = $state; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Rebase from 're-base'; | |
const ref = new Firebase('https://aiolostest.firebaseio.com'); | |
class AuthServices { | |
constructor(){ | |
} | |
getCurrentUser(callback){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var app_id = "1733144626961713"; | |
var scopes ="email, user_friends"; | |
var btn_login = "<a id='login'>Iniciar Sesion</a>"; | |
window.fbAsyncInit = function() { | |
FB.init({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ImageConversor{ | |
constructor(){ | |
} | |
static convertImageToCanvas(base64){ | |
let image = new Image(); | |
image.src = base64; | |
let canvas = document.createElement("canvas"); |