Skip to content

Instantly share code, notes, and snippets.

View luiszimmermann's full-sized avatar
👽
a developer with operational tendencies

Luís Zimmermann luiszimmermann

👽
a developer with operational tendencies
View GitHub Profile
@luiszimmermann
luiszimmermann / get-python-package-latest-versions.sh
Created April 25, 2025 21:42
Get the latest version of a Python Package directly from pypi API using only curl and jq.
#!/bin/bash
# Verifica se um nome de pacote foi fornecido como argumento
if [ -z "$1" ]; then
echo "Usage: $0 <python-package-name>"
exit 1
fi
PACKAGE_NAME=$1
@luiszimmermann
luiszimmermann / private_fork.md
Created December 14, 2023 17:30 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@luiszimmermann
luiszimmermann / grails-stopwatch.groovy
Last active October 18, 2018 19:17
grails stopwatch example
import org.grails.core.util.StopWatch
class IntercomManager {
public void test() {
StopWatch stopWatch = new StopWatch("teste")
stopWatch.start("teste")
//CODE
stopWatch.stop()
println stopWatch.shortSummary()
}