This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user | |
export PROJECT_NUMBER=$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)") | |
export IDNS=${PROJECT_ID}.svc.id.goog # workload identity domain | |
export GCP_REGION="us-central1" | |
export GCP_ZONE="us-central1-a" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from six.moves import urllib | |
import requests | |
def url_is_alive(url): | |
""" | |
Checks that a given URL is reachable. | |
:param url: A URL | |
:rtype: bool | |
""" | |
request = urllib.request.Request(url) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Script that parses pricing data from Google's API. | |
Intended to be run periodically for the terra-ui's estimated price UI. The | |
output is something you could copy and paste into a javascript file. | |
See https://cloud.google.com/billing/v1/how-tos/catalog-api for more detail | |
on Google Cloud pricing information. | |
Usage: | |
1) Follow the instructions at the above URL to create an API key | |
2) Run `python3 parse_pricing_api.py ${API_KEY}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Yannick Caillaud", | |
"label": "Data Scientist @Betclic-Group", | |
"image": "", | |
"email": "[email protected]", | |
"phone": "", | |
"url": "", | |
"summary": "Passionate about Machine Learning, Data Mining and Data Science in general.\nEnjoy create value based on not enough exploited data: from POC to MVP to Production, from quick-wins to R&D challenge.\n[Kaggle](https://www.kaggle.com/kinnay) competition contributor.", |