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
{
"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"

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.

{
"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 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.
@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 project that tests the given web application using *Katalan*.
### The Task
https://dev-usdm-digital-exp-web.codelitt.dev
### Features and Requirements
Scenario:
- We will have 1000 devices capturing the user's heart rate, with 1 check per second;
- each device captures geolocation (latitude, longitude), user (name and age), device, date, heart rate;
- Doctors are only interested in all data of the last day (current day is not important in this scenario)
- Doctors need analytics dashboards with data by age and by user (from the last day - not considering today)

Instructions

Parse and evaluate simple math word problems returning the answer as an integer.

Iteration 0 — Numbers

Problems with no operations simply evaluate to the number given.

What is 5?

@kaiomagalhaes
kaiomagalhaes / file.md
Last active May 16, 2022 18:36
JLL - Senior FullStack Engineer - Pro

.Net/Core

  1. How does the .NET framework work? .NET framework-based applications that are written in supportive languages like C#, F#, or Visual basic are compiled to Common Intermediate Language (CIL). Compiled code is stored in the form of an assembly file that has a .dll or .exe file extension. When the .NET application runs, Common Language Runtime (CLR) takes the assembly file and converts the CIL into machine code with the help of the Just In Time(JIT) compiler. Now, this machine code can execute on the specific architecture of the computer it is running on.
  2. What is .NET core? .NET Core can be said as the newer version of the .NET Framework. It is a cost-free, general-purpose, open-source application development platform provided by Microsoft. It is a cross-platform framework because it runs on various operating systems such as Windows, Linux, and macOS. This Framework can be used to develop applications like mobile, web, IoT, machine learning, game, cloud, microservices, etc. It consists of impor
'\n<svg xmlns="http://www.w3.org/2000/svg" style="display:none"><symbol id="logo-text-svg" viewBox="0 0 100 100"><path d="M61.2 81.8c1.1-1.2 1.5-2.6 1.5-4.7c0-2-0.4-3.3-1.4-4.5c-1.1-1.2-2.4-1.8-4.2-1.8c-3.3 0-5.5 2.6-5.5 6.4 c0 3.9 2.2 6.4 5.5 6.4C59 83.5 60.3 82.9 61.2 81.8z M58.6 73.7c0.4 0.6 0.7 1.6 0.7 3.3c0 2.9-0.6 4.1-2 4.1c-0.6 0-1.3-0.3-1.6-1 c-0.3-0.6-0.4-1.7-0.4-3.1c0-1.2 0.1-2.1 0.3-2.7c0.3-0.8 0.9-1.2 1.7-1.2C57.8 73.1 58.3 73.3 58.6 73.7z M76.8 83.2L80.4 71H77 l-0.9 4.4c-0.3 1.6-0.6 3.5-0.7 4c0 0-0.4-2.1-0.9-4.3l-1-4.1h-3l-1.2 4.1c-0.6 2.1-0.9 4.3-0.9 4.3S68 77 67.7 75.5l-1-4.6h-3.3 l3.4 12.3h3l0.6-2.5c0.3-1.1 0.8-3.3 1.1-4.3c0.2-0.9 0.2-1.1 0.3-1.6c0.1 0.5 0.1 0.6 0.2 1.2c0.1 0.8 0.4 2 0.7 3l1.1 4.2H76.8z M45.8 83.2h3.3l0-17.7l-3.3 0.7L45.8 83.2z M39.4 83.2h3.3l0-17.7l-3.3 0.7L39.4 83.2z M33 83.3h3.2l0-11.5L33 72.5L33 83.3z M34.6 71c1.1 0 2-0.9 2-2c0-1.1-0.9-2-2-2c-1.1 0-2 0.9-2 2C32.7 70.2 33.6 71 34.6 71z M30 83.2l0.9-2.7h-5.6l-1.4 0 c0 0 0.3-0.5 0.6-1.1l6.4-11.1v-2.4h-10L20 68.7h5.2c1 0 1.4 0