Skip to content

Instantly share code, notes, and snippets.

View timoteoponce's full-sized avatar

Timoteo Ponce timoteoponce

View GitHub Profile
@timoteoponce
timoteoponce / EXERCISE: Messaging service-play.md
Created March 14, 2017 22:57
EXERCISE: Messaging service-play.md

Exercise: Messages list service

This exercise consists on creating a REST service that allows external applications to create and manage message lists, basically there are two contexts:

  • User management: Services that allow the register, update or removal of users
  • Messages management: Services that allow message exchange between registered users

So the service will allow users to be registered, send messages between them and retrieve all the messages directed to a specific user.

## Example

@timoteoponce
timoteoponce / EXERCISE: Messaging service-spring.md
Created March 14, 2017 22:58
EXERCISE: Messaging service-spring.md

Exercise: Messages list service

This exercise consists on creating a REST service that allows external applications to create and manage message lists, basically there are two contexts:

  • User management: Services that allow the register, update or removal of users
  • Messages management: Services that allow message exchange between registered users

So the service will allow users to be registered, send messages between them and retrieve all the messages directed to a specific user.

## Example

@timoteoponce
timoteoponce / wildfly-8-https-how-to.md
Created June 9, 2017 17:42
Describes the steps needed to enable https on wildfly-8

Generate a certificate (only for testning)

  • Generate key
keytool -genkey -alias foo -keyalg RSA -keystore foo.keystore -validity 10950
Enter keystore password: secret
Re-enter new password: secret
What is your first and last name?
  [Unknown]:  foo.acme.com
What is the name of your organizational unit?
@timoteoponce
timoteoponce / word-count-1.md
Created August 1, 2017 15:27
Exercise: Word-count-1

Word count

TLDR: The program to write must calculate words frequency from a given file.

We will provide you a file with some text on it, and you have to open it and find the frequencies of all words in it having the following requirements:

  • Assume a valid UTF-8 input file
  • All words must be processed in lower case (ignore case) Output must be sorted by word alphabetically
  • Output must have one entry per word, having its frequency next to it
@timoteoponce
timoteoponce / word-count-2.md
Created August 1, 2017 15:30
word-count-2.md

Word count

TLDR: The program to write must calculate words frequency from a given file.

We will provide you a file with some text on it, and you have to open it and find the frequencies of all words in it having the following requirements:

  • Assume a valid UTF-8 input file
  • All words must be processed in lower case (ignore case) Output must be sorted by word frequency by descendant order
  • Output must have one entry per word, having its frequency next to it
@timoteoponce
timoteoponce / word-count-3.md
Created August 1, 2017 15:32
word-count-3.md

Word count

TLDR: The program to write must calculate words frequency from a given file.

We will provide you a file with some text on it, and you have to open it and find the frequencies of all words in it having the following requirements:

  • Assume a valid UTF-8 input file
  • All words must be processed in lower case (ignore case) Output must be sorted by word frequency by descendant order
  • Output must have one entry per word, having its frequency next to it

Interview Coding Problem

INSTRUCTIONS:

You should not take more than 2 days to solve this problem. This application will be run from the commandline with the input file getting passed in as a parameter. The goal of this exercise is to get an idea of your coding as well as your software design skills. Your code should be clear and easily readable.

SOLUTION EXPECTED:

@timoteoponce
timoteoponce / EXERCISE: Messaging service-sinatra.md
Last active December 18, 2017 20:04
EXERCISE: Messaging service-sinatra.md

Exercise: Messages list service

This exercise consists on creating a REST service that allows external applications to create and manage message lists, basically there are two contexts:

  • User management: Services that allow the register, update or removal of users
  • Messages management: Services that allow message exchange between registered users

So the service will allow users to be registered, send messages between them and retrieve all the messages directed to a specific user.

Example

@timoteoponce
timoteoponce / EXERCISE: Messaging service-multi.md
Last active May 4, 2018 16:19
EXERCISE: Messaging service-multi.md

Exercise: Messages list service

This exercise consists on creating a REST service that allows external applications to create and manage message lists, basically there are two contexts:

  • User management: Services that allow the register, update or removal of users
  • Messages management: Services that allow message exchange between registered users

So the service will allow users to be registered, send messages between them and retrieve all the messages directed to a specific user.

## Example

@timoteoponce
timoteoponce / generate_ppk.md
Created June 13, 2018 18:54
Generate PPK from SSH keys

On mac

$> brew install putty
$> puttygen <my_private_key> -o generated.ppk