Skip to content

Instantly share code, notes, and snippets.

View kaiomagalhaes's full-sized avatar
🦑
Hunting giant octopuses

Kaio Magalhães kaiomagalhaes

🦑
Hunting giant octopuses
View GitHub Profile
## Instructions
The goal of this exercise is to create a project that tests the given web application using *Katalan*.
### The Task
https://dev-usdm-digital-exp-web.codelitt.dev
### Features and Requirements
@kaiomagalhaes
kaiomagalhaes / tab.tsx
Last active November 28, 2021 18:53
Tab gist
import React, { useState } from 'react';
import classNames from 'classnames';
import styles from './Tab.module.scss';
import { Button } from 'agnosticDesignSystem';
type MenuItem = {
title: string | React.ReactNode;
active?: boolean;
key: string;
};

Instructions

The goal of this exercise is to create a backend using C# using the REST arquitecture.

The Task

In this task, we are building backend of an application that helps us managing our team.

Features and Requirements

  • A member has a name and a type the late one can be an employee or a contractor.
{
"offset": 2,
"page_size": 20,
"total_pages": 3,
"data": [
{
"id": 1,
"date": "10/21/2021",
"product": {
"name": "Box",

Instructions

The goal of this exercise is to create a demo calendar application using React. We strongly recommend create-react-app to make the bootstrapping of your application really easy.

Please don't use a calendar library, we would like to see your own calendar logic.

The Task

You should start by rendering a single month view of a calendar for the current month – along with the lines of the calendar image in this project.

{
"subscriptionId": "a910b322-fbcf-4550-ac7b-c311ad8ddc32",
"notificationId": 456,
"id": "e4aaa8a5-6ef8-4950-85a4-0aab2d7048f4",
"eventType": "ms.vss-code.git-pullrequest-comment-event",
"publisherId": "tfs",
"message": {
"text": "Victor Carvalho has commented on a pull request",
"html": "Victor Carvalho has \u003ca href=\"https://dev.azure.com/AY-InnovationCenter/Avant/_git/ay-pia-web/pullrequest/608?discussionId=2939\"\u003ecommented\u003c/a\u003e on a pull request",
"markdown": "Victor Carvalho has [commented](https://dev.azure.com/AY-InnovationCenter/Avant/_git/ay-pia-web/pullrequest/608?discussionId=2939) on a pull request"
{
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"notificationId": 32,
"id": "fb2617ed-60df-4518-81fa-749faa6c5cd6",
"eventType": "workitem.commented",
"publisherId": "tfs",
"message": {
"text": "Bug #5 (Some great new idea!) commented on by Jamal Hartnett.\r\n(http://fabrikam-fiber-inc.visualstudio.com/web/wi.aspx?pcguid=74e918bf-3376-436d-bd20-8e8c1287f465\u0026id=5)",
"html": "\u003ca href=\"http://fabrikam-fiber-inc.visualstudio.com/web/wi.aspx?pcguid=74e918bf-3376-436d-bd20-8e8c1287f465\u0026amp;id=5\"\u003eBug #5\u003c/a\u003e (Some great new idea!) commented on by Jamal Hartnett.",
"markdown": "[Bug #5](http://fabrikam-fiber-inc.visualstudio.com/web/wi.aspx?pcguid=74e918bf-3376-436d-bd20-8e8c1287f465\u0026id=5) (Some great new idea!) commented on by Jamal Hartnett."
@kaiomagalhaes
kaiomagalhaes / Dockerfile
Created July 1, 2021 00:17
Rails API dockerfile
FROM ruby:3.0.1-buster
ARG ENVIRONMENT
ARG SECRET_KEY_BASE
RUN echo "Running Dockerfile with the environment: ${ENVIRONMENT}"
WORKDIR /app
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
RUN bundle config set with ${ENVIRONMENT}
{
"subscriptionId": "b6cf2a23-6f33-4e41-9923-c1250e4a5caf",
"notificationId": 1,
"id": "bf7e26f9-cba9-4968-8d5b-0430b563b06b",
"eventType": "ms.vss-pipelines.run-state-changed-event",
"publisherId": "pipelines",
"message": {
"text": "Run 20210625.13 succeeded.",
"html": "Run \u003ca href=\"https://dev.azure.com/AY-InnovationCenter/e57bfb9f-c5eb-4f96-9f83-8a98a76bfda4/_build/results?buildId=2092\"\u003e20210625.13\u003c/a\u003e succeeded.",
"markdown": "Run [20210625.13](https://dev.azure.com/AY-InnovationCenter/e57bfb9f-c5eb-4f96-9f83-8a98a76bfda4/_build/results?buildId=2092) succeeded."
{
"subscriptionId": "51df0f91-0568-42f9-a781-1d06547f1ba1",
"notificationId": 65,
"id": "5b701b7a-c4f6-483a-be6f-5ca0649866cb",
"eventType": "git.pullrequest.updated",
"publisherId": "tfs",
"message": {
"text": "Kaio Cristian Costa Porto de Magalhães abandoned pull request 447 (Updated README.md) in roadrunner-repository-test\r\nhttps://dev.azure.com/AY-InnovationCenter/Avant/_git/roadrunner-repository-test/",
"html": "Kaio Cristian Costa Porto de Magalh\u0026#227;es abandoned \u003ca href=\"https://dev.azure.com/AY-InnovationCenter/Avant/_git/roadrunner-repository-test/pullrequest/447\"\u003epull request 447\u003c/a\u003e (Updated README.md) in \u003ca href=\"https://dev.azure.com/AY-InnovationCenter/Avant/_git/roadrunner-repository-test/\"\u003eroadrunner-repository-test\u003c/a\u003e",
"markdown": "Kaio Cristian Costa Porto de Magalhães abandoned [pull request 447](https://dev.azure.com/AY-InnovationCenter/Avant/_git/roadrunner-repository-test/pullrequest/447) (Updated README.md) in