Skip to content

Instantly share code, notes, and snippets.

View arpieb's full-sized avatar

Robert Bates arpieb

View GitHub Profile
@arpieb
arpieb / main.py
Last active June 9, 2023 23:51
Python 3 CLI starter
import os
import logging
import argparse
import sys
from text2kg import text2kg, plot_kg
def setup_logging():
"""
@MoOx
MoOx / index.js
Last active February 9, 2024 22:44
Export/import github labels
// go on you labels pages
// eg https://github.com/cssnext/cssnext/labels
// paste this script in your console
// copy the output and now you can import it using https://github.com/popomore/github-labels !
var labels = [];
[].slice.call(document.querySelectorAll(".label-link"))
.forEach(function(element) {
labels.push({
name: element.textContent.trim(),