Skip to content

Instantly share code, notes, and snippets.

@yasmaryhd
yasmaryhd / _google-group-audit.py
Created February 26, 2025 20:04
Pull iam role assigned for google group list
import os
import re
import csv
from collections import defaultdict
from datetime import datetime
"""
This script searches for roles assigned to specific Google groups in Terraform (.tf) files
and outputs a CSV file with the results.
@yasmaryhd
yasmaryhd / gh-copy-subdirectory-to-new-repo-and-include-history.md
Last active December 17, 2024 10:52
Copy over GitHub subdirectory to new repo including git history

Background

The following is a step by step guide for copying over a subdirectory of an existing GH repository into a new repository, which also includes the git history.

Steps

1) Clone the source repo

NOTE: The tool we will be using in step 2 requires a fresh clone. If you want to use a specific version, you can run command in step 2 with a --force command.

@yasmaryhd
yasmaryhd / workaround_iap_oauth_consent_screen_config_in_terraform.md
Last active March 11, 2025 16:19
Workaround: Adding config for IAP OAuth Consent screen to TF
@yasmaryhd
yasmaryhd / getting_started_with_clasp_apps_script_cli.md
Created November 13, 2024 18:53
Getting Started with: Clasp, Apps Script CLI tool

The Apps Script CLI, or clasp, is a tool that lets you to create, edit, and deploy Apps Script projects locally. It allows you to create and publish web apps and add-ons for products like Sheets, Docs, Forms, and Slides from the command line. There are two ways you can develop Apps Script, using script.google.com or locally on your computer. Repo: https://github.com/google/clasp

Prerequisites

@yasmaryhd
yasmaryhd / Github-issues-and-project-cheatsheet.md
Last active February 3, 2022 04:11
Getting started with GitHub Issues & Project management

This is a reference for using GitHub as a project management tool. I will be using GitHub's beta project which has slightly different functionality than the default project.

Issues

For those that have used other project management tooling, issues are akin to JIRA stories or trello cards. Per GitHub's own definition: Use GitHub Issues to track ideas, feedback, tasks, or bugs for work on GitHub. Think of an issue as the place to track work (e.g. development) that is happening within the project.

Creating issues

Issues are scoped to a repository. Knowing this will help you figure out which of the following paths will be most convenient for managing them.