Dziękuję za przestrzeń na opowiedzenie w kilku słowach o otwartych danych w ZTM. "Plan prezentacji i linki":
twitter contact: @kubem
package com.example.caching; | |
import lombok.Data; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.CommandLineRunner; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cache.CacheManager; |
package com.example.properties; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.beans.factory.config.ConfigurableBeanFactory; | |
import org.springframework.boot.ApplicationArguments; | |
import org.springframework.boot.ApplicationRunner; | |
import org.springframework.boot.SpringApplication; |
Dziękuję za przestrzeń na opowiedzenie w kilku słowach o otwartych danych w ZTM. "Plan prezentacji i linki":
twitter contact: @kubem
package com.example.java7; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.concurrent.*; | |
public class MultiThreadExample { | |
private static final Random PRNG = new Random(); |
I would like to use Arquillian Cube containerless to spin of already backed docker images (with an application deployed alread there).
The image is already prepared by a seperate project and what I would like to get is a separate project with integration test (wrtitten in Spock - ideally, but JUnit is ok so far).
This is pretty much as was described in here: on IRC transcription (the only place where I found the reference to something I’d like to get).
What I’m having is a container built elsewhere (a different project) and I’d like to use Arquillian Cube to use it and run tests against it.
//this is just for github to render a literal == Personal details [itemtype-Person] -- [itemprop-name]#Jakub Marchwicki# + [itemprop-url]#http://jakub.marchwicki.pl[Personal website]# + [itemprop-email]#somename@gmail.com#
Zadanie: Jaka jest suma wysokości oznaczonych budynków. | |
Motoryka: | |
1. Podzielcie się na kilka zespołów (5) | |
2. Zadanie1: Zastanówcie się i podajcie sumę wielkości budynków - wyrażoną w metrach | |
3. Humans are pretty bad at estimating (don't you hate it when people ask you to guess their age or weight?), and the more unknowns there are, the worse we are at doing it. By using relative estimation, we can then just shift things to a matter of scale. It is (generally) much easier to look at two things, and say roughly, one is twice the height of the other, or twice the size of the other. | |
4. Zadanie2: Budynek 5 ma wielkość "3". Podaj sumę wysokości wyrażoną w punktach. | |
5. Jeżeli nie czujecie story points, to możecie używać innych abstrakcyjnych wartości: Koszulki, złoty podział | |
6. Zadanie3: Podajemy rzeczywistą wielkość któregoś z budynków. Liczymy sumę wysokości. |
public class Tools { | |
public static String dateToString(String date) | |
{ | |
String t="0"; | |
// mmrrr | |
if (date.length()==6) t=date.substring(2,6)+"0"+date.substring(0,1); | |
if (date.length()==7) t=date.substring(3,7)+date.substring(0,2); | |
if (date.length()==9) t=date.substring(5,9)+date.substring(2,4)+"0"+date.substring(0,1); |
package pl.marchwicki.dozer; | |
import org.dozer.DozerBeanMapper; | |
import org.dozer.loader.api.BeanMappingBuilder; | |
import org.dozer.loader.api.FieldsMappingOptions; | |
import org.dozer.loader.api.TypeMappingOptions; | |
import pl.marchwicki.basetypes.BeanA; | |
import pl.marchwicki.basetypes.BeanC; | |
import pl.marchwicki.basetypes.TargetBean; |
SMS - 226660312ssm.sqlite | |
Contacts - 3406066227csotncta.sqlite |