MarquinSmith

Analytical – Honest – Passionate

  • Home
  • Services
  • Mini Projects
    • Data Analytics Helper Tools
    • Bitcoin Price Dashboard
    • Journey to data engineering
    • Tarantino Film Dashboard
    • Woolworths stock price tracker
    • How to reason and argue
  • Reference
    • The BookShelf
    • SQL Cheat Sheet
    • Dockerfile Cheat Sheet
  • Health, fitness and wellbeing
    • Crossfit Workouts
    • Gymnastics
    • Strength and fitness masterclass
    • Nutrition Course
    • Workout Stats
    • Physical Activity Stats
    • 6 week pre season soccer fitness plan
  • About

Category: Automation

Automation

Python script to send an email with Sendgrid API

5th July 2025 M SmithLeave a comment

A short python script that uses the Sendgrid API to send a basic email.

Read More ›
Automation

gitleaks – a tool for detecting secrets

2nd July 2025 M SmithLeave a comment

I came across this great tool today called gitleaks. This tool will search through directories and git repos (all locally) to see if it can find any secrets, API keys, …

Read More ›
Automation

How to revoke read access to a single table in BigQuery using SQL

29th June 202528th June 2025 M SmithLeave a comment

If a particular user has been added read access to a table these permissions can be removed using the REVOKE keyword in SQL:

Read More ›
Automation

Copy a BigQuery model into another dataset using bq command line tool

27th June 202527th June 2025 M SmithLeave a comment

When creating or building a BigQuery Machine Learning model, the model itself is stored inside a BigQuery dataset. The code snippet below shows how to move a model from one …

Read More ›
Automation

A python command line tool to create dates in a range

26th June 202525th June 2025 M SmithLeave a comment

A simple tool to create dates in a date range at the terminal. Each date in the date range is printed to the screen allowing for redirection or incorporation into …

Read More ›
Automation

Trigger an Airflow DAG in Google Cloud Composer using gcloud command line tool

25th June 2025 M SmithLeave a comment

A code snippet showing how to trigger a DAG in Cloud Composer (managed Airflow) using the gcloud command line tool.

Read More ›
Automation

Loading data into SQLite

23rd June 202523rd June 2025 M SmithLeave a comment

Different approaches to load data into a SQLite database using the following Python libraries: Pandas Using the pandas library (alongside click, and uv) to load a csv file into a …

Read More ›
Automation

A command line tool to get csv summaries using Sweetviz

22nd June 2025 M SmithLeave a comment

Working with data involves handling a lot of data files, most commonly CSV files. It can be very helpful to do some exploratory data analysis on the CSV file to …

Read More ›
Automation

List users who have access to a dataset in BigQuery

18th June 202518th June 2025 M SmithLeave a comment

Use the bq command line tool to list the users who have access to a particular dataset in BigQuery

Read More ›
Automation

Set expiration table on existing Bigquery tables

11th June 202511th June 2025 M SmithLeave a comment
Read More ›

Posts pagination

1 2

Recent Posts

  • Learn Hard Concepts by Colin Galen
  • Self improvement inspired by the founders – Art of Manliness
  • Python script to send an email with Sendgrid API
  • gitleaks – a tool for detecting secrets
  • All roads lead to SQLite

Categories

  • Automation
  • Business
  • cybersecurity
  • Data Analysis
  • Finance
  • Personal Development
  • Python
  • Uncategorised
  • Web Analytics

Archives

Copyright © 2025 MarquinSmith.
Theme Easthill by ThemeMunk. Powered by WordPress.