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/python3 | |
""" | |
This module defines the `Hooks` class, which provides a flexible mechanism for managing | |
and executing hooks with associated callbacks. | |
The `Hooks` class supports the registration of hooks with specific names, priorities, | |
and callback functions. Hooks can be executed or applied in order of their priority to | |
perform actions or modify values. |
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
#!/bin/bash | |
# notice: you need jq for this | |
GITLAB_URL="<your gitlab url>" | |
GITLAB_API_ACCESS_TOKEN="<your gitlab access token>" | |
if [ -f repos.txt ] | |
then | |
rm repos.txt |