Skip to content

Instantly share code, notes, and snippets.

View AlbertFX91's full-sized avatar
💜

Alberto AlbertFX91

💜
View GitHub Profile
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;
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';
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 {
/**
<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>
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';
print("VAMONO DE FIEHTA NO O K")
@AlbertFX91
AlbertFX91 / Rufianes
Created June 19, 2013 09:52
Rufian rulez
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);
}