A tool to create static libraries ( *.a ) for your C projects.
# The syntax is: car <output_file.a> <arq1.[ao]> ... <arqn.[ao]>
$ car librequester.a libraries/libttm.a *.o
:: Creating up 'output'
:: Created librequester.a| import io.undertow.server.HttpHandler; | |
| import io.undertow.server.HttpServerExchange; | |
| import io.undertow.server.RoutingHandler; | |
| import org.junit.Test; | |
| public class RoutingHandlerTest { | |
| @Test | |
| public void ensureItsPossibleToHandlePostAndGetToSameURL() { |
| class PersonAgeIncrementService { | |
| @Provided | |
| @Source( "persons" ) | |
| IMap< Long, Person > map; | |
| public void incrementPerson( long index ){ | |
| map.lock( index ); | |
| try { | |
| val person = map.get( index ); |
| package sample; | |
| import io.undertow.server.HttpServerExchange; | |
| import java.io.IOException; | |
| import java.io.Reader; | |
| import java.nio.channels.Channels; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| public class JSONConverver { |
| package com.mastersaf.integrator.infor; | |
| import static org.junit.Assert.assertThat; | |
| import java.util.ArrayList; | |
| import lombok.val; | |
| import org.hamcrest.Matchers; | |
| import org.junit.Test; |
| import static org.mockito.Matchers.any; | |
| import static org.mockito.Mockito.mock; | |
| import static org.mockito.Mockito.when; | |
| import io.undertow.server.HttpServerExchange; | |
| import io.undertow.server.ServerConnection; | |
| import io.undertow.server.protocol.http.HttpServerConnection; | |
| import io.undertow.util.HeaderMap; | |
| import io.undertow.util.HttpString; | |
| import io.undertow.util.Protocols; |
| #!/bin/bash | |
| # FUNCTIONS | |
| print(){ | |
| echo ":: $@" 1>&2 | |
| } | |
| # VARIABLES | |
| # USAGE CHECK |
Notes by Jeremy W. Sherman, October 2013, based on:
Feathers, Michael. Working Effectively with Legacy Code. Sixth printing, July 2007.
Foreword:
A straightforward version from Vincent Driessen article.
Create a copy branch from develop.
$ git checkout -b feature-1 developMerge with develop after code your feature.
An easy to dev game to practice SOLID and other Clean Architecture Principles. In this game, only a few features will be implemented.
Blind Warrior is a command line game. It tells a history where a blind warrior named ZISKA. Some day, during his daily morning coffee at the Queen Sophia's Cafeteria, the entire city was invaded by the army of the German Empire. A noble hero does not flee without a fight: Ziska took a weapon and starts to fight against all enemies.
The game will have no input options. Here what it will do: