Skip to content

Instantly share code, notes, and snippets.

View thiagobutignon's full-sized avatar

Thiago Butignon Claramunt thiagobutignon

  • 18:41 (UTC -03:00)
View GitHub Profile
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"url": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"url": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"url": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@thiagobutignon
thiagobutignon / privacy_budget_manager_lab.py
Created January 13, 2026 05:27
privacy_budget_manager_lab.py
import opendp.prelude as dp
dp.enable_features("contrib")
import pandas as pd
import numpy as np
import statistics
# =============================================================================
# DATASET SETUP
# =============================================================================
@thiagobutignon
thiagobutignon / privacy_budget_lab.py
Created January 13, 2026 00:45
privacy_budget_lab.py
import opendp.prelude as dp
dp.enable_features("contrib")
import pandas as pd
import numpy as np
# =============================================================================
# DATASET SETUP
# =============================================================================
# Create sample customer dataset
@thiagobutignon
thiagobutignon / example-1-la-place-algorithm-differential-privacy.py
Created January 13, 2026 00:26
example-1-la-place-algorithm-differential-privacy
import opendp as dp
import pandas as pd
import numpy as np
# Create sample customer dataset
customers = pd.DataFrame({
'age': [25, 34, 45, 29, 52, 38, 41, 33, 47, 36],
'purchase_amount': [150, 320, 890, 200, 450, 275, 680, 180, 520, 340]
})
/**
* This file is part of the Softbank Robotics tutorial project, specifically focused on animating
* the Pepper robot using the QiSDK framework. It demonstrates how to build and run animations
* alongside playing sound effects and handling robot lifecycle callbacks.
*
* @file AnimateTutorialActivity.kt
* @author Softbank Robotics Europe
* @since 2018
*/
import { HttpClient, HttpStatusCode } from '@/data/protocols'
import { InvalidCredentialError, UnexpectedError } from '@/domain/errors'

import { LoginUsecase } from '@/domain/usecases'

export class RemoteLogin implements LoginUsecase {
  constructor (
    private readonly url: string,
 private readonly httpClient: HttpClient
import { HttpClient, HttpStatusCode } from '@/data/protocols'
import { InvalidCredentialError, UnexpectedError } from '@/domain/errors'

import { LoginUsecase } from '@/domain/usecases'

export class RemoteLogin implements LoginUsecase {
  constructor (
    private readonly url: string,
 private readonly httpClient: HttpClient
{
"name": "Thiago",
"email": "[email protected]"
}