Skip to content

Instantly share code, notes, and snippets.

View eduardompinto's full-sized avatar
🌴
On vacation

Eduardo Pinto eduardompinto

🌴
On vacation
  • Berlin, Berlin, DE
View GitHub Profile
@paulera
paulera / how-to-take-psm-I-scrum-org.md
Last active December 26, 2024 16:53
A practical guide to prepare and take the PSM I (Professional Scrum Master 1) certification, from Scrum.org, entirely by yourself (no course required).

How to take the PSM I certification from Scrum.org entirely by yourself

Some people ask me about Scrum.org certifications: what to study, how to apply for the exam and advice for taking it. So I decided to write a guide for those interested in preparing and taking PSM I (Professional Scrum Master) without spending a fortune with training. With discipline, in around a month (or two), you should be ready to take the test.

The advice compiled here came from experienced agile coaches. Worked very well for me and I hope they will also help those who are seeking directions.

Table of Contents

@TWiStErRob
TWiStErRob / README.md
Last active June 12, 2023 00:21
Kotlin Script (kts) 1.3.21 with dependencies to call a JSON web endpoint, including tests
@subfuzion
subfuzion / curl.md
Last active January 9, 2025 18:14
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@drgarcia1986
drgarcia1986 / wait_example.py
Created August 15, 2015 02:57
Python asyncio.wait example with identified futures.
import asyncio
import aiohttp
URL_LIST = [
'http://google.com',
'http://abc.xyz',
'http://github.com',
'https://www.python.org/'
@asouza
asouza / gist:10302693
Last active August 29, 2015 13:58
Pegando só o primeiro elemento que obedece aos filtros sem a necessidade de passar pela lista inteira :). Claro que você pode fazer isso usando um loop normal, mas aqui isso é deixado para a API de Streams :)
class ExemploMaisComum {
private static List<Integer> numeros = Arrays.asList(1,2,3,4,5,6,7,8);
//passando por todos os números, a não ser que você programe a parada
public static void main(String[] args){
List<Integer> achados = new ArrayList<>();
for(int n : numeros){
if(n % 2 == 0){
achados.add(n);
//poderia parar aqui, é claro :).
}
@arnobroekhof
arnobroekhof / pre-commit
Last active July 31, 2024 14:52
Maven pre commit hook
#!/bin/bash
# save the file as <git_directory>/.git/hooks/pre-commit
echo "Running Maven clean test for errors"
# retrieving current working directory
CWD=`pwd`
MAIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# go to main project dir
cd $MAIN_DIR/../../
@jonathansp
jonathansp / sptrans.py
Created November 15, 2013 20:50
Um cliente python para a API Olho Vivo da SPTrans de São Paulo
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
""" Um cliente python para a API Olho Vivo """
import requests
class SPTransClient(object):
""" Um cliente python para a API Olho Vivo """
@dmitshur
dmitshur / gist:6927554
Last active December 29, 2024 12:06
[Legacy GOPATH mode] How to `go get` private repos using SSH key auth instead of password auth.