Skip to content

Instantly share code, notes, and snippets.

View Intelrunner's full-sized avatar

Eric E. Intelrunner

View GitHub Profile
@Intelrunner
Intelrunner / resume.json
Created February 25, 2022 16:23 — forked from ycaillaud/resume.json
CV 2
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Yannick Caillaud",
"label": "Data Scientist @Betclic-Group",
"image": "",
"email": "yannick.caillaud@hotmail.fr",
"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.",
@Intelrunner
Intelrunner / parse_pricing_api.py
Created February 28, 2022 05:04 — forked from wnojopra/parse_pricing_api.py
Script that parses pricing data from Google's API.
"""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}`
@Intelrunner
Intelrunner / url_check.py
Created February 28, 2022 05:14 — forked from seenimohamed/url_check.py
To check whether a given url is up or not
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)
@Intelrunner
Intelrunner / gcp-iam-restrict-user-bucket.sh
Created March 3, 2022 20:10 — forked from mikesparr/gcp-iam-restrict-user-bucket.sh
Google Cloud Platform example to add IAM role restricting user to specific storage buckets with conditions
#!/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"