Skip to content

Instantly share code, notes, and snippets.

View isaacarnault's full-sized avatar
:octocat:
top user

Isaac Arnault, PhD isaacarnault

:octocat:
top user
View GitHub Profile
@isaacarnault
isaacarnault / Cost_considerations_Azure.md
Last active April 26, 2024 14:03
Deploy a 3 Databricks nodes cluster using Terraform on Azure

Cost considerations are based on a cluster running 5 hours daily on a monthly basis.

To estimate the monthly cost based on a Databricks cluster running for 5 hours daily, we'll need to consider the pricing for the Databricks cluster instance type (e.g., Standard_DS3_v2) and the number of nodes, as well as any associated Azure services like storage, Key Vault, and Azure AD integration. Let's break down the estimation:

• Databricks Cluster: Determine the hourly rate for the selected instance type and number of nodes. For example, let's say the hourly rate for a Standard_DS3_v2 instance is $0.5. Calculate the daily cost: 5 hours/day * $0.5/hour = $2.5/day Calculate the monthly cost: $2.5/day * 30 days = $75/month

• Azure Storage Account:

@isaacarnault
isaacarnault / .gitignore
Last active March 1, 2024 14:06
Find all the Fridays of the year 2019 using Python
________ ________ ___ __ ___
|\_____ \|\ __ \|\ \|\ \ |\ \
\|___/ /\ \ \|\ \ \ \/ /|\ \ \
/ / /\ \ __ \ \ ___ \ \ \
/ /_/__\ \ \ \ \ \ \\ \ \ \ \
|\________\ \__\ \__\ \__\\ \__\ \__\
\|_______|\|__|\|__|\|__| \|__|\|__|
You don't have to use packages such as datetime, timedelta, calendar.
@isaacarnault
isaacarnault / OUTPUT.md
Last active February 17, 2024 18:42
Data collection using Python

Data collection using Python

See output

isaac-arnault-data-collection-P.png

@isaacarnault
isaacarnault / PM.md
Last active October 22, 2023 11:58
Project Management cheatsheet

1-BFTWWQO8gd-Rb6ah-N0-Gdbp-A.png

I've put in place an Project Management cheat-sheet for those aiming to become Project Managers.


Question
answer
During which process group does the project manager orient team members to the project and expectations?
Executing

Your project seems to be going off track, so you take action to resolve the problem. In which project management process group are you working?
@isaacarnault
isaacarnault / .gitignore
Last active October 19, 2023 18:47
Data engineering using Spark - Scala
________ ________ ___ __ ___
|\_____ \|\ __ \|\ \|\ \ |\ \
\|___/ /\ \ \|\ \ \ \/ /|\ \ \
/ / /\ \ __ \ \ ___ \ \ \
/ /_/__\ \ \ \ \ \ \\ \ \ \ \
|\________\ \__\ \__\ \__\\ \__\ \__\
\|_______|\|__|\|__|\|__| \|__|\|__|
Windows, gist was made on a Linux OS.
@isaacarnault
isaacarnault / .gitignore
Last active October 17, 2023 08:43
Access S3 buckets using CLI (Linux)
________ ________ ___ __ ___
|\_____ \|\ __ \|\ \|\ \ |\ \
\|___/ /\ \ \|\ \ \ \/ /|\ \ \
/ / /\ \ __ \ \ ___ \ \ \
/ /_/__\ \ \ \ \ \ \\ \ \ \ \
|\________\ \__\ \__\ \__\\ \__\ \__\
\|_______|\|__|\|__|\|__| \|__|\|__|
@isaacarnault
isaacarnault / .gitignore
Last active September 23, 2023 05:54
Installing Oracle SQL developer on Linux
________ ________ ___ __ ___
|\_____ \|\ __ \|\ \|\ \ |\ \
\|___/ /\ \ \|\ \ \ \/ /|\ \ \
/ / /\ \ __ \ \ ___ \ \ \
/ /_/__\ \ \ \ \ \ \\ \ \ \ \
|\________\ \__\ \__\ \__\\ \__\ \__\
\|_______|\|__|\|__|\|__| \|__|\|__|
SQL workbench. Use Oracle SQL Developer instead.
PL/SQL. Gist uses basic SQL syntax.
@isaacarnault
isaacarnault / .gitignore
Last active August 20, 2023 09:48
Creating a static website in 5 minutes using S3 on AWS
________ ________ ___ __ ___
|\_____ \|\ __ \|\ \|\ \ |\ \
\|___/ /\ \ \|\ \ \ \/ /|\ \ \
/ / /\ \ __ \ \ ___ \ \ \
/ /_/__\ \ \ \ \ \ \\ \ \ \ \
|\________\ \__\ \__\ \__\\ \__\ \__\
\|_______|\|__|\|__|\|__| \|__|\|__|
## log into your AWS Management Console
@isaacarnault
isaacarnault / ELASTIC.md
Last active November 25, 2022 09:15
Elasticsearch cheatsheet

1-BFTWWQO8gd-Rb6ah-N0-Gdbp-A.png

I've put in place an Elasticsearch cheat-sheet for those preparing an Elastic certification.


Question
answer
_____ is a way to tell Elasticsearch how to configure an index when it is created.
Index Template

A business analyzes sales and consumer use data using Amazon Elasticsearch Service (Amazon ES). Travel is being made by members of the company's globally distributed sales staff. They must sign in to Kibana using their corporate credentials saved in Active Directory. The organization has used Active Directory Federation Services (AD FS) to provide cloud service authentication. Which solution will satisfy these criteria?
@isaacarnault
isaacarnault / .gitignore
Last active November 18, 2022 16:09
Deploying a serverless web app using an API Gateway and Lambda function on AWS
________ ________ ___ __ ___
|\_____ \|\ __ \|\ \|\ \ |\ \
\|___/ /\ \ \|\ \ \ \/ /|\ \ \
/ / /\ \ __ \ \ ___ \ \ \
/ /_/__\ \ \ \ \ \ \\ \ \ \ \
|\________\ \__\ \__\ \__\\ \__\ \__\
\|_______|\|__|\|__|\|__| \|__|\|__|