This file contains 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
package main | |
import ( | |
"fmt" | |
"github.com/cbrgm/githubevents/githubevents" | |
"github.com/google/go-github/v43/github" | |
"net/http" | |
) | |
func main() { |
This file contains 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
package main | |
import ( | |
"fmt" | |
"github.com/cbrgm/githubevents/githubevents" | |
"github.com/google/go-github/v43/github" | |
"net/http" | |
) | |
func main() { |
This file contains 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 | |
# Usage: ./script_name.sh <depth> <output_limit> <pattern1> <pattern2> ... | |
# Example: ./script_name.sh 2 50 vendor .git tmp | |
# Validate and set depth | |
DEPTH=${1:-2} | |
if ! [[ "$DEPTH" =~ ^[0-9]+$ ]]; then | |
echo "Depth must be a positive integer." | |
exit 1 |
OlderNewer