Skip to content

Instantly share code, notes, and snippets.

View alvarocavalcanti's full-sized avatar

Alvaro Cavalcanti alvarocavalcanti

View GitHub Profile
@alvarocavalcanti
alvarocavalcanti / empty_guide.md
Last active March 23, 2020 14:42
site config guide
@alvarocavalcanti
alvarocavalcanti / Dockerfile.dev
Last active April 28, 2024 19:41
Configuring Python Remote Interpreter using Docker
FROM python:3.7
ENV PYTHONUNBUFFERED 1
WORKDIR /code
# Copying the requirements, this is needed because at this point the volume isn't mounted yet
COPY requirements.txt /code/
# Installing requirements, if you don't use this, you should.
# More info: https://pip.pypa.io/en/stable/user_guide/
@alvarocavalcanti
alvarocavalcanti / README.md
Last active August 15, 2019 10:23
Files from TDD + Mob Programming Exercise

wpe-tdd-mob-programming

Overview

This is the scope of this exercise:

  • Create an endpoint GET /v1/howmanybooks/author+name that will return a phrase stating how many books the specified author has
  • The Open Library Search API should be used

TDD Resources

@alvarocavalcanti
alvarocavalcanti / Uncle Bob Scribe's Oath
Created December 12, 2017 15:08
Uncle Bob Scribe's Oath
Uncle Bob's Scribe's Oath
1. I will not produce harmful code
2. I will not produce code that's not my best
3. I will provide with each release a quick testable repeatable proof that code works
4. I will not avoid release that will impede progress(short term rapid releases)
5. I will fearlessly and relentlessly improve the quality of code. I will
never make the code worse
6. I will keep productivity high I will not do anything that decreases
productivity
7. I will continuously ensure others can cover for me and I can cover for them
@alvarocavalcanti
alvarocavalcanti / pre-commit.sh
Created August 4, 2017 21:21 — forked from chadmaughan/pre-commit.sh
A git pre commit hook that runs the test task with the gradle wrapper
#!/bin/sh
# this hook is in SCM so that it can be shared
# to install it, create a symbolic link in the projects .git/hooks folder
#
# i.e. - from the .git/hooks directory, run
# $ ln -s ../../git-hooks/pre-commit.sh pre-commit
#
# to skip the tests, run with the --no-verify argument
# i.e. - $ 'git commit --no-verify'

Keybase proof

I hereby claim:

To claim this, I am signing this object: