Skip to content

Instantly share code, notes, and snippets.

from nltk.probability import FreqDist
import math
import pickle
from top2vec import Top2Vec
import numpy as np
from gensim.utils import simple_preprocess
from gensim.parsing.preprocessing import strip_tags
from tqdm import tqdm
@behrica
behrica / pull-all-repos-for-project.sh
Created June 7, 2023 13:04 — forked from petarvucetin/pull-all-repos-for-project.sh
Get all repositories from Azure DevOps bash
#!/bin/bash
rolesrepo="https://dev.azure.com/[org]/[project]/_apis/git/repositories?api-version=5.0"
personal_access_token="Username:zzzzzzzzz" #create PAT from secruity menu of your user profile.
user=""
base64AuthInfo="$(echo $personal_access_token | base64))"
#printf "The string\n[$personal_access_token]\nencodes into base64 as:\n[$base64AuthInfo]\n"
#curl $rolesrepo -H "Authorization=Basic $base64AuthInfo"
curl --request GET \