Skip to content

Instantly share code, notes, and snippets.

Avatar
🦑
Hunting giant octopuses

Kaio Magalhães kaiomagalhaes

🦑
Hunting giant octopuses
View GitHub Profile
View wordpress-exercise.md

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.

View pr-comment-azure.json
{
"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"
View gist:2c188a9e971dff352981909785e26b18
{
"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 Jul 1, 2021
Rails API dockerfile
View 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}
View gist:a66828bb4067181d5f21c7672c3c4806
{
"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."
View Azure abandoned
{
"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
View sentry.json
{
"id": "2406867242",
"project": "avant",
"project_name": "avant",
"project_slug": "avant",
"logger": null,
"level": "error",
"culprit": "Error: Invariant Violation: Invariant Violation: 17 (see (apollographql/invariant-packages))",
"message": "",
"url": "https://sentry.io/organizations/avison-young/issues/2406867242/?referrer=webhooks_plugin",
View k8s-roadrunner.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: roadrunner-deployment
labels:
app: roadrunner
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
View pull_request_updated.json
{
"subscriptionId": "51df0f91-0568-42f9-a781-1d06547f1ba1",
"notificationId": 1,
"id": "6c498869-ece2-4cb6-858c-7bc86dffd978",
"eventType": "git.pullrequest.updated",
"publisherId": "tfs",
"message": {
"text": "Kaio Magalhaes published the pull request\r\nhttps://dev.azure.com/AY-InnovationCenter/Avant/_git/ay-users-api-test/",
"html": "Kaio Magalhaes published the pull request",
"markdown": "Kaio Magalhaes published the pull request"
View new-review-json.json
{
"url": "https://api.github.com/repos/codelittinc/gh-hooks-repo-test/pulls/180",
"id": 455358380,
"node_id": "MDExOlB1bGxSZXF1ZXN0NDU1MzU4Mzgw",
"html_url": "https://github.com/codelittinc/gh-hooks-repo-test/pull/180",
"diff_url": "https://github.com/codelittinc/gh-hooks-repo-test/pull/180.diff",
"patch_url": "https://github.com/codelittinc/gh-hooks-repo-test/pull/180.patch",
"issue_url": "https://api.github.com/repos/codelittinc/gh-hooks-repo-test/issues/180",
"number": 180,
"state": "open",