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 | |
# This wrapper will enable multi user support for github cli "gh". | |
# You need to link your "gh" command against this script and it will | |
# call the original command after changing the config credentials to the | |
# specific user | |
gh_user=$(git config gh.github.com.user) | |
# print infomessage | |
if [ -z "$gh_user" ]; then |
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/env python | |
# Syntax: duplicates.py DIRECTORY DIRECTORY DIRECTORY ... | |
import os | |
import sys | |
import glob | |
import argparse | |
import pprint |
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
import requests | |
import re | |
from bs4 import BeautifulSoup | |
import time | |
import sys | |
import os | |
account_name = sys.argv[1] | |
session = requests.Session() |