This file contains 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
package com.albertfx.games.web.rest; | |
import static org.assertj.core.api.Assertions.assertThat; | |
import static org.hamcrest.Matchers.hasItem; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; | |
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put; | |
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; | |
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; |
This file contains 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 { Component, OnInit, OnDestroy } from '@angular/core'; | |
import { Router, ActivatedRoute } from '@angular/router'; | |
import { Response } from '@angular/http'; | |
import { Observable } from 'rxjs/Rx'; | |
import { JhiEventManager, JhiAlertService } from 'ng-jhipster'; | |
import { Game } from './game.model'; | |
import { GameService } from './game.service'; |
This file contains 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
package com.albertfx.games.service; | |
import org.springframework.data.domain.Page; | |
import org.springframework.data.domain.Pageable; | |
import com.albertfx.games.domain.Game; | |
public interface GameService { | |
/** |
This file contains 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
<div> | |
<h2> | |
<span jhiTranslate="gamesApp.game.home.title">Games</span> | |
<button class="btn btn-primary float-right jh-create-entity create-game" [routerLink]="['/', { outlets: { popup: ['game-new'] } }]"> | |
<span class="fa fa-plus"></span> | |
<span jhiTranslate="gamesApp.game.home.createLabel"> | |
Create new Game | |
</span> | |
</button> | |
</h2> |
This file contains 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 { Component, OnInit, OnDestroy } from '@angular/core'; | |
import { ActivatedRoute, Router } from '@angular/router'; | |
import { Subscription } from 'rxjs/Rx'; | |
import { JhiEventManager, JhiParseLinks, JhiPaginationUtil, JhiLanguageService, JhiAlertService } from 'ng-jhipster'; | |
import { Game } from './game.model'; | |
import { GameService } from './game.service'; | |
import { ITEMS_PER_PAGE, Principal, ResponseWrapper } from '../../shared'; | |
import { PaginationConfig } from '../../blocks/config/uib-pagination.config'; |
This file contains 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
print("VAMONO DE FIEHTA NO O K") |
This file contains 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 personas.Rufian | |
import personas.RufianImpl | |
import personas.persona | |
public class Personas{ | |
public static void apalear(Persona s){ | |
if(s.equals(new RufianImpl()){ | |
while(s.stillAlive()){ | |
apalizar(s); | |
} |