Hauexek dira gure garapen ingurunea instalatzeko behar ditugunak (Ubuntu 23.04 bertsioan probatuta):
Exekutatu komando hauek:
sudo apt-get install openssh-client openssh-server
ssh-keygen| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
| /******************************************************************************************************************** | |
| Countdown.js is a simple script to add a countdown timer | |
| for your website. Currently it can only do full minutes | |
| and partial minutes aren't supported. This script is a fork of http://jsfiddle.net/HRrYG/ with some | |
| added extensions. Since the original code that I forked was released under Creative Commons by SA license, | |
| I have to release this code under the same license. You can view a live demo of this code at http://jsfiddle.net/JmrQE/2/. | |
| ********************************************************************************************************************/ | |
| function countdown(minutes) { | |
| var seconds = 60; | |
| var mins = minutes |
| function string_to_slug (str) { | |
| str = str.replace(/^\s+|\s+$/g, ''); // trim | |
| str = str.toLowerCase(); | |
| // remove accents, swap ñ for n, etc | |
| var from = "àáäâèéëêìíïîòóöôùúüûñç·/_,:;"; | |
| var to = "aaaaeeeeiiiioooouuuunc------"; | |
| for (var i=0, l=from.length ; i<l ; i++) { | |
| str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i)); | |
| } |
| /** | |
| * Stop an iframe or HTML5 <video> from playing | |
| * @param {Element} element The element that contains the video | |
| */ | |
| var stopVideo = function ( element ) { | |
| var iframe = element.querySelector( 'iframe'); | |
| var video = element.querySelector( 'video' ); | |
| if ( iframe ) { | |
| var iframeSrc = iframe.src; | |
| iframe.src = iframeSrc; |
| // we have an array of objects, we want to remove one object using only the id property | |
| const apps = [{id:34,name:'My App',another:'thing'},{id:37,name:'My New App',another:'things'}]; | |
| // get index of object with id of 37 | |
| const removeIndex = apps.findIndex( item => item.id === 37 ); | |
| // remove object | |
| apps.splice( removeIndex, 1 ); | |
| {% for article in articles %} | |
| {% include 'articles/partial/partial_article.html' %} | |
| {% empty %} | |
| <h1>Nothing to show</h1> | |
| {% endfor %} | |
| <!-- Pagination --> | |
| {% if articles.has_other_pages %} | |
| <div class="text-center"> | |
| <ul class="pagination pagination-lg text-center"> |
| import { Injectable } from '@angular/core'; | |
| import { HttpErrorResponse, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; | |
| import { Observable } from 'rxjs/Observable'; | |
| import 'rxjs/add/operator/mergeMap'; | |
| import { AuthService } from './auth.service'; | |
| @Injectable() | |
| export class TokenInterceptor implements HttpInterceptor { |